George, I would think that if you are getting negative values in the interpolation of data that is always positive, there might be an incorrect setting as to the nature of the data. Type9 asks you to specify various things about your data. For example: whether or not there is a line of initial values at the beginning of the data file, whether the values in your data file are instantaneous values at the end of the data interval or whether they are average values over the interval, and whether or not you want the values to be interpolated. The Type9 "mode" can also have an impact. I often play around with these values until the outputs that Type9 are producing (plotted with Type65) match up with the data that is going in. One "cheap and dirty" fix would be to put Type9's outputs through an equation as follows: posVals = MAX(0.,Type9Output) but officially, you did not hear me suggest that... :-) best, David On 12/12/2011 09:54, George Kyriakarakos wrote:
-- *************************** David BRADLEY Principal Thermal Energy Systems Specialists, LLC 22 North Carroll Street - suite 370 Madison, WI 53703 USA P:+1.608.274.2577 F:+1.608.278.1475 d.bradley@tess-inc.com http://www.tess-inc.com http://www.trnsys.com |