blockCOutflow

Controlled outflow element
Diagram of COutflow

Information

This is the System Dynamics controlled restricted Outflow element, whereby the rate itself is determined by a single variable in its laundry list. This element is a restricted rate element with the additional feature that the upstream level can control the flow by telling it that it is empty. This is accomplished by a Boolean control signal from the upstream level to the rate element.

The controlled outflow element should e.g. be used to model the drainage of a kitchen sink. Water can flow out of the kitchen sink only as long as there is any water left.

Parameters

TypeNameDefaultDescription
RealinfModelica.Constants.inf
RealminFlow0Smallest allowed flow
RealmaxFlowinfLargest allowed flow

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputuSignal inflow variable
SystemDynamics.Interfaces.MassOutPortyMass inflow variable
SystemDynamics.Interfaces.MassOutPorty1Mass outflow variable
Modelica.Blocks.Interfaces.BooleanInputsControl signal

Components

TypeNameDefaultDescription
Realrate
Modelica.Blocks.Nonlinear.LimiterLimiter1
Modelica.Blocks.Logical.SwitchSwitch1
Modelica.Blocks.Sources.ConstantConst1