BasicStockUnrestricted reservoir to store information |
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
This is the general, unrestricted reservoir of the system dynamics methodology, it accumulates information transported by flow components connected to the StockPorts.
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 level (should be different from 0 to find non-trivial steady state solution) |
maxValue |
Value: inf Type: OutputType Description: Maximum admissable value |
minValue |
Value: -inf Type: OutputType Description: Minimum admissable value |
useAssert |
Value: false Type: Boolean Description: = true, if leaving the admissable range is to cause an error or warning |
causeError |
Value: true Type: Boolean Description: = true, if leaving the admissable range is to cause an error instead of simply a warning |
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 Description: Outflow port of the stock |
|
y_stockInfo |
Type: StockInfoOutput Description: Optional StockInfoOutput |
modelSettings |
Type: ModelSettings Description: Setting important global variables within a model |
|
---|---|---|
stockInfoSensor |
Type: StockInfo Description: Collect basic stock-related information for basic stocks |
|
rangeControl |
Type: RangeAssert Description: Use assert() to check admissable values |
BusinessSimulation.Stocks Material stock, that cannot be drained or filled beyond its capacity limits |
|
BusinessSimulation.Stocks Reservoir that cannot be drained below zero |
|
BusinessSimulation.Stocks Unrestricted reservoir to store information |
%initialValue
in the Icon removed in v.2.1.0; it is now taken care of in Icons.Stock
.