Skip to content

Commit 0ef60d9

Browse files
committed
Also output the Fluid in State class
1 parent 319cdbf commit 0ef60d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

wrappers/Python/CoolProp/CoolProp.pyx

+1
Original file line numberDiff line numberDiff line change
@@ -1118,6 +1118,7 @@ cdef class State:
11181118
'MM': 'kg/kmol'
11191119
}
11201120
s = 'phase = '+self.phase.decode('ascii')+'\n'
1121+
s += 'Fluid = '+self.Fluid.decode('ascii')+'\n'
11211122
for k in ['T','p','rho','Q','h','u','s','visc','k','cp','cp0','cv','dpdT','Prandtl','superheat','subcooling','MM']:
11221123
if k in units:
11231124
s += k + ' = '+str(getattr(self,k))+' '+units[k]+'\n'

0 commit comments

Comments
 (0)