modelInventoryForresterStep

Inventory simulation with sinusoidal orders

Information

Customer Demand Step

The 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

TypeNameDefaultDescription
RealRRRiniTop1000Inital value of customer requests at retail
RealRRDiniTopRRRiniTopInital value of requisitions received at distribution
RealRRFiniTopRRRiniTopInital value of requisitions received at factory

Components

TypeNameDefaultDescription
RealordersSinusoidal orders
RealfactoryFlowManufacturing flow at factory
RealretailStockStock of goods in retail
RealdistributionStockStock of goods in distribution
RealfactoryStockStock of goods in factory
FactoryFactory1
DistributionDistribution1
RetailRetail1
Modelica.Blocks.Sources.StepOrders
BondLib.Sources.mSfmSf
BondLib.Bonds.eBondB1
BondLib.Sources.SeSe1