<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Matteo,<br>
are you sure m_acqua is declared as a real?<br>
if it is declared as an integer, or if it isn't declared, il could be
the reason of the error.<br>
<br>
<br>
Laurent<br>
<br>
Matteo DF a écrit :
<blockquote
cite="mid:bdcf22dd1002081005y66509638v2347e54436a44c90@mail.gmail.com"
type="cite">Hi everybody,<br>
I'm having some problems with a type I'm developing... I'm using Compaq
Visual Fortran 6.6.c.<br>
<br>
Here's the problem, I have these simple line of code, some variable's
names are in italian but there's no problem I hope...<br>
<br>
T_sonde=(T_rit+Q_h*(1-1/COP)/(m_acqua*Cp_sonde))*(fattore_carico)+T_rit*(1-fattore_carico)<br>
<br>
The problem is that if I pass the right value to m_acqua (which is a
flowrate) I get an "Invalid floating point operation" error. The
correct value for m_acqua si 1500 kg/h which I converted in kg/s,
0.416667. If I pass this value I get the error, if i raise to 5-10 kg/s
there's no error. If I raise only to 2-3 kg/s the simulation lasts
longer but eventually gives an error...<br>
<br>
Where can the problem be?<br clear="all">
<br>
Many thanks,<br>
Matteo.<br>
<br>
-- <br>
La scoperta è vedere ciò che tutti hanno sempre visto e<br>
pensare ciò che nessuno ha mai pensato.<br>
(Albert Szent-Gyorgyi, scopritore della vitamina C e premio Nobel)<br>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a>
<a class="moz-txt-link-freetext" href="https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users">https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<img src="cid:part1.03030603.02070604@univ-rennes1.fr" border="0"></div>
</body>
</html>