From b09ef282fd5671fb866166e99fa94f05f7b8c65c Mon Sep 17 00:00:00 2001
From: Michael Wetter
Date: Fri, 4 Jun 2021 04:17:52 -0700
Subject: [PATCH] Maint 7.0.x release notes (#2523)
* Merged IBPSA, #1490
This is a bug fix in the refrigerant derivative in the python code
* Updated release date
---
.../fluid/heatpumps/calibration/PythonModel/refrigerants.py | 2 +-
Buildings/package.mo | 4 ++--
README.md | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Buildings/Resources/src/fluid/heatpumps/calibration/PythonModel/refrigerants.py b/Buildings/Resources/src/fluid/heatpumps/calibration/PythonModel/refrigerants.py
index 429f115c1db..3e83dfb277f 100644
--- a/Buildings/Resources/src/fluid/heatpumps/calibration/PythonModel/refrigerants.py
+++ b/Buildings/Resources/src/fluid/heatpumps/calibration/PythonModel/refrigerants.py
@@ -281,7 +281,7 @@ def _dpdv(self, TVap, vVap):
dpdv = -R*TVap/(vVap - b)**2.0
for i in range(len(A)):
- dpdv = dpdv + (-i)*(A[i] + B[i]*TVap
+ dpdv = dpdv - (2.0+i)*(A[i] + B[i]*TVap
+ C[i]*np.exp(-k*TVap/self.TCri)) \
/ (vVap - b)**(i + 3.0)
return dpdv
diff --git a/Buildings/package.mo b/Buildings/package.mo
index 1e0edfdaeef..807a0371d81 100644
--- a/Buildings/package.mo
+++ b/Buildings/package.mo
@@ -8097,7 +8097,7 @@ on the Buildings library.
-
-Version 7.0.1 (May 28, 2021)
+Version 7.0.1 (June 4, 2021)
-
Version 7.0.0 (May 28, 2020)
@@ -8580,7 +8580,7 @@ annotation (
preferredView="info",
version="7.0.1",
versionDate="2020-05-28",
-dateModified="2021-05-28",
+dateModified="2021-06-04",
uses(Modelica(version="3.2.3")),
conversion(
noneFromVersion="7.0.0",
diff --git a/README.md b/README.md
index 09669ca6909..b8fc5dc80c1 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,7 @@ The main project site is http://simulationresearch.lbl.gov/modelica.
## Current release
-Download [Buildings Library 7.0.1 (2021-05-28)](https://github.com/lbl-srg/modelica-buildings/releases/download/v7.0.1/Buildings-v7.0.1.zip)
+Download [Buildings Library 7.0.1 (2021-06-04)](https://github.com/lbl-srg/modelica-buildings/releases/download/v7.0.1/Buildings-v7.0.1.zip)
## License