modelSplitOutflowDynamicStock

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

Extends from Interfaces.Basics.OutputTypeChoice_Rate (Partial model to set the output type to some kind of rate), Icons.Outflow (Icon for outflow classes).

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

TypeNameDefaultDescription
Real[n]weightsones(n)Vector of weights according to which the total outflow is split proportionally
BooleanshiftInputsfalse= true, if all weights are to be shifted to prevent negative values, otherwise negative values are simply set to zero (fractions.shiftInputs)
Structural Parameters
Integern2Number of flows to split the outflow into
BooleanhasConstantWeightsfalseIf true then the weights are given by the continuous input u

Connectors

TypeNameDefaultDescription
Interfaces.Connectors.FlowPort_SpecialportASpecial port (stock sets rate of flow)
Interfaces.Connectors.FlowMultiPort[n]portBFlow port
Interfaces.Connectors.RealMultiInputuSplit fractions (or weights) for the outflow

Components

TypeNameDefaultDescription
RealMultiOutputyRate information
RealMultiOutputy1Rate information
RealMultiOutputy2Rate information