[TRNSYS-users] Reading data from an external file in a new TYPE

2007-06-25 Thread jordi cipriano
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

[TRNSYS-users] Type 107 Model

2007-06-25 Thread barbate d.
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

[TRNSYS-users] Reading data from an external file in a new TYPE

2007-06-25 Thread jordi cipriano
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

[TRNSYS-users] Type 107 Model

2007-06-25 Thread barbate d.
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

Re: [TRNSYS-users] Reading data from an external file in a new TY PE

2007-06-25 Thread keilholz, werner
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

Re: [TRNSYS-users] error lnk2001 unresolved ext symbol

2007-06-25 Thread David Bradley
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

Re: [TRNSYS-users] Type705 data file for the path

2007-06-25 Thread David Bradley
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