UnidirectionalFlowInteraction with linear and nonlinear terms |
|
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
Using →Transition this component allows to model a transition from stock A (connected to portA) to stock B (connected to portB) at a rate given by the parameter rate. The parameter rate is multiplied either with 1 (hasFactor = false) or an exogenous factor u (hasFactor = true). Upon setting hasRateOutput = true the component will report the current rate of flow via an output connector (y).
rate = 1 and hasFactor = true a unidirectional flow can be modeled, whose rate is given by the input u. Note that negative values will be clipped to zero as only flows from A to B are permitted.polA and polB allow to give visual cues with regard to polarity in the diagram.| hasFactor |
Value: false Type: Boolean Description: = true, if coefficients are to be multiplied with input u |
|---|---|
| hasRateOutput |
Value: false Type: Boolean Description: = true, if the rate is reported via real output connectors |
| rate |
Value: 1 Type: Rate (1/s) Description: Base rate of flow from A to B |
| portA |
Type: FlowPort Description: Used to represent stock and flow connections |
|
|---|---|---|
| portB |
Type: FlowPort Description: Used to represent stock and flow connections |
|
| u |
Type: RealInput Description: Factor input |
|
| y |
Type: RealOutput Description: Output of current rate of flow |
|
| y1 |
Type: RealOutput Description: Output of current rate of flow |
|
| one |
Type: RealOutput Description: Default factor |
| actualRate |
Type: Product_2 Description: Rate of flow |
|
|---|---|---|
| flowingFromAToB |
Type: Transition Description: Flow from stock A to stock B at a given rate |
|
| baseRate |
Type: ConstantConverter Description: Base rate of flow |
rate was not used in v2.1.0