<div dir="ltr">Hello all,<br><br>I modified a STEC library fortran source code and created a new proforma for one kind of Solar collectors. After debugginf for a while I was finally getting good results as the proforma was doing exactly what I wanted.<br>
<br>So what's the problem?<br><br>If I use only a printer I get good results, all the variables give results that would sound quite reasonable and no "NaN" nor "infinite" values are in the final results. Now --this is the dummy-part-- if I add an online plotter to the project (in order to see things better) I get this "floating point" error right at the beggining (at the second time-step... 1hr). It doesn't matter what do I connect the online plotter with... If I connect it to a forcing function (for example), which doesn't really interact with my created Type it does the same thing!!!<br>
<br>I tried debugging my TypeXXX.for, but when I'm on it I get to the TRNSYS.for file and that's where the problem occurs. This happens almost at the end of the TRNSYS.for file, when the time-step it's about to conclude (after this loop, line 959):<br>
<br>-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>C    SEND THE ONLINE PLOTTER PARAMETERS AND OUTPUTS BACK TO THE EXECUTABLE FOR PLOTTING<br>
      DO J=1,5<br>        DO I=1,20<br>           PLOTOUT(I+(20*(J-1)))=PLOUT(I,J)<br>        ENDDO<br><br>        DO I=6,20<br>           PAROUT(I+(20*(J-1)))=PROUT(I-5,J)<br>        ENDDO<br>      ENDDO<br><br>C    AT THIS POINT THE SIMULATION IS FINISHED AT THE CURRENT TIMESTEP<br>
      RETURN<br>-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br><br>After this (and BEFORE the error) it jumps to the end of the file (where it says "END"), and then I get the following error in Visual Studio:<br>
<br>"No symbols are loaded for any call stack frame. The source code cannot be displayed". I click next and I get the error in TRNSYS. <br><br>Has anyone had this error before? I'm doing the simulations for my master tesis and I haven't been able to find out how to fix it.<br>
<br>Thanks to all<br><br>Carlos<br><br><br><br><br><br><br><div class="gmail_quote">On Mon, Oct 13, 2008 at 4:11 PM, Carlos Flores <span dir="ltr"><<a href="mailto:karlitro@gmail.com">karlitro@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Hello Matt or David,<br><br>So, I think I'm finally understanding the way you do things with FORTRAN, but have a finall question.<br>
<br>I followed all the 8.5 basic steps and now things are way more clear. I'm using Intel visual fortran and Microsoft Visual Studio, and did the TRNDLL.dll build and rebuild steps (I did them using the Solution in the folder %TRNSYS16%/Compilers/\Ivf91-Mvs2005. <br>

<br>Now, the thing is... I added my new type in a project under the same "Solution" and it works fine.<br><br>Now, this is my issue now:<br><br>1) Are the new TRNDLL.dll and Type999.dll going where they are suppose to go? or, Should I take those files and copy them somewhere?<br>

2) Lets suppose the dll goes directly where they are suppose to go. Now, what should I tell the proforma I created (in TRNSYS) so it knows that it has to do what the Type999.dll file says?<br><br>I think I'm really close to be able to modify the way I want all the stuff... I only need these final indications.<br>

<br>Thanks one more time for the help.<br><br>Carlos Flores<br>PRIEN<br>Universidad de Chile<br><br><br><br><br><div class="gmail_quote">On Fri, Oct 10, 2008 at 1:08 PM, Matt Duffy <span dir="ltr"><<a href="mailto:duffy@tess-inc.com" target="_blank">duffy@tess-inc.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear Artemi Spanaki,<br>
<br>
Perhaps my manual is not the same as yours.  I was trying to reference<br>
section 8.5 "Instructions to rebuild TRNDLL.dll and other dynamic link<br>
libraries". I recommend looking over that section. Please remember that<br>
the TRNSYS Simulation Studio is simply a graphical front-end.  To rebuild<br>
the TRNDLL, if that is indeed what you are trying to accomplish, you have<br>
to do that in your Fortran compiler.  Again, that section in the manual<br>
lays that out clearly.<br>
<br>
Best regards,<br>
<br>
Matt Duffy<br>
<div><div></div><div><br>
<br>
<br>
<br>
----- Original Message -----<br>
From: <a href="mailto:spanakiart@hotmail.com" target="_blank">spanakiart@hotmail.com</a><br>
Sent: Fri, October 10, 2008 2:05<br>
Subject:[TRNSYS-users] Additional question about dll<br>
<br>
<br>
Dear sir and trnsys users<br>
<br>
Sorry for being so boring with my questions, but I can't even found the<br>
way to have<br>
access to 'TRNDll files', on simulation studio. The only way to find these<br>
files is<br>
through the explorer. This is why I can't follow the instructions of ref.<br>
<a href="http://8.4.9.4" target="_blank">8.4.9.4</a> in<br>
page 8-111.<br>
<br>
Is there any chance of having that problem because of an error in my<br>
installation?<br>
I have the 16.00.0038 TRNSYS version.<br>
In username I get the message of please enter user id.<br>
Thank you very much.<br>
Yours sincerely<br>
<br>
Artemi Spanaki<br>
<br>
_________________________________________________________________<br>
Connect to the next generation of MSN Messenger<br>
</div></div><a href="http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline_______________________________________________TRNSYS-users" target="_blank">http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&amp;source=wlmailtagline_______________________________________________<br>


TRNSYS-users</a> 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>
<br>
----- End of original message -----<br>
<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>
</blockquote></div><br></div>
</blockquote></div><br></div>