Checking My Steam Table Functions

While I was working out a steam table page yesterday I found it necessary to graph the functions out as a means of verifying them.  Here’s the first graph I created in JavaScript.  It shows not only the curve of the enthalpy of saturated steam in BTU/lbm as a function of temperature in degrees Fahrenheit, but also color codes the section of curve that generated the number.  This shows me that there’s a minor hiccup at the beginning of the second section, in orange, which is something I’m going to have to look at.

My next project will be to turn the graph routines into a single object with cleaner interface functions. When that’s done I’ll plot out more of the functions I created.

This entry was posted in Simulation and tagged , , , , . Bookmark the permalink.

Leave a Reply