/[ascend]/trunk/models/johnpye/fprops/python/solve_ph.py
ViewVC logotype

Diff of /trunk/models/johnpye/fprops/python/solve_ph.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2259 by jpye, Thu Aug 5 03:37:14 2010 UTC revision 2260 by jpye, Thu Aug 5 06:28:01 2010 UTC
# Line 3  from pylab import * Line 3  from pylab import *
3    
4  D = helmholtz_data_water;  D = helmholtz_data_water;
5    
6  p = 1e5;  p = 207.544081e5;
7  h = 300e3;  h = 2722.928340e3
8    #p = 279.851966e5
9    #h = 1894.424202e3
10    #p = 1e5;
11    #h = 300e3;
12  print "p = %f bar, h = %f kJ/kg" % (p/1e5, h/1e3)  print "p = %f bar, h = %f kJ/kg" % (p/1e5, h/1e3)
13    
14  print "p_raw(400,0.9) =", helmholtz_p_raw(400,0.9,D)  print "p_raw(400,0.9) =", helmholtz_p_raw(400,0.9,D)

Legend:
Removed from v.2259  
changed lines
  Added in v.2260

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22