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
***********************************************************************
|