modelTransition
Flow from stock A to stock B at a given rate
Extends from Interfaces.PartialFlows.UnidirectionalFlow (Flow from Stock A to Stock B).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
This is the prototypical unidirectional flow of matter from stock A to stock B at a given rate. The rate can be either constant (rate) or given by the continuous input u.
Notes
Since this is a unidirectional flow the rate of flow will always be set to zero (causing an event) if the given rate of transition is a negative value.
See also
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| OutputType | rate | unspecified | Constant rate of transition (optional) |
| Structural Parameters | |||
| Boolean | hasConstantRate | false | = true, if the parameter rate is to be used instead of the variable input u |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Connectors.FlowPort | portA (from GenericFlow) | Flow from/to Stock A | |
| Connectors.FlowPort | portB (from GenericFlow) | Flow to/from Stock B | |
| Interfaces.Connectors.RealInput | u | Rate 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.