啤酒游戏及其牛鞭效应的模拟之二级模式
将三级模式更改为2级模式,即只存在生产商和零售商,如下:
(01) FINAL TIME = 100
Units: Month
The final time for the simulation.
(02) INITIAL TIME = 0
Units: Month
The initial time for the simulation.
(03) SAVEPER =
TIME STEP
Units: Month [0,?]
The frequency with which output is stored.
(04) TIME STEP = 1
Units: Month [0,?]
The time step for the simulation.
(05) 市场需求率=
1000+if then else(Time>4,random normal(-200,200,0,100,4),0)
Units: **undefined**
(06) 库存期望覆盖时间=
3
Units: **undefined**
(07) 库存调整时间=
4
Units: **undefined**
(08) 生产商发货率=
delay3(零售商订单,运输延迟)
Units: **undefined**
(09) 生产商库存= INTEG (
生产商生产率-生产商发货率,
3000)
Units: **undefined**
(10) 生产商期望库存=
库存期望覆盖时间*生产商销售预测
Units: **undefined**
(11) 生产商生产率=
delay3(生产商生产需求,生成延迟)
Units: **undefined**
(12) 生产商生产需求=
max(0,生产商销售预测+(生产商期望库存-生产商库存)/库存调整时间
)
Units: **undefined**
(13) 生产商销售预测=
smooth(生产商发货率,移动平均时间)
Units: **undefined**
(14) 生成延迟=
3
Units: **undefined**
(15) 移动平均时间=
5
Units: **undefined**
(16) 运输延迟=
3
Units: **undefined**
(17) 零售商库存= INTEG (
生产商发货率-市场需求率,
3000)
Units: **undefined**
(18) 零售商期望库存=
库存期望覆盖时间*零售商销售预测
Units: **undefined**
(19) 零售商订单=
max(0,零售商销售预测+(零售商期望库存-零售商库存)/库存调整时间
)
Units: **undefined**
(20) 零售商销售预测=
smooth(市场需求率,移动平均时间)
Units: **undefined**
库存情况如下:
订单情况如下;
从图可以看出,此时的波动要小于三级模式(存在制造商、批发商、零售商)时的牛鞭效应。