blockReverse_Level

Level of the System Dynamics methodology with time reversal
Diagram of Reverse_Level

Information

This is a time-reversible continuous Level model of the System Dynamics methodology.

Given the following state-space model:

der(x) = f(x,t);

Time reversal can be achieved by placing a minus sign in front of each state equation:

der(x) = -f(x,t);

The Reverse_Level model contains a modulating variable dir that determines the direction of time flow:

der(x) = dir*f(x,t);

Parameters

TypeNameDefaultDescription
Realx00Initial condition
Realxm0.0Minimum level

Connectors

TypeNameDefaultDescription
SystemDynamics.Interfaces.MassInPortu1Inflow variable
SystemDynamics.Interfaces.MassInPortu2Outflow variable
SystemDynamics.Interfaces.MassOutPortyReversible state variable
SystemDynamics.Interfaces.MassOutPorty1Reversible state variable
SystemDynamics.Interfaces.MassOutPorty2Reversible state variable
SystemDynamics.Interfaces.MassOutPorty3Reversible state variable
SystemDynamics.Interfaces.MassOutPorty4Reversible state variable

Components

TypeNameDefaultDescription
ReallevelReversible state variable
Realrate_inInflow
Realrate_outOutflow
RealdirDirection of time flow