WOLFRAM SYSTEM MODELER

Reverse_Level

Level of the System Dynamics methodology with time reversal

Wolfram Language

In[1]:=
SystemModel["SystemDynamics.Levels.Reverse_Level"]
Out[1]:=

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 (2)

x0

Value: 0

Type: Real

Description: Initial condition

xm

Value: 0.0

Type: Real

Description: Minimum level

Inputs (1)

dir

Type: Real

Description: Direction of time flow

Outputs (3)

level

Type: Real

Description: Reversible state variable

rate_in

Type: Real

Description: Inflow

rate_out

Type: Real

Description: Outflow

Connectors (7)

u1

Type: MassInPort

Description: Inflow variable

u2

Type: MassInPort

Description: Outflow variable

y

Type: MassOutPort

Description: Reversible state variable

y1

Type: MassOutPort

Description: Reversible state variable

y2

Type: MassOutPort

Description: Reversible state variable

y3

Type: MassOutPort

Description: Reversible state variable

y4

Type: MassOutPort

Description: Reversible state variable

Used in Examples (1)

Scenario_5

SystemDynamics.WorldDynamics.World2

5th Scenario