WOLFRAM SYSTEM MODELER
CLevelGeneral System Dynamics controlling level |
![]() |
SystemModel["SystemDynamics.Levels.CLevel"]
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. Once it reaches its minimum allowed value, it sends a Boolean signal to its outflow rate element to tell it to stop demanding more stuff.
x0 |
Value: 0 Type: Real Description: Initial condition |
---|---|
minLevel |
Value: 0 Type: Real Description: Smallest allowed value of stock |
maxLevel |
Value: inf Type: Real Description: Largest allowed value of stock |
level |
Type: Real Description: Continuous state variable |
---|
![]() |
u1 |
Type: MassInPort Description: Inflow variable |
---|---|---|
![]() |
u2 |
Type: MassInPort Description: Outflow variable |
![]() |
y |
Type: MassOutPort Description: State variable |
![]() |
y1 |
Type: MassOutPort Description: State variable |
![]() |
y2 |
Type: MassOutPort Description: State variable |
![]() |
s1 |
Type: BooleanOutput Description: Inflow control signal |
![]() |
s2 |
Type: BooleanOutput Description: Outflow control signal |
![]() |
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 |
![]() |
Add1 |
Type: Add Description: Output the sum of the two inputs |
![]() |
GreaterThreshold1 |
Type: GreaterThreshold Description: Output y is true, if input u is greater than threshold |