diff --git a/IBPSA/Fluid/HeatPumps/ModularReversible/BaseClasses/PartialReversibleRefrigerantMachine.mo b/IBPSA/Fluid/HeatPumps/ModularReversible/BaseClasses/PartialReversibleRefrigerantMachine.mo index b0dac8e538..8b2929f42d 100644 --- a/IBPSA/Fluid/HeatPumps/ModularReversible/BaseClasses/PartialReversibleRefrigerantMachine.mo +++ b/IBPSA/Fluid/HeatPumps/ModularReversible/BaseClasses/PartialReversibleRefrigerantMachine.mo @@ -201,7 +201,7 @@ partial model PartialReversibleRefrigerantMachine parameter Boolean linearized=false "= true, use linear relation between m_flow and dp for any flow rate" annotation (Dialog(tab="Advanced", group="Flow resistance")); - parameter Real ySet_small=0.01 + parameter Real ySet_small(min=0.002)=0.01 "Threshold for relative speed for the device to be considered on" annotation (Dialog(tab="Advanced", group="Diagnostics")); parameter Boolean calEff=true @@ -315,7 +315,7 @@ partial model PartialReversibleRefrigerantMachine rotation=0))); Modelica.Blocks.Logical.Hysteresis hys( - final uLow=Modelica.Constants.eps, + final uLow=0.001, final uHigh=ySet_small, final pre_y_start=false) "Use default ySet value" annotation (Placement( transformation(extent={{10,10},{-10,-10}}, rotation=180, @@ -692,6 +692,11 @@ equation fillPattern=FillPattern.Solid)}), Diagram(coordinateSystem(extent={{-140,-160},{140,160}})), Documentation(revisions="