WOLFRAM SYSTEM MODELER

CLevel1a

General System Dynamics controlling level with no outflow

Diagram

Wolfram Language

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

Information

This is the continuous controlling Level model of the System Dynamics methodology with a single inflow and no outflow. It computes the level by integrating over the inflow rate.

Once the level reaches its maximum allowed value, it sends a Boolean signal to its inflow rate element to tell it to stop sending more stuff.

Parameters (2)

x0

Value: 0

Type: Real

Description: Initial condition

maxLevel

Value: inf

Type: Real

Description: Largest allowed value of stock

Outputs (1)

level

Type: Real

Description: Continuous state variable

Connectors (6)

u1

Type: MassInPort

Description: Inflow variable

y

Type: MassOutPort

Description: State variable

y1

Type: MassOutPort

Description: State variable

y2

Type: MassOutPort

Description: State variable

y3

Type: MassOutPort

Description: State variable

s

Type: BooleanOutput

Description: Control signal

Components (2)

Integrator1

Type: Integrator

Description: Output the integral of the input signal with optional reset

LessThreshold1

Type: LessThreshold

Description: Output y is true, if input u is less than threshold