This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
Using →ComplexInteraction this component allows to logically connect two flows influencing two stocks A (connected to portA) and B (connected to portB). The formula for the resulting flows (using Newton's dot notation) has linear and nonlinear terms:
The coefficients are given by parameters, which are multiplied either with 1 (hasFactor = false) or an exogenous factor u (hasFactor = true). Upon setting hasRateOutput = true the component will report the current rate of flows via output connectors (y_A, y_B).
a_0 = -1, b_0 = 1 (other coefficients set to zero), and hasFactor = true a bidirectional flow can be modeled, whose rate is given by the input u (positive inputs indicate a flow from A to B).a_0 = -1, b_0 = f (other coefficients set to zero), and hasFactor = true a broken transition can be modeled, with the proportionality factor f indicating units of B per unit of A.polA and polB allow to give visual cues with regard to polarity in the diagram.