WOLFRAM SYSTEM MODELER
Reverse_LevelLevel of the System Dynamics methodology with time reversal |
SystemModel["SystemDynamics.Levels.Reverse_Level"]
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);
x0 |
Value: 0 Type: Real Description: Initial condition |
---|---|
xm |
Value: 0.0 Type: Real Description: Minimum level |
dir |
Type: Real Description: Direction of time flow |
---|
level |
Type: Real Description: Reversible state variable |
---|---|
rate_in |
Type: Real Description: Inflow |
rate_out |
Type: Real Description: Outflow |
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 |
SystemDynamics.WorldDynamics.World2 5th Scenario |