modelInventoryForresterStep
Inventory simulation with sinusoidal orders
Information
Customer Demand StepThe fourth simulation involves a step in the incoming orders:
RRR(t) = RRRini + if time > 10 then RRRoffset else 0;
Simulate the model across 90 weeks, and plot on one graph the incoming orders and the production flow in the factory, and on a second graph the levels of goods in retail, distribution, and the factory as functions of time:
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | RRRiniTop | 1000 | Inital value of customer requests at retail |
| Real | RRDiniTop | RRRiniTop | Inital value of requisitions received at distribution |
| Real | RRFiniTop | RRRiniTop | Inital value of requisitions received at factory |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | orders | Sinusoidal orders | |
| Real | factoryFlow | Manufacturing flow at factory | |
| Real | retailStock | Stock of goods in retail | |
| Real | distributionStock | Stock of goods in distribution | |
| Real | factoryStock | Stock of goods in factory | |
| Factory | Factory1 | ||
| Distribution | Distribution1 | ||
| Retail | Retail1 | ||
| Modelica.Blocks.Sources.Step | Orders | ||
| BondLib.Sources.mSf | mSf | ||
| BondLib.Bonds.eBond | B1 | ||
| BondLib.Sources.Se | Se1 |