modelEnforcePressureDrop
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
Checks enforcePressureDrop:
-
If
enforcePressureDrop = true, the product of mass flow rate and pressure dropm_flow*dp >= 0is enforced, independent of the setpoint. If pressure clipping becomes active, this is indicated by a red circle in the icon layer. -
If
enforcePressureDrop = false, the pressure drop may violate the second law of thermodynamics. In this case, a warning is issued and the condition is indicated in the icon layer.
For inverse calculations, it may be advantageous to set
enforcePressureDrop = false, as this simplifies the equation system.
Components
Contents
| Name | Description |
|---|---|
Revisions
-
2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
Initial version.