modelPressureDropsParallel

Test with multiple resistances in parallel

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This model tests two resistances in parallel. The flow path at the bottom of the model also has one additional hydraulic diameter model, but it has noRes.disableComputeFlowResistance=true, thereby removing the calculation of the flow resistance in that model.

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.RampPSignal source
AixLib.Fluid.FixedResistances.PressureDropres1Flow resistance
AixLib.Fluid.Sources.Boundary_pTsou1Pressure boundary condition
AixLib.Fluid.Sources.Boundary_pTsin1Pressure boundary condition
AixLib.Fluid.FixedResistances.PressureDropres2Flow resistance
AixLib.Fluid.Sensors.MassFlowRatemasFlo2Mass flow rate sensor
AixLib.Utilities.Diagnostics.AssertEqualityassEquAssert equality of the two mass flow rates
AixLib.Fluid.Sensors.MassFlowRatemasFlo1Mass flow rate sensor
AixLib.Fluid.FixedResistances.PressureDropres3Flow resistance
AixLib.Fluid.Sensors.MassFlowRatemasFlo3Mass flow rate sensor
AixLib.Utilities.Diagnostics.AssertEqualityassEqu1Assert equality of the two mass flow rates
AixLib.Fluid.FixedResistances.HydraulicDiameternoResFlow resistance with computeFlowResistance set to false

Contents

NameDescription
MediumMedium model

Revisions

  • April 25, 2025, by Michael Wetter and Fabian Wuellhorst:
    Expanded model to include a component with disableComputeFlowResistance=true.
  • July 20, 2007 by Michael Wetter:
    First implementation.