Switching

An exchange of matter between two stocks at an exogenous rate

Information

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

This is the classical example for an exchange of "matter" (conserved quantities either matter, energy, or information) between two stocks, where the flow may go in either direction.

Notes

  • A positive rate indicates a flow from stock A to stock B.

  • A negative rate indicates the reverse flow from stock B to stock A.

See also

TransitionProportionalSwitching

Connectors (6)

portA

Type: FlowPort

Description: Flow from/to Stock A

portB

Type: FlowPort

Description: Flow to/from Stock B

y

Type: RealOutput

Description: Rate information

y1

Type: RealOutput

Description: Rate information

y2

Type: RealOutput

Description: Rate information

u

Type: RealInput

Description: Rate input

Used in Components (4)

ExogenousChange

BusinessSimulation.SourcesOrSinks

A stock is filled or drained at a given rate

ExponentialChange

BusinessSimulation.SourcesOrSinks

Exponential growth or decline of connected stock

LogisticGrowth

BusinessSimulation.SourcesOrSinks

Logistic growth model

SplitFlow

BusinessSimulation.MoleculesOfStructure.Transceivers

Splitting an arbitrary flow into n subflows