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
IDEAS.Fluid.FixedResistances.PressureDropres1Flow resistance
IDEAS.Fluid.Sources.Boundary_pTsou1Pressure boundary condition
IDEAS.Fluid.Sources.Boundary_pTsin1Pressure boundary condition
IDEAS.Fluid.FixedResistances.PressureDropres2Flow resistance
IDEAS.Fluid.Sensors.MassFlowRatemasFlo2Mass flow rate sensor
IDEAS.Utilities.Diagnostics.AssertEqualityassEquAssert equality of the two mass flow rates
IDEAS.Fluid.Sensors.MassFlowRatemasFlo1Mass flow rate sensor
IDEAS.Fluid.FixedResistances.PressureDropres3Flow resistance
IDEAS.Fluid.Sensors.MassFlowRatemasFlo3Mass flow rate sensor
IDEAS.Utilities.Diagnostics.AssertEqualityassEqu1Assert equality of the two mass flow rates
IDEAS.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.