Partial model for a hydraulic resistance
Partial model for a flow resistance, possible with variable flow coefficient.
Models that extend this class need to implement an equation that relates
m_flow and dp, and they need to assign the parameter
m_flow_turbulent.
See for example
IBPSA.Fluid.FixedResistances.PressureDrop for a model that extends
this base class.
- 
November 3, 2016, by Michael Wetter:
 Removed start value for pressure difference
to simplify the parameter window.
 This is for
#552.
- 
January 26, 2016, by Michael Wetter:
 Avoided assignment ofdp(nominal=0)ifdp_nominal_pos = 0and ofm_flow(nominal=0)ifm_flow_nominal_pos = 0as nominal values are not allowed to be zero.
- 
January 22, 2016, by Michael Wetter:
 Corrected type declaration of pressure difference.
This is
for #404.
- 
August 15, 2015, by Filip Jorissen:
 Implemented more efficient computation ofport_a.Xi_outflow,port_a.h_outflowandport_a.C_outflowwhenallowFlowReversal=false.
This is for
#281.
- 
January 13, 2015, by Marcus Fuchs:
 Revised revisions section (there were two revisions statements)
- 
November 20, 2014 by Michael Wetter:
 Removedstartattribute form_flowas this is already set in its base class.
- 
October 8, 2013 by Michael Wetter:
 Removed propagation ofshow_V_flowto base class as it has no longer this parameter.
- 
December 14, 2012 by Michael Wetter:
 Renamed protected parameters for consistency with the naming conventions.
- 
February 12, 2012, by Michael Wetter:
 Removed duplicate declaration ofm_flow_nominal.
- 
February 3, 2012, by Michael Wetter:
 Made assignment ofm_flow_smallfinalas it is no
longer used in the base class.
- 
January 16, 2012, by Michael Wetter:
 To simplify object inheritance tree, revised base classesIBPSA.Fluid.BaseClasses.PartialResistance,IBPSA.Fluid.Actuators.BaseClasses.PartialTwoWayValve,IBPSA.Fluid.Actuators.BaseClasses.PartialDamperExponential,IBPSA.Fluid.Actuators.BaseClasses.PartialActuatorand modelIBPSA.Fluid.FixedResistances.PressureDrop.
- 
August 5, 2011, by Michael Wetter:
 Moved linearized pressure drop equation from the function body to the equation
section. With the previous implementation,
the symbolic processor may not rearrange the equations, which can lead
to coupled equations instead of an explicit solution.
- 
June 20, 2011, by Michael Wetter:
 Set start values form_flowanddpto zero, since
most HVAC systems start at zero flow. With this change, the start values
appear in the GUI and can be set by the user.
- 
April 2, 2011 by Michael Wetter:
 Addedm_flow_nominal_posanddp_nominal_posto allow
providing negative nominal values which will be used, for example, to set start
values of flow splitters which may have negative flow rates and pressure drop
at the initial condition.
- 
March 27, 2011, by Michael Wetter:
 Addedhomotopyoperator.
- 
March 23, 2011 by Michael Wetter:
 Added homotopy operator.
- 
March 30, 2010 by Michael Wetter:
 Changed base classes to allow easier initialization.
- 
April 13, 2009, by Michael Wetter:
 Extracted pressure drop computation and implemented it in the
new model
IBPSA.Fluid.BaseClasses.FlowModels.BasicFlowModel.
- 
September 18, 2008, by Michael Wetter:
 Added equations for the mass balance of extra species flow,
i.e.,CandmC_flow.
- 
July 20, 2007 by Michael Wetter:
 First implementation.
Generated at 2025-10-30T19:21:05Z
 by OpenModelicaOpenModelica 1.25.5 using GenerateDoc.mos