Skip to content

Commit

Permalink
Merge pull request #2501 from lbl-srg/maint_7.0.x_releaseNotes
Browse files Browse the repository at this point in the history
Maint 7.0.x release notes
  • Loading branch information
AntoineGautier authored May 25, 2021
2 parents 1b16c3d + bc93d7f commit 370cf49
Show file tree
Hide file tree
Showing 5 changed files with 207 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ equation
// Saturation pressure of refrigerant vapor at condenser temperature
pCon = ref.pressureSatVap_T(port_b.T);

// Specific enthaply of saturated liquid refrigerant at condenser temperature
// Specific enthalpy of saturated liquid refrigerant at condenser temperature
hCon = ref.enthalpySatLiq_T(port_b.T);

// Saturation pressure of refrigerant vapor at evaporator temperature
pEva = ref.pressureSatVap_T(port_a.T);

// Specific enthaply of saturated refrigerant vapor at evaporator temperature
// Specific enthalpy of saturated refrigerant vapor at evaporator temperature
hEva = ref.enthalpySatVap_T(port_a.T);

// Assert statements to verify that the refrigerant temperatures are within
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ within Buildings.Utilities.Psychrometrics.Functions.BaseClasses;
function der_saturationPressureLiquid
"Derivative of the function saturationPressureLiquid"
extends Modelica.Icons.Function;
input Modelica.SIunits.Temperature Tsat "Saturation temperature";
input Real dTsat(unit="K/s") "Saturation temperature derivative";
input Modelica.SIunits.Temperature TSat "Saturation temperature";
input Real dTSat(unit="K/s") "Saturation temperature derivative";
output Real psat_der(unit="Pa/s") "Differential of saturation pressure";

algorithm
psat_der:=611.657*Modelica.Math.exp(17.2799 - 4102.99
/(Tsat - 35.719))*4102.99*dTsat/(Tsat - 35.719)^2;
/(TSat - 35.719))*4102.99*dTSat/(TSat - 35.719)^2;

annotation(Inline=false,
smoothOrder=5,
smoothOrder=98,
Documentation(info="<html>
<p>
Derivative of function
Expand All @@ -22,6 +22,12 @@ Buildings.Utilities.Psychrometrics.Functions.saturationPressureLiquid</a>.
revisions="<html>
<ul>
<li>
September 12, 2020, by Michael Wetter:<br/>
Corrected name of argument to comply with derivative specification.<br/>
This is for
<a href=\"https://github.com/ibpsa/modelica-ibpsa/issues/1393\">#1393</a>.
</li>
<li>
November 20, 2013 by Michael Wetter:<br/>
First implementation, moved from <code>Buildings.Media</code>.
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ function der_sublimationPressureIce
input Modelica.SIunits.Temperature TSat(displayUnit="degC",
nominal=300)
"Saturation temperature";
input Real dTsat(unit="K/s") "Sublimation temperature derivative";
input Real dTSat(unit="K/s") "Sublimation temperature derivative";
output Real psat_der(unit="Pa/s") "Sublimation pressure derivative";
protected
Modelica.SIunits.Temperature TTriple=273.16 "Triple point temperature";
Modelica.SIunits.AbsolutePressure pTriple=611.657 "Triple point pressure";
Real r1=TSat/TTriple "Common subexpression 1";
Real r1_der=dTsat/TTriple "Derivative of common subexpression 1";
Real r1_der=dTSat/TTriple "Derivative of common subexpression 1";
Real a[2]={-13.9281690,34.7078238} "Coefficients a[:]";
Real n[2]={-1.5,-1.25} "Coefficients n[:]";
algorithm
Expand All @@ -30,6 +30,13 @@ Buildings.Utilities.Psychrometrics.Functions.sublimationPressureIce</a>.
revisions="<html>
<ul>
<li>
September 12, 2020, by Michael Wetter:<br/>
Change name of argument <code>dTsat</code> to <code>dTSat</code> for consistency
with
<a href=\"modelica://Buildings.Utilities.Psychrometrics.Functions.BaseClasses.der_saturationPressureLiquid\">
Buildings.Utilities.Psychrometrics.Functions.BaseClasses.der_saturationPressureLiquid</a>.
</li>
<li>
November 20, 2013 by Michael Wetter:<br/>
First implementation, moved from <code>Buildings.Media</code>.
</li>
Expand Down
187 changes: 185 additions & 2 deletions Buildings/package.mo
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,185 @@ its class name ends with the string <code>Beta</code>.
package ReleaseNotes "Release notes"
extends Modelica.Icons.ReleaseNotes;


class Version_7_0_1 "Version 7.0.1"
extends Modelica.Icons.ReleaseNotes;
annotation (Documentation(info="<html>
<div class=\"release-summary\">
<p>
Version 7.0.1 is a bug fix release.
The library has been tested with
Dymola 2020x and 2021,
JModelica (revision 14023), and
OPTIMICA (revision OCT-stable-r12473_JM-r14295).
</p>
<p>
The following changes have been done:
<ul>
<li>
Corrected memory violation on Windows for weather data file with long header lines.
</li>
<li>
Corrected various misplaced or missing <code>each</code> declarations.
</li>
<li>
Corrected access to protected classes.
</li>
<li>
Reformulated replaceable class to avoid access of components that are not in the constraining type.
</li>
<li>
Added missing parameter declarations for records.
</li>
</ul>
</div>
<!-- New libraries -->
<!-- New components for existing libraries -->
<!-- Backward compatible changes -->
<p>
The following <b style=\"color:blue\">existing components</b>
have been <b style=\"color:blue\">improved</b> in a
<b style=\"color:blue\">backward compatible</b> way:
</p>
<table class=\"releaseTable\" summary=\"summary\" border=\"1\" cellspacing=0 cellpadding=2 style=\"border-collapse:collapse;\">
<tr><td colspan=\"2\"><b>Buildings.Applications</b>
</td>
</tr>
<tr><td valign=\"top\">Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation
</td>
<td valign=\"top\">Changed boundary condition model to prescribed pressure rather than prescribed mass flow rate.
Prescribing the mass flow rate caused
unreasonably large pressure drop because the mass flow rate was forced through a closed valve.<br/>
This is for
<a href=\"https://github.com/lbl-srg/modelica-buildings/issues/2488\">#2488</a>.
</td>
</tr>
<tr><td colspan=\"2\"><b>Buildings.Electrical</b>
</td>
</tr>
<tr><td valign=\"top\">Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YD
</td>
<td valign=\"top\">Set better start values for algebraic variables.<br/>
This is for
<a href=\"https://github.com/lbl-srg/modelica-buildings/issues/2432\">#2432</a>.
</td>
</tr>
</table>
<!-- Non-backward compatible changes to existing components -->
<!-- Errors that have been fixed -->
<!-- Uncritical errors -->
<p>
The following <b style=\"color:red\">uncritical errors</b> have been fixed (i.e., errors
that do <b style=\"color:red\">not</b> lead to wrong simulation results, e.g.,
units are wrong or errors in documentation):
</p>
<table class=\"releaseTable\" summary=\"summary\" border=\"1\" cellspacing=0 cellpadding=2 style=\"border-collapse:collapse;\">
<tr><td colspan=\"2\"><b>Buildings.Fluid</b>
</td>
</tr>
<tr><td valign=\"top\">Buildings.Fluid.CHPs.BaseClasses.EnergyConversionNormal<br/>
Buildings.Fluid.CHPs.ThermalElectricalFollowing
</td>
<td valign=\"top\">Reformulated replaceable class to avoid access of components that are not in the constraining type.<br/>
This is for <a href=\"https://github.com/lbl-srg/modelica-buildings/issues/2471\">issue #2471</a>.
</td>
</tr>
<tr><td valign=\"top\">Buildings.Fluid.Geothermal.Borefields.BaseClasses.PartialBorefield
</td>
<td valign=\"top\">Corrected placement of <code>each</code> keyword.
See <a href=\"https://github.com/lbl-srg/modelica-buildings/pull/2440\">Buidings, #2440</a>.
<br/>
Switched port connections for <code>masFloDiv</code>.
See <a href=\"https://github.com/ibpsa/modelica-ibpsa/issues/41\">IBPSA, #41</a>.
<br/>
Propagated flowReversal into <code>masFloDiv</code> and <code>masFloMul</code>.
</td>
</tr>
<tr><td valign=\"top\">Buildings.Fluid.Geothermal.Borefields.Examples.Borefields<br/>
Buildings.Fluid.Geothermal.Borefields.Validation.ConstantHeatInjection_100Boreholes</br>
Buildings.Fluid.Geothermal.Borefields.Validation.Sandbox
</td>
<td valign=\"top\">Added missing parameter keyword for data records.
</td>
</tr>
<tr><td valign=\"top\">Buildings.Fluid.HeatExchangers.BaseClasses.CoilRegister<br/>
Buildings.Fluid.HeatExchangers.BaseClasses.HexElementLatent
</td>
<td valign=\"top\">Changed constant <code>simplify_mWat_flow</code> from protected to public because it is assigned by
<a href=\"modelica://Buildings.Fluid.HeatExchangers.WetCoilCounterFlow\">
Buildings.Fluid.HeatExchangers.WetCoilCounterFlow</a>.<br/>
This is for <a href=\"https://github.com/lbl-srg/modelica-buildings/issues/2387\">#2387</a>.
</td>
</tr>
<tr><td valign=\"top\">Buildings.Fluid.HeatExchangers.BaseClasses.PartialPrescribedOutlet
</td>
<td valign=\"top\">Removed duplicate declaration of <code>m_flow_nominal</code> which is already
declared in the base class.
</td>
</tr>
<tr><td valign=\"top\">Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.MultiStage<br/>
Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.PerformanceCurves.Curve_I<br/>
Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.PerformanceCurves.Curve_II<br/>
Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.PerformanceCurves.Curve_III<br/>
Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.SingleSpeed<br/>
Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.SpaceCooling<br/>
Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Examples.VariableSpeed<br/>
Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Validation.SingleSpeedEnergyPlus<br/>
Buildings.Fluid.HeatExchangers.DXCoils.AirCooled.Validation.SingleSpeedPLREnergyPlus<br/>
Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.WetCoil<br/>
Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.MultiStage<br/>
Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.SingleSpeed<br/>
Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed<br/>
Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Validation.VariableSpeedEnergyPlus<br/>
Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Validation.VariableSpeedEnergyPlusPartLoad<br/>
</td>
<td valign=\"top\">Corrected placement of <code>each</code> keyword.<br/>
See <a href=\"https://github.com/lbl-srg/modelica-buildings/pull/2440\">Buidings, PR #2440</a>.<br/>
Added missing parameter declaration for data record.
</td>
</tr>
<tr><td valign=\"top\">Buildings.Fluid.HeatExchangers.WetCoilCounterFlow
</td>
<td valign=\"top\">Removed <code>final</code> declaration in redeclaration.<br/>
This is for <a href=\"https://github.com/lbl-srg/modelica-buildings/issues/2392\">#2392</a>.
</td>
</tr>
<tr><td valign=\"top\">Buildings.Fluid.Interfaces.PrescribedOutlet
</td>
<td valign=\"top\">Removed duplicate declaration of <code>m_flow_nominal</code> which is already
declared in the base class.
</td>
</tr>
<tr><td valign=\"top\">Buildings.Fluid.Sources.BaseClasses.PartialSource<br/>
Buildings.Fluid.Storage.BaseClasses.IndirectTankHeatExchanger
</td>
<td valign=\"top\">Corrected misplaced <code>each</code> and added missing instance comment.<br/>
This is for <a href=\"https://github.com/ibpsa/modelica-ibpsa/issues/1462\">IBPSA, #1462</a>.
</td>
</tr>
<tr><td valign=\"top\">Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeSpanTMY3
</td>
<td valign=\"top\">Corrected memory access violation on Windows for files with long header.<br/>
This is for <a href=\"https://github.com/ibpsa/modelica-ibpsa/issues/1432\">IBPSA, #1432</a>.
</td>
</tr>
<tr><td valign=\"top\">Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeSpanTMY3<br/>
Buildings.Utilities.Cryptographics.sha
</td>
<td valign=\"top\">Corrected memory leak in C function.
</td>
</tr>
<tr><td valign=\"top\">Buildings.Utilities.IO.BCVTB.BaseClasses.FluidInterface
</td>
<td valign=\"top\">Corrected missing <code>each</code> keyword.
</td>
</tr>
</table>
<!-- Obsolete components -->
</html>"));
end Version_7_0_1;


class Version_7_0_0 "Version 7.0.0"
extends Modelica.Icons.ReleaseNotes;
annotation (Documentation(info="<html>
Expand Down Expand Up @@ -7918,6 +8097,9 @@ on the Buildings library.
</p>
<ul>
<li>
<a href=\"modelica://Buildings.UsersGuide.ReleaseNotes.Version_7_0_1\">Version 7.0.1</a> (May 25, 2021)
</li>
<li>
<a href=\"modelica://Buildings.UsersGuide.ReleaseNotes.Version_7_0_0\">Version 7.0.0</a> (May 28, 2020)
</li>
<li>
Expand Down Expand Up @@ -8396,11 +8578,12 @@ end UsersGuide;

annotation (
preferredView="info",
version="7.0.0",
version="7.0.1",
versionDate="2020-05-28",
dateModified="2020-05-28",
dateModified="2021-05-25",
uses(Modelica(version="3.2.3")),
conversion(
noneFromVersion="7.0.0",
from(version={"6.0.0"},
script="modelica://Buildings/Resources/Scripts/Dymola/ConvertBuildings_from_6_to_7.0.0.mos")),
preferredView="info",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The main project site is http://simulationresearch.lbl.gov/modelica.

## Current release

Download [Buildings Library 7.0.0 (2020-05-28)](https://github.com/lbl-srg/modelica-buildings/releases/download/v7.0.0/Buildings-v7.0.0.zip)
Download [Buildings Library 7.0.1 (2021-05-25)](https://github.com/lbl-srg/modelica-buildings/releases/download/v7.0.1/Buildings-v7.0.1.zip)

## License

Expand Down

0 comments on commit 370cf49

Please sign in to comment.