modelSimpleConveyor

Conveyor (aka pipeline delay) with constant delay time and no leakage

Extends from Icons.Conveyor (Icon for conveyor stocks), Interfaces.Basics.GenericStock_Special (Generic Stock with internal dynamics).

Information

This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.

The SimpleConveyor (aka pipeline delay) bevhaves as one would expect a conveyor belt to work:  What flows into the SimpleConveyor will flow out after a period given by the parameter delayTime has elapsed. The delayTime will be clipped, so that it can never be smaller than the global parameter modelSettings.dt.

Implementation

The Conveyor internally uses Modelica's delay() function with a constant time of delay to delay the rate of inflow.

Notes

  • All inflows have to go to the inflow port of the Conveyor—no draining is allowed via this port.

  • Since the outflow will be controlled by the Conveyor, →OutflowDynamicStock or →SplitOutflowDynamicStock have to be connected to the outflow port.

  • Using more than one outflow (e.g., SplitOutflowDynamicStock) can be used to model leaking.

  • During the interval [modelSettings.modelStartTime, delayTime] the outflow will simply be the initial value for the stock divided by the delay time.
  • The parameter init in the Advanced tab allows to select →InitializationOptions:
    • FixedValue (default) will initialize the stock according to value given by the parameter initialValue.

    • SteadyState will use Little's Law to determine the equilibrium start value as inflow.rate * delayTime

    • Free tells the solver that it is free in solving the initial value problem using initialValue as startValue.
  • The Conveyor behaves exactly like the PureDelay or the Conveyor when the delay time is constant; the main difference is the absence of time events introduced by the discrete nature of the PureDelay or Conveyor stocks.

  • The Conveyor stock can additionally deal with variable delay times, but is discrete in nature (i.e., it uses time events).

See also

ConveyorPureDelay, DelayFixedDelayInformation

Parameters

TypeNameDefaultDescription
OutputTypeinitialValue0Initial load
TimedelayTime1Time of residence in the stock
Advanced
InitializationOptionsinit (from GenericStock_Special)InitializationOptions.FixedValueProvide InitializationOptions (Free, FixedValue, SteadyState)
Structural Parameters
BooleanhasStockInfoOutput (from GenericStock_Special)false= true, if a StockInfoOutput should be added to the stock

Connectors

TypeNameDefaultDescription
StockPortinflow (from GenericStock_Special)Inflow port of the stock
StockPort_Specialoutflow (from GenericStock_Special)Special outflow port of the stock (stock sets rate)
StockInfoOutputy_stockInfo (from GenericStock_Special)Optional StockInfoOutput

Components

TypeNameDefaultDescription
RealOutputy (from ThreeSO)Level or rate information
RealOutputy1 (from ThreeSO)Level or rate information
RealOutputy2 (from ThreeSO)Level or rate information