Hello David,
One more question about the fortran compiler. I installed the
Intel Visual Fortran Compiler v10.0.025. 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).
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).
I'll wait for your answer, cause I haven't really found enough information in the manuals.
Thanks one more time!
Carlos
PRIEN, Universidad de Chile
On Tue, Oct 7, 2008 at 11:37 AM, David Bradley
<bradley@tess-inc.com> wrote:
Carlos,
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.
Kind regards,
David
Carlos Flores wrote:
To be more clear David,
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.
So, I want to modify it a bit and therefore, create a new
proforma that would be a modification of the type 396.
So, in this context... how do I create my new proforma, given
this fortran source code?
Thanks again, best regards
Carlos
PRIEN, Universidad de Chile
On Tue, Oct 7, 2008 at 12:03 PM, Carlos
Flores
<karlitro@gmail.com>
wrote:
Hey David,
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?
Wait for your answer, thanks!
Carlos
On Tue, Oct 7, 2008 at 11:12 AM, David
Bradley
<bradley@tess-inc.com>
wrote:
Carlos,
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.
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.
Kind regards,
David
Carlos Flores wrote:
Hi there,
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).
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).
Thanks for the time,
Carlos
--
***********************************************************************
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: bradley@tess-inc.com
Web Pages: http://www.tess-inc.com and http://www.trnsys.com
***********************************************************************
--
***********************************************************************
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: bradley@tess-inc.com
Web Pages: http://www.tess-inc.com and http://www.trnsys.com
***********************************************************************