SplitOutflowDynamicStock

The outflow from a dynamic stock is split into n outflows proportional to the weights given

Diagram

Information

This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.

The SplitOutflowDynamicStock is used to model the outflow from a stock with inherent dynamic behavior(e.g., a conveyor or a higher-order delay). In these cases, the stock will set the rate of flow and "signal" it via its →StockPort_Special.

The total outflow is split proportionally according to given weights either given as a vector of parameters or as a vector of inputs u.

Notes

The proportional split is done using fractions derived from the weights as described for the converter →ProportionalSplitFactors.

See also

OutflowDynamicStock

Parameters (4)

weights

Value: ones(n)

Type: Real[n]

Description: Vector of weights according to which the total outflow is split proportionally

n

Value: 2

Type: Integer

Description: Number of flows to split the outflow into

hasConstantWeights

Value: false

Type: Boolean

Description: If true then the weights are given by the continuous input u

shiftInputs

Value: false

Type: Boolean

Description: = true, if all weights are to be shifted to prevent negative values, otherwise negative values are simply set to zero (fractions.shiftInputs)

Connectors (6)

portA

Type: FlowPort_Special

Description: Special port (stock sets rate of flow)

portB

Type: FlowMultiPort[n]

Description: Flow port

u

Type: RealMultiInput[n]

Description: Split fractions (or weights) for the outflow

y

Type: RealMultiOutput[n]

Description: Rate information

y1

Type: RealMultiOutput[n]

Description: Rate information

y2

Type: RealMultiOutput[n]

Description: Rate information

Components (3)

splitFlow

Type: SplitFlow

Description: Splitting an arbitrary flow into n subflows

flowingOut

Type: OutflowDynamicStock

Description: Outflow from a dynamic stock

parWeights

Type: ConstantConverter[n]

Description: Constant weights (optional)