modelGrowth
A stock is filled at a given rate
Extends from Interfaces.Basics.GenericSourceOrSink (SinkOrSource template with one flow port), Icons.Source (General icon for sources).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
Growth can be used to model an inflow to a stock from a source with infinite capacity outside the border of the system in focus. The rate of flow can either be set by the real input u (hasConstantRate = false) or by the parameter rate (hasConstantRate = true).
Notes
- The rate of flow has to be non-negative as the connected stock should never be drained. A negative rate of flow will be set to zero internally by the component.
- If the connected stock might also be drained, →ExogenousChange should be used.
See also
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| OutputType | rate | unspecified | Constant rate of growth (optional) |
| Structural Parameters | |||
| Boolean | hasConstantRate | false | = true, if the constant rate is used instead of an exogenous input u |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Connectors.FlowPort | massPort (from GenericSourceOrSink) | Inflow to or outflow from connected stock | |
| Interfaces.Connectors.RealInput | u | Rate of growth given as exogenous input |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from ThreeSO_rate) | Rate information | |
| RealOutput | y1 (from ThreeSO_rate) | Rate information | |
| RealOutput | y2 (from ThreeSO_rate) | Rate information |
Revisions
- Value for parameter set to
unspecifiedin v2.1.0.