BrokenTransitionThe inflow to B is proportional to the outflow from A 
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
This is the classical structure for a broken flow from stock A to stock B, where the rate of outflow is given for stock A. A's outflow will flow into a →Cloud and accordingly, there will be an inflow to stock B which is given by:
rate of inflow to B = rate of outflow from A × factor of proportionality
Here the factor of proportionality will be given in units base units of B per base units of A, so that the resulting inflow to B will have proper units [base units for a flow of B].
OutputType_A
will set the type for parameter rate
.factor
as it needs to be given in base units of stock B per base units of stock A. If the unit
attribute is left an empty string (default), then fitting units will automatically be deduced effectively shortcircuiting unit checks.useExplicitRatio = true
a constant ratio outputB
per inputA
can alternatively be given, where outputB
and inputA
will have units according to OutputType_B
and OutputType_A
, respectively.rate 
Value: unspecified Type: OutputType_A Description: Constant rate of outflow for the stock A 

factor 
Value: 1 Type: Real Description: Constant factor of proportionality to be multiplied with the outflow from A [base units B/base units A] 
outputB 
Value: 1 Type: OutputType_B Description: Constant output of B to specify the conversion factor as the ratio outputB : inputA 
inputA 
Value: 1 Type: OutputType_A Description: Constant input of A to specify the conversion factor as the ratio outputB : inputA 
hasConstantFactor 
Value: false Type: Boolean Description: = true, if the factor is to be given by the constant parameter 
hasConstantRate 
Value: false Type: Boolean Description: = true, if the outflow rate for A is to be given by the constant parameter 
useExplicitRatio 
Value: false Type: Boolean Description: = true, if instead of a constant factor a constant ratio of output per input is to be entered 
portA 
Type: FlowPort Description: Flow from/to Stock A 


portB 
Type: FlowPort Description: Flow to/from Stock B 

y_B 
Type: RealOutput_B Description: Rate for flow to and from B (positive value indicates inflow) 

y1_B 
Type: RealOutput_B Description: Rate for flow to and from B (positive value indicates inflow) 

y1_A 
Type: RealOutput_A Description: Rate for flow to and from A (positive value indicates inflow) 

y_A 
Type: RealOutput_A Description: Rate for flow to and from A (positive value indicates inflow) 

u_rate 
Type: RealInput Description: Rate of outflow from A 

u_factor 
Type: RealInput Description: Factor of proportionality (units B / units A) 
conversionFactor 
Type: Gain Description: Input is multiplied by constant parameter 


flowingOut 
Type: Decline Description: Outflow for stock A 

u_OutflowRate_A 
Type: PassThrough Description: Input of outflow rate 

parOutflowRate_A 
Type: ConstantConverter Description: Constant rate of outflow for A 

inflowRate_B 
Type: Product_2 Description: Rate of inflow to stock B 

flowingIn 
Type: Growth Description: Inflow to stock B 

u_FactorOfProportionality 
Type: PassThrough Description: Continuous input 

parFactorOfProportionality 
Type: ConstantConverter Description: Constant input 
rate
changed to unspecified
in v2.1.0.parOutflowRate
changed to ConstantConverter
and type for factor
changed to Real
in v2.2.useExplicitRatio
option for more convenience in unit conversions in v2.2.