Dear all,
I'm programming a new TYPE and I would like to read some inputs from an
external file. If I define a Logical Unit for this file and I put in the
proforma of the Type the path of this file, how do I use the OPEN instruction
within my TYPE ?. I have some doubts, because, as I
Dear TRNSYS Users:
I am trying to understand how Type 107 (Single effect hot water fired absorption chiller) internally works. I have already readen the description from the MathematicalReference included with TRNSYS Manual as well as thesource code file. I think I understandhow it works, but
Dear all,
I'm programming a new TYPE and I would like to read some inputs from an
external file. If I define a Logical Unit for this file and I put in the
proforma of the Type the path of this file, how do I use the OPEN instruction
within my TYPE ?. I have some doubts, because, as I
Dear TRNSYS Users:
I am trying to understand how Type 107 (Single effect hot water fired absorption chiller) internally works. I have already readen the description from the MathematicalReference included with TRNSYS Manual as well as thesource code file. I think I understandhow it works, but
Hi Jordi,
If you use TRNSYS' external file mechanism, the file will actually be opened
by the TRNSYS main program (i.e. you don't need to open it, and thus your
program even doesn't need to know the file name).
You just use the logical file number (LUN) to read from or write to that
file.
You
Bernard,
I think adding the trnlib.lib file to your project will solve that
problem. I assume that you are writing a Type in Fortran and putting
it in an external DLL.
Cheers,
David
At 09:09 6/22/2007, Bernard Tourancheau wrote:
Hi,
I cannot resolve TYPECK, RCHECK and MAIN while compiling
Arnaud,
The Studio doesn't allow a parameter cycle that changes the number
of external files that a proforma needs. Consequently, you have to
have a special proforma that allows for different numbers of pipes
contained in the slab. I will send you a second email containing the
proforma