Engee documentation

Controlled Mass Flow Rate Source (TL)

A source of mass or volume flow.

blockType: AcausalFoundation.ThermalLiquid.Sources.FlowRate

Controlled Mass Flow Rate Source (TL)

Path in the library:

/Physical Modeling/Fundamental/Thermal Liquid/Sources/Controlled Mass Flow Rate Source (TL)

Controlled Volumetric Flow Rate Source (TL)

Path in the library:

/Physical Modeling/Fundamental/Thermal Liquid/Sources/Controlled Volumetric Flow Rate Source (TL)

Mass Flow Rate Source (TL)

Path in the library:

/Physical Modeling/Fundamental/Thermal Liquid/Sources/Mass Flow Rate Source (TL)

Volumetric Flow Rate Source (TL)

Path in the library:

/Physical Modeling/Fundamental/Thermal Liquid/Sources/Volumetric Flow Rate Source (TL)

Description

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

Ports A and B correspond to the input and output of the source. If the Controlled source parameter is enabled, the mass or volume flow rate is controlled by an input signal on the M or V ports, respectively. If the Controlled source parameter is disabled, the mass or volume flow rate is set by the Mass flow rate or Volumetric flow rate parameters, respectively. 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.

Volumetric flow and mass flow are related by the expression:

длядля ,

where:

  • — mass flow of liquid from port A to port B,

  • and — the values of the liquid density at ports A and B, respectively,

  • — volume consumption.

The conservation of energy in the source depends on the value of the energy flow through ports A and B and on the work performed on the liquid:

,

where

  • — energy flow through port A,

  • — energy flow through port B,

  • — isentropic work performed on a liquid.

The isentropic work performed on a thermally conductive liquid can be defined as

,

where

  • — port pressure A,

  • — port pressure B,

  • — the average density of the liquid, determined by the formula:

.

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/c
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>] heat-conducting liquid

The port of the heat-conducting liquid corresponds to the inlet of the source. If the flow rate is positive, the liquid flows from port A to port B.

B — pass source output:q[<br>] heat-conducting liquid

The port of the heat-conducting liquid corresponds to the outlet of the source. If the flow rate is positive, the 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 is controlled by an 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:q source[<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.

Isentropic power added — does the source perform isentropic work
Enabled (by default) | Turned off

Sets whether the source performs isentropic work with the flow of a thermally conductive liquid.:

  • Enabled — the source performs isentropic work with the flow of a thermally conductive liquid to maintain a given mass or volume flow rate. Use this parameter to represent the ideal pump or compressor and to properly account for energy consumption and output, especially in closed-loop systems.

  • Turned off — the source does not perform any work with the flow, neither adding nor removing power, regardless of the mass or volume flow created by the source. Use this option to adjust the desired flow state in front of the system without affecting the flow temperature.

Cross-sectional area at ports A and B — the cross-sectional area normal to the flow path at ports A and B
0.01 m2 (default)

The cross-sectional area is normal to the flow path at ports A and B.