Skip to content

Commit

Permalink
Update rcm_parser.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunwbell committed Mar 11, 2024
1 parent 47c9984 commit ac34dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EcoFOCIpy/io/rcm_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit ac34dc9

Please sign in to comment.