<div dir="ltr">Hello David,<br><br>One more question about the fortran compiler. I installed the <font size="2">Intel Visual Fortran Compiler v10.0.025</font>. Now, It doesn't say in the manuals which file you have to put on the FORTRAN environment variable (I set the bin/ifort.exe, but I'm not so sure it should be that one). <br>
<br>Now, if this is the file... what else should I do in order to make the "Compile Module" button to work, cuase I tried now and it doesn't work (it says "the system cannot find the specified file", but in spanish in my case).<br>
<br>I'll wait for your answer, cause I haven't really found enough information in the manuals.<br><br>Thanks one more time!<br><br>Carlos<br>PRIEN, Universidad de Chile<br><br><br><br><br><br><br><div class="gmail_quote">
On Tue, Oct 7, 2008 at 11:37 AM, David Bradley <span dir="ltr"><<a href="mailto:bradley@tess-inc.com">bradley@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;">



  

<div bgcolor="#ffffff" text="#000000">
Carlos,<br>
 You might want to refer to section 8.5 of the 08-Programmer's Guide
manual for instructions on how to modify existing components and
recompile them. For instructions on how to modify and create new
proformas, you may refer to section 2.3 of the 02-Simulation Studio
manual.<div><div></div><div class="Wj3C7c"><br>
Kind regards,<br>
 David<br>
<br>
<br>
Carlos Flores wrote:
<blockquote type="cite">
  <div dir="ltr">To be more clear David,
  <div><br>
  </div>
  <div>I've got a .FOR file from a particular type in TRNSYS (Type 396,
parabolic trough field model). The thing is that this model would not
work in a proper way for my purposes because it was done thinking in a
power station and not in a smaller-size heating plant.</div>
  <div><br>
  </div>
  <div>So, I want to modify it a bit and therefore, create a new
proforma that would be a modification of the type 396. </div>
  <div><br>
  </div>
  <div>So, in this context... how do I create my new proforma, given
this fortran source code?</div>
  <div><br>
  </div>
  <div>Thanks again, best regards</div>
  <div><br>
  </div>
  <div>Carlos</div>
  <div>PRIEN, Universidad de Chile</div>
  <div><br>
  </div>
  <div><br>
  </div>
  <div><br>
  </div>
  <div><br>
  </div>
  <div><br>
  <br>
  <div class="gmail_quote">On Tue, Oct 7, 2008 at 12:03 PM, Carlos
Flores <span dir="ltr"><<a href="mailto:karlitro@gmail.com" target="_blank">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">Hey David,
    <div><br>
    </div>
    <div>That's my question. Can I just edit directly the .FOR file
(along with the proper changes at the parameter, imput and output tabs)
and then compile it to obtain a different module? Is that simple?</div>
    <div><br>
    </div>
    <div>Wait for your answer, thanks!</div>
    <div><br>
    </div>
    <font color="#888888">
    <div>Carlos</div>
    </font>
    <div>
    <div>
    <div><br>
    </div>
    <div><br>
    </div>
    <div><br>
    </div>
    <div><br>
    <br>
    <div class="gmail_quote">On Tue, Oct 7, 2008 at 11:12 AM, David
Bradley <span dir="ltr"><<a href="mailto:bradley@tess-inc.com" target="_blank">bradley@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;">
      <div bgcolor="#ffffff" text="#000000">
Carlos,<br>
 In addition to modifying the proforma, if you change something in the
Fortran code, you have to recompile that code and generate a new STEC
Library DLL. <br>
      <br>
 There is no method for automatically generating a proforma from
Fortran code. To create a proforma, select "New Component" from the
File: New menu. Specify the Type number on the first tab and then
specify all of the parameters, inputs, and outputs on the third tab. If
a proforma exists for your component already, you can double click it
from within the Direct Access tool (instead of selecting it and moving
it out into your project), then modify it.<br>
      <br>
Kind regards,<br>
 David<br>
      <br>
      <br>
Carlos Flores wrote:
      <blockquote type="cite">
        <div>
        <div>
        <div dir="ltr">Hi there,<br>
        <br>
I'm using the STEC library I received from the german DLR. I want to
make a little change to it, and I have the source code (file.for).<br>
        <br>
My question is, how do I generate a proforma out of the .FOR file?
That's all I need, how do I generate the proforma file out of the
fortran code (that is already done and should work fine cause is pretty
much the same than before but with a very small change).<br>
        <br>
Thanks for the time, <br>
        <br>
Carlos<br>
        </div>
        </div>
        </div>
        <pre><div><hr size="4" width="90%">_______________________________________________
TRNSYS-users mailing list
<a href="mailto:TRNSYS-users@cae.wisc.edu" target="_blank">TRNSYS-users@cae.wisc.edu</a>
<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>
  </div></pre>
      </blockquote>
      <div><br>
      <pre cols="72">-- 
***********************************************************************
Thermal Energy System Specialists (TESS), LLC 
David BRADLEY                      2916 Marketplace Drive - Suite 104 
Partner                            Madison, WI 53719 
                                   USA
P: +1.608.274.2577 
F: +1.608.278.1475
E-mail: <a href="mailto:bradley@tess-inc.com" target="_blank">bradley@tess-inc.com</a> 
Web Pages:  <a href="http://www.tess-inc.com" target="_blank">http://www.tess-inc.com</a>    and      <a href="http://www.trnsys.com" target="_blank">http://www.trnsys.com</a>

***********************************************************************</pre>
      </div>
      </div>
    </blockquote>
    </div>
    <br>
    </div>
    </div>
    </div>
    </div>
  </blockquote>
  </div>
  <br>
  </div>
  </div>
</blockquote>
<br>
<pre cols="72">-- 
***********************************************************************
Thermal Energy System Specialists (TESS), LLC 
David BRADLEY                      2916 Marketplace Drive - Suite 104 
Partner                            Madison, WI 53719 
                                   USA
P: +1.608.274.2577 
F: +1.608.278.1475
E-mail: <a href="mailto:bradley@tess-inc.com" target="_blank">bradley@tess-inc.com</a> 
Web Pages:  <a href="http://www.tess-inc.com" target="_blank">http://www.tess-inc.com</a>    and      <a href="http://www.trnsys.com" target="_blank">http://www.trnsys.com</a>

***********************************************************************</pre>
</div></div></div>

</blockquote></div><br></div>