SimpleConveyorConveyor (aka pipeline delay) with constant delay time and no leakage |
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
.
The Conveyor internally uses Modelica's delay()
function with a constant time of delay to delay the rate of inflow.
inflow
port of the Conveyor—no draining is allowed via this port.OutflowDynamicStock
or →SplitOutflowDynamicStock
have to be connected to the outflow
port.SplitOutflowDynamicStock
) can be used to model leaking.[modelSettings.modelStartTime, delayTime]
the outflow will simply be the initial value for the stock divided by the delay time.init
in the Advanced tab allows to select →InitializationOptions:
initialValue
.inflow.rate * delayTime
startValue
.init |
Value: modelSettings.init Type: InitializationOptions Description: Provide InitializationOptions (Free, FixedValue, SteadyState) |
---|---|
hasStockInfoOutput |
Value: false Type: Boolean Description: = true, if a StockInfoOutput should be added to the stock |
initialValue |
Value: 0 Type: OutputType Description: Initial load |
delayTime |
Value: 1 Type: Time (s) Description: Time of residence in the stock |
y |
Type: RealOutput Description: Level or rate information |
|
---|---|---|
y1 |
Type: RealOutput Description: Level or rate information |
|
y2 |
Type: RealOutput Description: Level or rate information |
|
inflow |
Type: StockPort Description: Inflow port of the stock |
|
outflow |
Type: StockPort_Special Description: Special outflow port of the stock (stock sets rate) |
|
y_stockInfo |
Type: StockInfoOutput Description: Optional StockInfoOutput |
modelSettings |
Type: ModelSettings Description: Setting important global variables within a model |
|
---|---|---|
dynamicStockInfo |
Type: DynamicStockInfo Description: Generate stock information data |
|
reportedDelayTime |
Type: ConstantConverterTime Description: A constant time value is turned into a constant signal |
BusinessSimulation.Examples Modeling a production process |