Skip to content

Commit

Permalink
案例准备
Browse files Browse the repository at this point in the history
  • Loading branch information
exoplanetX committed Apr 11, 2020
1 parent 26d1906 commit c7c9f7a
Show file tree
Hide file tree
Showing 4 changed files with 380 additions and 0 deletions.
Binary file modified .DS_Store
Binary file not shown.
141 changes: 141 additions & 0 deletions 案例模型文件/协流案例-资产更新过程.mdl
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
{UTF-8}
人力需求量= INTEG (
工人需求增量-工人需求减量,
400)
~
~ |

工人需求减量=
资产废弃*平均工人需求
~
~ |

工人需求增量=
新设备对工人的需求*资产购买
~
~ |

平均工人需求=
人力需求量/资本存量
~
~ |

新设备对工人的需求=
10
~
~ |

资产平均寿命=
5
~
~ |

资产废弃=
资本存量/资产平均寿命
~
~ |

资产购买=
资产购买速率
~
~ |

资产购买速率=
2.25
~
~ |

资本存量= INTEG (
资产购买-资产废弃,
10)
~
~ |

********************************************************
.Control
********************************************************~
Simulation Control Parameters
|

FINAL TIME = 100
~ Month
~ The final time for the simulation.
|

INITIAL TIME = 0
~ Month
~ The initial time for the simulation.
|

SAVEPER =
TIME STEP
~ Month [0,?]
~ The frequency with which output is stored.
|

TIME STEP = 1
~ Month [0,?]
~ The time step for the simulation.
|

\\\---/// Sketch information - do not modify anything except names
V300 Do not put anything below this section - it will be ignored
*View 1
$192-192-192,0,Times New Roman|12||0-0-0|0-0-0|0-0-255|-1--1--1|-1--1--1|96,96,100,0
10,1,资本存量,451,223,40,20,3,3,0,0,0,0,0,0
10,2,人力需求量,453,423,40,20,3,3,0,0,0,0,0,0
12,3,48,262,220,10,8,0,3,0,0,-1,0,0,0
1,4,6,1,4,0,0,22,0,0,0,-1--1--1,,1|(379,220)|
1,5,6,3,100,0,0,22,0,0,0,-1--1--1,,1|(303,220)|
11,6,48,341,220,6,8,34,3,0,0,1,0,0,0
10,7,资产购买,341,239,34,11,40,3,0,0,-1,0,0,0
12,8,48,665,223,10,8,0,3,0,0,-1,0,0,0
1,9,11,8,4,0,0,22,0,0,0,-1--1--1,,1|(617,223)|
1,10,11,1,100,0,0,22,0,0,0,-1--1--1,,1|(529,223)|
11,11,48,573,223,6,8,34,3,0,0,1,0,0,0
10,12,资产废弃,573,242,34,11,40,3,0,0,-1,0,0,0
12,13,48,261,424,10,8,0,3,0,0,-1,0,0,0
1,14,16,2,4,0,0,22,0,0,0,-1--1--1,,1|(380,424)|
1,15,16,13,100,0,0,22,0,0,0,-1--1--1,,1|(303,424)|
11,16,48,342,424,6,8,34,3,0,0,1,0,0,0
10,17,工人需求增量,342,443,50,11,40,3,0,0,-1,0,0,0
12,18,48,681,424,10,8,0,3,0,0,-1,0,0,0
1,19,21,18,4,0,0,22,0,0,0,-1--1--1,,1|(629,424)|
1,20,21,2,100,0,0,22,0,0,0,-1--1--1,,1|(534,424)|
11,21,48,582,424,6,8,34,3,0,0,1,0,0,0
10,22,工人需求减量,582,443,50,11,40,3,0,0,-1,0,0,0
10,23,资产购买速率,201,145,50,11,8,3,0,0,0,0,0,0
10,24,新设备对工人的需求,200,496,48,38,8,131,0,0,0,0,0,0
10,25,资产平均寿命,591,144,50,11,8,3,0,0,0,0,0,0
10,26,平均工人需求,424,300,50,11,8,3,0,0,0,0,0,0
1,27,23,6,1,0,0,0,0,64,0,-1--1--1,,1|(291,167)|
1,28,25,11,0,0,0,0,0,64,0,-1--1--1,,1|(583,179)|
1,29,24,17,1,0,0,0,0,64,0,-1--1--1,,1|(273,484)|
1,30,1,26,1,0,0,0,0,64,0,-1--1--1,,1|(415,258)|
1,31,2,26,1,0,0,0,0,64,0,-1--1--1,,1|(421,360)|
1,32,26,21,1,0,0,0,0,64,0,-1--1--1,,1|(516,342)|
1,33,1,12,1,0,0,0,0,64,0,-1--1--1,,1|(497,261)|
1,34,7,16,1,0,0,0,0,64,0,-1--1--1,,1|(298,322)|
1,35,12,21,1,0,0,0,0,64,0,-1--1--1,,1|(638,339)|
///---\\\
:L<%^E!@
1:Current.vdf
9:Current
23:0
15:0,0,0,0,0,0
19:100,0
27:0,
34:0,
4:Time
5:人力需求量
35:Date
36:YYYY-MM-DD
37:2000
38:1
39:1
40:2
41:0
42:1
24:0
25:100
26:100
138 changes: 138 additions & 0 deletions 案例模型文件/定量库存.mdl
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
{UTF-8}
在途库存= INTEG (
订货-运输,
0)
~
~ |

运输=
DELAY FIXED(订货, 运输期 , 订货)
~
~ |

安全库存=
10
~
~ |

库存= INTEG (
运输-销售,
30)
~
~ |

批量=
30
~
~ |

订货=
PULSE( Time , 1 )*订货量
~
~ |

订货点=
运输期*销售+安全库存
~
~ |

订货量=
IF THEN ELSE(库存+在途库存<订货点, 批量 , 0 )
~
~ |

运输期=
2
~
~ |

销售=
1
~
~ |

********************************************************
.Control
********************************************************~
Simulation Control Parameters
|

FINAL TIME = 100
~ Month
~ The final time for the simulation.
|

INITIAL TIME = 0
~ Month
~ The initial time for the simulation.
|

SAVEPER =
TIME STEP
~ Month [0,?]
~ The frequency with which output is stored.
|

TIME STEP = 1
~ Month [0,?]
~ The time step for the simulation.
|

\\\---/// Sketch information - do not modify anything except names
V300 Do not put anything below this section - it will be ignored
*View 1
$192-192-192,0,Times New Roman|12||0-0-0|0-0-0|0-0-255|-1--1--1|-1--1--1|96,96,100,0
10,1,库存,489,144,40,20,3,3,0,0,0,0,0,0
10,2,在途库存,226,141,40,20,3,3,0,0,0,0,0,0
1,3,5,1,4,0,0,22,0,0,0,-1--1--1,,1|(406,142)|
1,4,5,2,100,0,0,22,0,0,0,-1--1--1,,1|(308,142)|
11,5,140,357,142,6,8,34,3,0,0,1,0,0,0
10,6,运输,357,161,18,11,40,3,0,0,-1,0,0,0
12,7,48,680,144,10,8,0,3,0,0,-1,0,0,0
1,8,10,7,4,0,0,22,0,0,0,-1--1--1,,1|(637,144)|
1,9,10,1,100,0,0,22,0,0,0,-1--1--1,,1|(561,144)|
11,10,48,599,144,6,8,34,3,0,0,1,0,0,0
10,11,销售,599,163,18,11,40,3,0,0,-1,0,0,0
12,12,48,43,139,10,8,0,3,0,0,-1,0,0,0
1,13,15,2,4,0,0,22,0,0,0,-1--1--1,,1|(155,139)|
1,14,15,12,100,0,0,22,0,0,0,-1--1--1,,1|(83,139)|
11,15,48,119,139,6,8,34,3,0,0,1,0,0,0
10,16,订货,119,158,18,11,40,3,0,0,-1,0,0,0
10,17,订货点,788,188,26,11,8,3,0,0,0,0,0,0
10,18,安全库存,776,319,34,11,8,3,0,0,0,0,0,0
10,19,订货量,387,308,26,11,8,3,0,0,0,0,0,0
10,20,批量,229,366,18,11,8,3,0,0,0,0,0,0
1,21,11,17,1,0,0,0,0,64,0,-1--1--1,,1|(655,174)|
1,22,1,19,1,0,0,0,0,64,0,-1--1--1,,1|(477,232)|
1,23,18,17,1,0,0,0,0,64,0,-1--1--1,,1|(787,259)|
1,24,17,19,1,0,0,0,0,64,0,-1--1--1,,1|(610,278)|
1,25,2,19,1,0,0,0,0,64,0,-1--1--1,,1|(321,221)|
1,26,19,16,1,0,0,0,0,64,0,-1--1--1,,1|(213,274)|
1,27,20,19,1,0,0,0,0,64,0,-1--1--1,,1|(333,362)|
10,28,运输期,438,82,26,11,8,3,0,0,0,0,0,0
1,29,28,17,1,0,0,0,0,64,0,-1--1--1,,1|(612,92)|
10,30,Time,76,244,26,11,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|12||128-128-128
1,31,30,16,0,0,0,0,0,64,0,-1--1--1,,1|(93,207)|
1,32,15,5,1,0,0,0,0,64,0,-1--1--1,,1|(233,80)|
1,33,28,5,0,0,0,0,0,64,0,-1--1--1,,1|(398,111)|
///---\\\
:L<%^E!@
9:Current
23:0
15:0,0,0,0,0,0
19:100,0
27:0,
34:0,
4:Time
5:库存
35:Date
36:YYYY-MM-DD
37:2000
38:1
39:1
40:2
41:0
42:1
24:0
25:100
26:100
101 changes: 101 additions & 0 deletions 案例模型文件/疾病传播仿真(主导回路转移).mdl
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
{UTF-8}
总人口=
100
~
~ |

患病人口= INTEG (
感染率,
10)
~
~ |

感染率=
患病人口*未患病人口*每次接触感染率*额定接触系数
~
~ |

未患病人口=
总人口-患病人口
~
~ |

每次接触感染率=
0.1
~
~ |

额定接触系数=
0.02
~
~ |

********************************************************
.Control
********************************************************~
Simulation Control Parameters
|

FINAL TIME = 100
~ Month
~ The final time for the simulation.
|

INITIAL TIME = 0
~ Month
~ The initial time for the simulation.
|

SAVEPER =
TIME STEP
~ Month [0,?]
~ The frequency with which output is stored.
|

TIME STEP = 1
~ Month [0,?]
~ The time step for the simulation.
|

\\\---/// Sketch information - do not modify anything except names
V300 Do not put anything below this section - it will be ignored
*View 1
$192-192-192,0,Times New Roman|12||0-0-0|0-0-0|0-0-255|-1--1--1|-1--1--1|96,96,100,0
10,1,患病人口,406,133,40,20,3,3,0,0,0,0,0,0
12,2,48,168,133,10,8,0,3,0,0,-1,0,0,0
1,3,5,1,4,0,0,22,0,0,0,-1--1--1,,1|(322,133)|
1,4,5,2,100,0,0,22,0,0,0,-1--1--1,,1|(222,133)|
11,5,48,272,133,6,8,34,3,0,0,1,0,0,0
10,6,感染率,272,152,26,11,40,3,0,0,-1,0,0,0
10,7,未患病人口,381,257,42,11,8,3,0,0,0,0,0,0
10,8,总人口,566,223,26,11,8,3,0,0,0,0,0,0
1,9,1,6,1,0,0,0,0,64,0,-1--1--1,,1|(330,184)|
1,10,1,7,1,0,0,0,0,64,0,-1--1--1,,1|(410,189)|
1,11,8,7,1,0,0,0,0,64,0,-1--1--1,,1|(488,257)|
1,12,7,6,1,0,0,0,0,64,0,-1--1--1,,1|(279,234)|
10,13,每次接触感染率,92,189,58,11,8,3,0,0,0,0,0,0
10,14,额定接触系数,72,313,50,11,8,3,0,0,0,0,0,0
1,15,13,6,0,0,0,0,0,64,0,-1--1--1,,1|(188,168)|
1,16,14,6,0,0,0,0,0,64,0,-1--1--1,,1|(166,236)|
///---\\\
:L<%^E!@
1:Current.vdf
9:Current
23:0
15:0,0,0,0,0,0
19:100,0
27:0,
34:0,
4:Time
5:患病人口
35:Date
36:YYYY-MM-DD
37:2000
38:1
39:1
40:2
41:0
42:1
24:0
25:100
26:100

0 comments on commit c7c9f7a

Please sign in to comment.