modelProportionalTransition
Rate of transition is proportional to the amount in stock A
Extends from Icons.UnidirectionalFlow (Icon for unidirectional flow classes), Interfaces.Basics.GenericFlow (Flow Template with two FlowPorts), Interfaces.Basics.ThreeSO_rate (Generic information output for flow elements).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
The rate of transition from stock A to stock B will be propotional to the amount in stock A:
rate = fractionalRate ⋅ stockA.y
Notes
Since this is a unidirectional flow, the rate of flow will automatically be set to zero (causing an event), if the given rate of transition is a negative value.
See also
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Rate | fractionalRate | unspecified | Constant fractional rate of transition (optional) |
| Structural Parameters | |||
| Boolean | hasConstantRate | false | = true, if the parameter fractionalRate is to be used instead of the continuous 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 | Fractional 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.