BrokenTransitionPullThe outflow from A is proportional to the inflow to B |
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].
factor
as it needs to be given in base units of stock A per base units of stock B. If the unit
attribute is left an empty string (default), then fitting units will automatically be deduced effectively short-circuiting unit checks.useExplicitRatio = true
a constant ratio inputA
per outputB
can alternatively be given, where inputA
and outputB
will have units according to OutputType_A
and OutputType_B
, respectively.rate |
Value: unspecified Type: OutputType_B Description: Constant rate of inflow to the stock B |
---|---|
factor |
Value: 1 Type: Real Description: Constant factor of proportionality to be multiplied with the inflow to B [base units A/base units B] |
inputA |
Value: 1 Type: OutputType_A Description: Constant input of A to specify the conversion factor as the ratio inputA : outputB |
outputB |
Value: 1 Type: OutputType_B Description: Constant output of B to specify the conversion factor as the ratio inputA : outputB |
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 inflow to B |
|
u_factor |
Type: RealInput Description: Factor of proportionality (amount of A per amount of B) |
conversionFactor |
Type: Gain Description: Input is multiplied by constant parameter |
|
---|---|---|
flowingOut |
Type: Decline Description: Outflow for stock A |
|
u_InflowRate_B |
Type: PassThrough Description: Input of inflow rate for B |
|
parInflowRate_B |
Type: ConstantConverter Description: Constant rate of inflow to B |
|
outflowRate_A |
Type: Product_2 Description: Rate of outflow from stock A |
|
flowingIn |
Type: Growth Description: Inflow to stock B |
|
u_Factor |
Type: PassThrough Description: Input for factor of proportionality |
|
parFactor |
Type: ConstantConverter Description: Constant factor of proportionality |
rate
changed to unspecified
in v2.1.0.parInflowRate_B
changed to ConstantConverter
in v2.2.factor
changed to Real
in v2.2.useExplicitRatio
option for more convenience in unit conversions in v2.2.