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