Engee documentation

Controlled Mass Flow Rate Source (IL)

A source of mass or volume flow.

blockType: AcausalFoundation.IsothermalLiquid.Sources.FlowRate

Controlled Mass Flow Rate Source (IL)

Path in the library:

/Physical Modeling/Fundamental/Isothermal Liquid/Sources/Controlled Mass Flow Rate Source (IL)

Controlled Volumetric Flow Rate Source (IL)

Path in the library:

/Physical Modeling/Fundamental/Isothermal Liquid/Sources/Controlled Volumetric Flow Rate Source (IL)

Mass Flow Rate Source (IL)

Path in the library:

/Physical Modeling/Fundamental/Isothermal Liquid/Sources/Mass Flow Rate Source (IL)

Volumetric Flow Rate Source (IL)

Path in the library:

/Physical Modeling/Fundamental/Isothermal Liquid/Sources/Volumetric Flow Rate Source (IL)

Description

The Flow Rate Source (IL) block represents an ideal source of mechanical energy in an isothermal fluid network. The source maintains a preset mass or volume flow rate regardless of the pressure drop across it. There is no hydraulic resistance or heat exchange with the environment.

Ports A and B correspond to the input and output of the source. The input signal on port M sets the mass flow rate, and on port V it sets the volume flow rate. In addition, the mass or volume flow rate can be set by the corresponding block parameters. If the flow rate is positive, the liquid flows from port A to port B.

The block icon changes depending on the values of the Controlled source and Flow type parameters.

The unit calculates the work performed on the liquid and records the signals (results) for informational purposes.:

ρ

ρρρ ,

where:

  • — mechanical work performed by the source.

  • — the mass flow rate generated by the source.

  • and — pressure at ports A and B respectively.

  • ρ — the average density of a mixture of liquids.

  • ρ and ρ — the density values of the liquid mixture at ports A and B, respectively. The equations used to calculate the density of a mixture of liquids depend on the selected isothermal fluid model.

If the Flow type parameter is set to Volumetric, the block calculates the mass flow rate based on the specified volume flow rate:

ρ

ρρρ ,

where:

  • ρ — outflow density.

  • — volume consumption.

Assumptions and limitations

  • There are no irreversible losses.

  • There is no heat exchange with the environment.

Ports

Entrance

M — mass flow control signal, kg/s
scalar

The input port of the signal that determines the mass flow through the source.

Dependencies

Used if the Controlled source parameter is set to Enabled and for the Flow type parameter, the value Mass.

V — volume flow control signal, m3/s
scalar

The input port of the signal that determines the volume flow through the source.

Dependencies

Used if the Controlled source parameter is set to Enabled and for the Flow type parameter, the value Volumetric.

Non-directional

A — input of the pass source:q[<br>] isothermal liquid

The isothermal fluid port corresponds to the source inlet. At a positive flow rate, liquid flows from port A to port B.

B — pass source output:q[<br>] isothermal liquid

The port of the isothermal fluid corresponds to the outlet of the source. At a positive flow rate, liquid flows from port A to port B.

Parameters

Controlled source — the ability to change the flow rate during simulation
Disabled (by default) | Enabled

Select whether the flow rate generated by the source can change during the simulation.:

  • Turned off — the flow rate generated by the source remains constant during the simulation. The M or V ports are hidden. Selecting this value includes the Mass or Volumetric parameter, depending on the value of the Flow type parameter.

  • Enabled — The flow rate is variable and controlled by the input signal. Selecting this option opens access to the input ports M or V, depending on the value of the Flow type parameter.

Flow type — set the mass or volume flow
Mass (by default) | Volumetric

Determines which type of flow is set:

  • Mass — the mass flow rate is set.

  • Volumetric — the volume flow is set.

Mass flow rate — constant mass flow through the pass source:q[<br>] 0.0 (default)

Constant mass flow through the source.

Dependencies

Used if the Controlled source parameter is set to Turned off and the Flow type parameter is set to Mass.

Volumetric flow rate — constant volumetric flow rate through the pass source:q[<br>] 0.0 (default)

Constant volume flow through the source.

Dependencies

Used if the Controlled source parameter is set to Turned off and the Flow type parameter is set to Volumetric.