[TRNSYS-users] Type57 Temperature Error
thornton at tess-inc.com
thornton at tess-inc.com
Sat Nov 6 10:01:26 PDT 2021
On 2021-11-05 12:25, ganzorig--- via TRNSYS-users wrote:
> I'm having a little bit of trouble with Type57. The table Nb.
> for input-1 is 1(Temperature), ID number from table for input -1 is
> 1(Celsius) and ID number from table for output-1 is 3 (Kelvin). When
> input is 300 ,the output is 373. This is a series problem. The correct
> result is 300+273=573. How is that???
Andy,
I'll admit that when I first looked at this that I thought you had just
simply screwed something up - but you are 100% correct. I traced the
error back to the Units.lab file which is located in the Exe directory.
Somehow, at some point, the leading + signs were stripped from the unit
conversions in this file. I've updated the file and we'll release it
with the next TRNSYS release but if you want to fix it now it's pretty
simple.
For each of the conversions in the file simply add a leading + to each
numerical value. So
TE2=øF 1.80000E+00 3.20000E+01
becomes
TE2=øF +1.80000E+00 +3.20000E+01
There should be seventeen characters before the first + sign, a
12-character number (including the + sign), 3 spaces, and then another
12-character number (including the + sign). Make the fix for all of the
units in the file. Or simply e-mail me and I'll send out the file to
anyone that wants it.
Jeff
--
Jeff W. Thornton
President
Thermal Energy System Specialists LLC
3 N. Pinckney Street, Suite 202
Madison WI 53703 USA
(608) 274-2577
www.tess-inc.com
More information about the TRNSYS-users
mailing list