modelInformationLevel
Unrestricted reservoir to store information
Extends from Interfaces.PartialStocks.BasicStock (Unrestricted reservoir to store information).
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. The InformationLevel can become negative.
Notes
- The
inflowandoutflow→StockPorts are only indicative; in general the reservoir may be filled or drained by flows connected to either port. - The parameters
maxValueandminValueallow to define an admissable range. It can be monitored by anassertusinguseAssert = truein the Advanced tab. The switchcauseErrorcontrols whether an error or a warning is to be raised. - The parameter
initin the Advanced tab allows to select →InitializationOptions:
- FixedValue (default) will use the parameter
initialValueto determine the initial value. - SteadyState will introduce the equation
der(x) = 0in order to find an initial value that establishes equilibrium.
(Note: Such a solution may not exist and to avoid trivial solution in many casesinitialValue-- in this case used as a start value for numerical iteration -- should be set to a value different from zero.) - Free there will be no initial equation and thus the solver is free in solving the initial value problem.
- FixedValue (default) will use the parameter
- There is an optional →StockInfoOutput connector.
See also
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| OutputType | initialValue (from BasicStock) | 0 | Initial level (should be different from 0 to find non-trivial steady state solution) |
| OutputType | maxValue (from BasicStock) | inf | Maximum admissable value |
| OutputType | minValue (from BasicStock) | -inf | Minimum admissable value |
| Advanced | |||
| InitializationOptions | init (from GenericStock) | InitializationOptions.FixedValue | Provide InitializationOptions (Free, FixedValue, SteadyState) |
| Boolean | useAssert (from BasicStock) | false | = true, if leaving the admissable range is to cause an error or warning |
| Boolean | causeError (from BasicStock) | true | = true, if leaving the admissable range is to cause an error instead of simply a warning |
| Structural Parameters | |||
| Boolean | hasStockInfoOutput (from GenericStock) | false | = true, if a StockInfoOutput should be added to the stock |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| StockPort | inflow (from GenericStock) | Inflow port of the stock | |
| StockPort | outflow (from GenericStock) | Outflow port of the stock | |
| StockInfoOutput | y_stockInfo (from GenericStock) | Optional StockInfoOutput |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from ThreeSO) | Level or rate information | |
| RealOutput | y1 (from ThreeSO) | Level or rate information | |
| RealOutput | y2 (from ThreeSO) | Level or rate information | |
| ModelSettings | modelSettings (from BasicStock) |