modelBrokenTransitionPull
Extends from Interfaces.Basics.GenericFlow (Flow Template with two FlowPorts), Interfaces.Basics.Interaction4SO (Output connectors for interaction elements reporting rates), Icons.Interaction (Icon for interactional flow classes).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
This is a variant of the classical broken flow (→BrokenTransition) structure that allows for a different parameterization: In this component the given value for the rate (rate or u_rate) relates to the inflow to stock B, while the factor of proportionality (factor or u_factor) determines the outflow from stock A that is necessary for this process.
A typical application would be to have a given rate of production (here the stock B would be the stock of finished goods) which needs an outflow from the stock of materials that is proprotional to the rate of production according to a factor determined by the bill of materials.
Hence:
rate of outflow from A = rate of inflow to B × factor of proportionality
The factor of proportionality will be given in base units of A per base units of B, so that the resulting outflow from A will have proper units [base units for a flow of A].
Implementation
![]() |
Notes
- Unlike the classical broken flow structure, setting the rate for the stock B might not take into account the availability of material in the stock A; so this has to be taken care of by the modeler explicitly.
- Great care has to be taken entering the
factoras it needs to be given in base units of stock A per base units of stock B. If theunitattribute is left an empty string (default), then fitting units will automatically be deduced effectively short-circuiting unit checks. - To more robustly specify conversion factors, upon
useExplicitRatio = truea constant ratioinputAperoutputBcan alternatively be given, whereinputAandoutputBwill have units according toOutputType_AandOutputType_B, respectively.
See also
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| OutputType_B | rate | unspecified | Constant rate of inflow to the stock B |
| Real | factor | 1 | Constant factor of proportionality to be multiplied with the inflow to B [base units A/base units B] |
| OutputType_A | inputA | 1 | Constant input of A to specify the conversion factor as the ratio inputA : outputB |
| OutputType_B | outputB | 1 | Constant output of B to specify the conversion factor as the ratio inputA : outputB |
| Structural Parameters | |||
| Boolean | hasConstantFactor | false | = true, if the factor is to be given by the constant parameter |
| Boolean | hasConstantRate | false | = true, if the outflow rate for A is to be given by the constant parameter |
| Boolean | useExplicitRatio | false | = true, if instead of a constant factor a constant ratio of output per input is to be entered |
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 | |
| RealOutput_B | y_B (from Interaction4SO) | Rate for flow to and from B (positive value indicates inflow) | |
| RealOutput_B | y1_B (from Interaction4SO) | Rate for flow to and from B (positive value indicates inflow) | |
| RealOutput_A | y1_A (from Interaction4SO) | Rate for flow to and from A (positive value indicates inflow) | |
| RealOutput_A | y_A (from Interaction4SO) | Rate for flow to and from A (positive value indicates inflow) | |
| Interfaces.Connectors.RealInput | u_rate | Rate of inflow to B | |
| Interfaces.Connectors.RealInput | u_factor | Factor of proportionality (amount of A per amount of B) |
Revisions
- Value for the optional parameter
ratechanged tounspecifiedin v2.1.0. - Component type for
parInflowRate_Bchanged toConstantConverterin v2.2. - Type for
factorchanged toRealin v2.2. - Added
useExplicitRatiooption for more convenience in unit conversions in v2.2.
