modelSplitFlow
Extends from Interfaces.Basics.OutputTypeChoice (Partial model to set output type), Icons.SubsystemTransceiver (Icon for subsystems with mixed ports).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
The flow connected to the stock port (stockPort) will be split or broken into n = nout flows. This is a rather generic component, so that the input vector u of weights or factors may add up to 1 (the flow is split into n components that in sum will match the aggregate flow) or not.
When the factors do not add up to 1, the structure can be used to describe some kind of multiple-production from one main effort, e.g., the flow of work hours per period may be used to produce n products according to a productivity ratio ( products per work hour ).
Notes
- Unlike the model published by Jim Hines [6, p. 17] the SplitFlow component is more general and also allows a bidirectional flow being connected to
stockPort. If a negative rate atstockPortsplits an inflow to a stock, then several stocks connected toflowPortwill be drained. - The component will observe the
stopInflowandstopOutflowsignals at itsflowPort, so that if any of these aretrue, the corresponding signal will be set totrueat the stockPort side.
See also
ProportionalSplitFactors, BrokenTransition, BrokenTransitionPullParameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | iconLabel (from SubsystemTransceiver) | "" | |
| Real | weights | ones(nout) | Constant weights for splitting (optional) |
| Structural Parameters | |||
| Integer | nout | 2 | Number of flows to split into |
| Boolean | hasConstantWeights | false | = true, if the weights are constant parameters |
| Boolean | isSplit | true | = true, if the input given is assumed to be weights (adding up to one) splitting the flow |
| Boolean | shiftInputs | false | = true, if all values are to be shifted to prevent negative inputs, otherwise negative inputs are simply set to zero (proportionalSplitFactors.shiftInputs) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.Connectors.StockPort | stockPort | Connected to incoming flow to be split or broken up | |
| Interfaces.Connectors.FlowMultiPort[nout] | flowPort | n-dimensional array of outgoing flows | |
| Interfaces.Connectors.RealMultiInput[nout] | u | Vector of weights for the splits or breaks |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| RealMultiOutput | y | Rates of the split flows |