modelRRate

Restricted rate element

Information

This is the System Dynamics restricted Rate element, whereby the rate itself is determined by a single variable in its laundry list. The indicated direction of mass flow denotes the direction of true mass flow. If the control signal of the rate assumes a negative value, no mass will flow. If the control signal of the rate assumes a too large positive value, the mass flow will be limited to its allowed maximum value.

The restricted rate element should e.g. be used to model a kitchen faucet. The valve can be opened or closed, but there is a limit to how much water per time unit you can get out of the faucet, and no manipulation of the faucet will ever make water flow from the sink back into the faucet.

The model contains a dissipative loss of enthalpy (but not mass) to the environment. Mass is always conserved. By attaching an R element to a 1 junction, we guarantee that the mass flow is not affected at all by the dissipative term. Only enthalpy is being dissipated.

Parameters

TypeNameDefaultDescription
RealinfModelica.Constants.inf
RealminFlow0Smallest allowed flow
RealmaxFlowinfLargest allowed flow
RealR00Specific enthalpy of dissipation

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputuSignal inflow variable
BondLib.Interfaces.BondConBondCon1Mass and power flow
BondLib.Interfaces.BondConBondCon2Mass and power flow

Components

TypeNameDefaultDescription
Realrate
Modelica.Blocks.Nonlinear.LimiterLimiter1
Bonds.eBondB1
Bonds.eBondB3
Bonds.fBondB2
BondLib.Sources.mSfmSfFlow source
Junctions.J1p4j1p4_1
Bonds.eBondB4
Passive.RR1