.BusinessSimulation.Flows.Interaction.NonlinearInteraction

Information

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

The NonlinearInteraction can be used by itself or in combination with the →LinearInteraction flow to model more complex interactions. The netflows to the connected stocks A (portA) and B (portB) are given by the following equations:

Formula.svg

Note: Capital letters were chosen to represent the stocks (state variables) connected at portA and portB in the formula above. Also dot notation is used for a stock's rate of flow—its first derivative with respect to time.

Coefficient Unit Description
a_AB 1 per second
per base unit of B (TypeB)

Factor used to determine the net flow to A
(positive rate = inflow)

b_AB 1 per second
per base unit of A (TypeA)

Factor used to determine the net flow to B
(positive rate = inflow)

The coefficients can be given as parameters or as variables via the expandable connector dataIn.

Examples

A nonlinear component is typically found in predator-prey models or models of infectious diseases, where the exponential growth rate for a population depends upon the size of another population (e.g., prey or susceptible population).

Notes

See also

LinearInteractionComplexInteraction

Contents

NameDescription
 TypeAType selector for stock A
 TypeBType selector for stock B
 InputConnectorData bus for inputs

Revisions


Generated at 2024-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos