From c97168f79e42909159dd98dd5a5ba2668f3c6527 Mon Sep 17 00:00:00 2001 From: shaunwbell Date: Mon, 11 Mar 2024 11:55:06 -0700 Subject: [PATCH] Update rcm_parser.py (#316) --- src/EcoFOCIpy/io/rcm_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EcoFOCIpy/io/rcm_parser.py b/src/EcoFOCIpy/io/rcm_parser.py index 5949db2..f3677d5 100644 --- a/src/EcoFOCIpy/io/rcm_parser.py +++ b/src/EcoFOCIpy/io/rcm_parser.py @@ -122,7 +122,7 @@ def engr2sci_pres(self,coefA=0,coefB=0,coefC=0,equationType='low',units='kPa'): """ if equationType=='low': - self.rawdata_df['pressure'] =(coefA+coefB*self.rawdata_df['press_engr']+coefC*(self.rawdata_df['press_engr']**2))/10-10 + self.rawdata_df['pressure'] =(coefA+coefB*self.rawdata_df['press_engr']+coefC*(self.rawdata_df['press_engr']**2)) if units=='MPa': self.rawdata_df['pressure'] =self.rawdata_df['pressure']*100-10 elif units=='kPa':