modelDecline
A stock is drained at a given rate
Extends from Interfaces.Basics.GenericSourceOrSink (SinkOrSource template with one flow port), Icons.Sink (General icon for sinks).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
Decline can be used to model an outflow from a stock into a sink 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 filled. A negative rate of flow will be set to zero internally.
- If the connected stock might also be filled, →ExogenousChange should be used.
See also
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| OutputType | rate | unspecified | Constant rate of decline (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 decline 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.