Dear all,<br><br> I have set up a very simple zone only including one airlink--Large Opening. But I run it, the list 
file shows<span style="color: rgb(51, 51, 255);"> Parameters for TRNFlow
 are missing. Please, check defined parameters! </span>I only define one
 Opening with Daily Schedule, and I set up one Daily Schedule using Type
 14, meanwhile, I define a Output NTYPEs 207 and link Type 65 with Type 
56, I want to observe Output NTYPEs 207(total outdoor air flow into 
airnode). Only these, but the list file shows<span style="color: rgb(51, 51, 255);"> Parameters 
for TRNFlow are missing. Please, check defined parameters!</span><span style="color: rgb(51, 51, 255);"></span> I don't know what other 
Parameters are lack, if list file can tell what are missing, that's 
better. Do you think how to find missing Parameters ? Which Parameters 
are easy to be misses? Indeed I can not find them.<br>
<br>Thanks!<br>Br.<br><br>wang<br><br>ps.:the listing file shows:<br><br> TRNFLOW (2003-06-04) based on COMIS 3.1<br> Copyright
 (C) 2001   EMPA                          <div>                          
 <br> -------------------------------------------------------<br>
 Note: as soon as TRNFLOW is switched on, all couplings<br> between 
zones which are not in the air flow network and<br> those included in 
the network are reset to zero!<br> -------------------------------------------------------<br>
 No SET-file; using defaults<br>  <br> *******************************<br> Reading
 Input File            *<br> *******************************<br>  <br> 
 <br> *******************************<br> Checking HVAC T-Junction 
data *<br>
 *******************************<br>  <br>  <br> *******************************<br> Looking
 for RF components     *<br> *******************************<br>  <br> <br> <br>***
 Notice at time        :         0.000000<br>    Generated by Unit     
:    56<br>
    Generated by Type     :    56<br>    Message               : Star 
network calculation: every iteration step of TRNSYS<br> <br> <br>*** 
Fatal Error at time   :         0.000000<br>    Generated by Unit     
:    56<br>    Generated by Type     :    56<br>
    Message               : Parameters for TRNFlow are missing. Please, 
check defined parameters!<br> <br> <br>*** An error has forced TRNSYS to
 abort</div><br><br><div class="gmail_quote">2010/8/16  <span dir="ltr"><<a href="mailto:trnsys-users-request@cae.wisc.edu" target="_blank">trnsys-users-request@cae.wisc.edu</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


Send TRNSYS-users mailing list submissions to<br>
        <a href="mailto:trnsys-users@cae.wisc.edu" target="_blank">trnsys-users@cae.wisc.edu</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users" target="_blank">https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:trnsys-users-request@cae.wisc.edu" target="_blank">trnsys-users-request@cae.wisc.edu</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:trnsys-users-owner@cae.wisc.edu" target="_blank">trnsys-users-owner@cae.wisc.edu</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of TRNSYS-users digest..."<br>
<br>Today's Topics:<br>
<br>
   1. Converting *.try into *.epw (Mavi Cambronero V?zquez)<br>
   2. Re: Stored variables (C++)<br>
      (Carlos Flores | DECCW. Sydney, Australia)<br>
   3. Re: Stored variables (C++)<br>
      (Carlos Flores | DECCW. Sydney, Australia)<br>
   4. Problem compiling with PGI Visual Fortran 10.3<br>
      (Carlos Flores | DECCW. Sydney, Australia)<br>
   5. Re: Stored variables (C++)<br>
      (Carlos Flores | DECCW. Sydney, Australia)<br>
<br><br>---------- 已转发邮件 ----------<br>From: "Mavi Cambronero Vázquez" <<a href="mailto:maviqnk@gmail.com" target="_blank">maviqnk@gmail.com</a>><br>To: <a href="mailto:trnsys-users@cae.wisc.edu" target="_blank">trnsys-users@cae.wisc.edu</a><br>


Date: Mon, 16 Aug 2010 11:08:52 +0200<br>Subject: [TRNSYS-users] Converting *.try into *.epw<br><div>Hi!</div>
<div> </div>
<div>Does anyone know how to convert meteorogical files from .try into .epw? I found an application but it´s only valid for UK meteorogical data....</div>
<div> </div>
<div>Thanks in advance!</div>
<br><br>---------- 已转发邮件 ----------<br>From: "Carlos Flores | DECCW. Sydney, Australia" <<a href="mailto:cflores@ing.uchile.cl" target="_blank">cflores@ing.uchile.cl</a>><br>To: <a href="mailto:trnsys-users@engr.wisc.edu" target="_blank">trnsys-users@engr.wisc.edu</a><br>


Date: Mon, 9 Aug 2010 19:19:19 +1000<br>Subject: Re: [TRNSYS-users] Stored variables (C++)<br>Apologies for double-posting.  I just realised that my 'cflores' account was the one subscribed to this list.  Here is my question again.<br>


<br><div class="gmail_quote">--------------------------------------------------------------</div>
<div class="gmail_quote"><br><div><div></div><div><div class="gmail_quote">Hey everyone,<div>
<br></div><div>I have TRNSYS 16 and I am programming a new module using C++.  I've had absolutely <u><b>all</b></u> the problems that have been mentioned in the past with regards to stored variables (such as un-updated TRNSYS.h file) and I've solved most of them, but I have been unable to solve one related to pointers.  </div>








<div><br clear="all">For some reason, in TRNSYS.h the functions <b>setStorageVars</b> and <b>setStorageSize</b> need pointer inputs (int*, double*) to work, as opposed to the simple int or double variables used in FORTRAN.  I have spent a lot of time and I have not being able to work this through, and I need to fix this within the next few days or it will have consequences on the project deadline =(</div>








<div><br></div><div>Does anybody have the answer to one of these two questions?</div><div><br></div><div><b><font color="#000066">1) Do you have any example (*.ccp) of a module programmed in C++ that uses stored variables?</font></b>  That would probably be easiest way to understand how to insert the correct inputs in the <b>setStorageVars</b> function, or</div>








<div><br></div><div><b><font color="#000066">2) Do you know how to insert the 'nitems' and 'stored' array in a way that the setStorageVars function will understand?</font></b></div>
<div><br></div><div>The template generated for C++ does not address these issues and I am unsure how to fix them.</div><div><br></div><div>Any help would be highly appreciated!  Thanks!</div><div><br></div><div>Carlos Flores</div>






<div>Energy Research Program</div><div>Universidad de Chile</div></div></div></div></div>

<br><br>---------- 已转发邮件 ----------<br>From: "Carlos Flores | DECCW. Sydney, Australia" <<a href="mailto:cflores@ing.uchile.cl" target="_blank">cflores@ing.uchile.cl</a>><br>To: "keilholz, werner" <<a href="mailto:werner.keilholz@cstb.fr" target="_blank">werner.keilholz@cstb.fr</a>><br>


Date: Wed, 11 Aug 2010 07:09:29 +1000<br>Subject: Re: [TRNSYS-users] Stored variables (C++)<br>Hey Werner,<div><br></div><div>That is a shame.  It's sad that TRNSYS does not have a proper support for C++, specially when they claim they do.  It made me waste a couple of days of work.</div>


<div><br></div><div>Thanks very much for your answer and for helping me not to waste my time any longer.  </div>
<div><br></div><div>Kind regards,</div><div><br></div><div>Carlos</div><div><br></div><div><br><br><div class="gmail_quote">On Mon, Aug 9, 2010 at 10:11 PM, keilholz, werner <span dir="ltr"><<a href="mailto:werner.keilholz@cstb.fr" target="_blank">werner.keilholz@cstb.fr</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">








<div link="blue" vlink="purple" lang="FR">

<div>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">Hi Carlos, </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">The setStorageVars problem, too, has been encountered before:</span></p>

<p class="MsoNormal"><a href="http://www.mail-archive.com/trnsys-users@engr.wisc.edu/msg01920.html" target="_blank"><span lang="EN-US">http://www.mail-archive.com/trnsys-users@engr.wisc.edu/msg01920.html</span></a><span lang="EN-US"></span></p>





<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US">Basically, my recommendation is not to use
it in C or C++ - it’s a bit like asking where you can get fresh hay for
your car...</span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US">Werner</span><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></p>

<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;">

<p class="MsoNormal"><b><span style="font-size: 10pt;">De :</span></b><span style="font-size: 10pt;">
<a href="mailto:carlosfloreslenero@gmail.com" target="_blank">carlosfloreslenero@gmail.com</a> [mailto:<a href="mailto:carlosfloreslenero@gmail.com" target="_blank">carlosfloreslenero@gmail.com</a>] <b>De la
part de</b> Carlos Flores | DECCW. Sydney, Australia<br>
<b>Envoyé :</b> lundi 9 août 2010 11:03<br>
<b>À :</b> <a href="mailto:trnsys-users@engr.wisc.edu" target="_blank">trnsys-users@engr.wisc.edu</a><br>
<b>Objet :</b> Re: [TRNSYS-users] Stored variables (C++)</span></p>

</div><div><div></div><div>

<p class="MsoNormal"> </p>

<div>

<p class="MsoNormal">Hey everyone,</p>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal">I have TRNSYS 16 and I am programming a new module using
C++.  I've had absolutely <b><u>all</u></b> the problems that have
been mentioned in the past with regards to stored variables (such as un-updated
TRNSYS.h file) and I've solved most of them, but I have been unable to solve
one related to pointers.  </p>

</div>

<div>

<p class="MsoNormal"><br clear="all">
For some reason, in TRNSYS.h the functions <b>setStorageVars</b> and <b>setStorageSize</b>
need pointer inputs (int*, double*) to work, as opposed to the simple int or
double variables used in FORTRAN.  I have spent a lot of time and I have
not being able to work this through, and I need to fix this within the next few
days or it will have consequences on the project deadline =(</p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal">Does anybody have the answer to one of these two questions?</p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal"><b><span style="color: rgb(0, 0, 102);">1) Do you have any example
(*.ccp) of a module programmed in C++ that uses stored variables?</span></b>
 That would probably be easiest way to understand how to insert the
correct inputs in the <b>setStorageVars</b> function, or</p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal"><b><span style="color: rgb(0, 0, 102);">2) Do you know how to insert
the 'nitems' and 'stored' array in a way that
the setStorageVars function will understand?</span></b></p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal">The template generated for C++ does not address these issues
and I am unsure how to fix them.</p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal">Any help would be highly appreciated!  Thanks!</p>

</div>

<div>

<p class="MsoNormal"> </p>

</div>

<div>

<p class="MsoNormal">Carlos Flores</p>

</div>

<div>

<p class="MsoNormal">Energy Research Program</p>

</div>

<div>

<p class="MsoNormal">Universidad de Chile</p>

</div>

</div>

</div></div></div>

</div>


</blockquote></div><br><br clear="all"><br>-- <br><div><b><font color="#006600">Carlos Flores</font></b></div><div>Project Officer</div><div>BSc, MSc (Mech Eng)<br><br></div><div><font color="#006600"><b>Department of Environment, Climate Change and Water</b></font><br>



National Australian Built Environment Rating Scheme (NABERS Energy)</div><div>Sydney, Australia<br><b><font color="#006600">T:</font></b> (+61) 02 9995 5495<br><font color="#006600"><b>F:</b></font> (+61) 02 9995 6388<br>



<b><font color="#006600">W:</font></b> <a href="http://www.nabers.com.au" target="_blank">www.nabers.com.au</a> </div><br>
</div>
<br><br>---------- 已转发邮件 ----------<br>From: "Carlos Flores | DECCW. Sydney, Australia" <<a href="mailto:cflores@ing.uchile.cl" target="_blank">cflores@ing.uchile.cl</a>><br>To: <a href="mailto:trnsys-users@engr.wisc.edu" target="_blank">trnsys-users@engr.wisc.edu</a><br>


Date: Wed, 11 Aug 2010 22:55:44 +1000<br>Subject: [TRNSYS-users] Problem compiling with PGI Visual Fortran 10.3<br>Hello everyone,<div><br></div><div>I've got a quick question.  I recently installed PGI VF 2008 (v10.3) after my failed attempt to use C++.  I had to use PGI's as it is the version used in the IT department at the university.</div>



<div><br></div><div>Now, TRNSYS generates a DSP file (with relevant links to TRNDll and other files) along with a .FOR template.  The problem is that after installing GPI Visual Fortran, the DSP file is still not being recognised by Visual Studio (2008).  If I try to open the file it tells me that the file is <b><u>corrupted</u><span style="font-weight: normal;">, and it seems to be associated with a C++ project rather than Fortran.</span></b></div>



<div><b><span style="font-weight: normal;"><br></span></b></div><div><b><span style="font-weight: normal;">So I gues my question is:  </span>Is there any way I can fix this?</b></div>
<div><b><span style="font-weight: normal;"><br></span></b></div><div><b><span style="font-weight: normal;">Alternatively, if I start a new fortran project in Visual Studio from scratch, and I include my FOR source code.  </span>H</b><b>ow can I let Visual Studio know where are the libraries with the necessary functions to compile my code (e.g. TRNDll.dll)?</b></div>



<div><br></div><div>Thanks everyone!</div><div><br></div><div>Carlos</div><div>Energy Research Program</div><div>Universidad de Chile</div>
<br><br>---------- 已转发邮件 ----------<br>From: "Carlos Flores | DECCW. Sydney, Australia" <<a href="mailto:carlosfloreslenero@gmail.com" target="_blank">carlosfloreslenero@gmail.com</a>><br>To: <a href="mailto:trnsys-users@engr.wisc.edu" target="_blank">trnsys-users@engr.wisc.edu</a><br>


Date: Sun, 8 Aug 2010 15:26:22 +1000<br>Subject: Re: [TRNSYS-users] Stored variables (C++)<br>Hey everyone,<div><br></div><div>I have TRNSYS 16 and I am programming a new module using C++.  I've had absolutely <u><b>all</b></u> the problems that have been mentioned in the past with regards to stored variables (such as un-updated TRNSYS.h file) and I've solved most of them, but I have been unable to solve one related to pointers.  </div>





<div><br clear="all">For some reason, in TRNSYS.h the functions <b>setStorageVars</b> and <b>setStorageSize</b> need pointer inputs (int*, double*) to work, as opposed to the simple int or double variables used in FORTRAN.  I have spent a lot of time and I have not being able to work this through, and I need to fix this within the next few days or it will have consequences on the project deadline =(</div>





<div><br></div><div>Does anybody have the answer to one of these two questions?</div><div><br></div><div><b><font color="#000066">1) Do you have any example (*.ccp) of a module programmed in C++ that uses stored variables?</font></b>  That would probably be easiest way to understand how to insert the correct inputs in the <b>setStorageVars</b> function, or</div>





<div><br></div><div><b><font color="#000066">2) Do you know how to insert the 'nitems' and 'stored' array in a way that the setStorageVars function will understand?</font></b></div>
<div><br></div><div>The template generated for C++ does not address these issues and I am unsure how to fix them.</div><div><br></div><div>Any help would be highly appreciated!  Thanks!</div><div><br></div><div>Carlos Flores</div>



<div>Energy Research Program</div><div>Universidad de Chile</div><div><br></div>
<br>_______________________________________________<br>
TRNSYS-users mailing list<br>
<a href="mailto:TRNSYS-users@cae.wisc.edu" target="_blank">TRNSYS-users@cae.wisc.edu</a><br>
<a href="https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users" target="_blank">https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users</a><br>
<br></blockquote></div><br>