blockResistanceVolume
Declaration of an FMU that exports a flow resistance and control volume
Extends from AixLib.Fluid.FMI.ExportContainers.PartialTwoPort.
Information
This example demonstrates how to export an FMU with a flow resistance and a control volume. The FMU has an instance of AixLib.Fluid.FixedResistances.PressureDrop and AixLib.Fluid.MixingVolumes.MixingVolume.
The mass dynamics has been set to
massDynamics=Modelica.Fluid.Types.Dynamics.SteadyState.
See the
user's guide
for the rationale.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Volume | V | 1 | Volume |
| Modelica.Units.SI.MassFlowRate | m_flow_nominal | 0.01 | Nominal mass flow rate |
| Modelica.Units.SI.PressureDifference | dp_nominal | 100 | Nominal pressure drop |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Sources.RealExpression | dpCom | Pressure drop of the component |
Revisions
-
January 22, 2016, by Michael Wetter:
Corrected type declaration of pressure difference. This is for #404. -
November 8, 2014 by Michael Wetter:
First implementation.