[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] Include statement



Dear Mohammad,

Try replacing the keyword 'constants' with 'equations'.
Please let me know if this works.
Best regards,

Diego


mohammad abdunnabi wrote:
Dear All;

I've used INCLUDE statement in my Trnedit program, however, I have encoutered some problems and I have some enquiry about it: the first thing that I have used file (e.g file.inc) opend by Notepad. secondly, in the input file, I wrote the following statement

Constants 3
Dr = X1
TK = X2
BTA=X3

where X1,X2 and X3 should be read from the file included in the include statement (file.inc). and the file.inc has the following shape:

X1= 0.005
X2= 360
X3= 45

the error statement in the list file is as follows:
The referenced variable used in this equation has not been defined in the TRNSYS input file. The equation begins with the string in "reported information"
    Reported information  : DR=X1=

Please, does the procedure I have followed is right or wrong and any help will be appreciated

Thanks in advance

M. Abdunnabi



____________________________________________________________________________________
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091

_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@engr.wisc.edu
https://www.cae.wisc.edu/mailman/listinfo/trnsys-users


--
Diego A. Arias
TRNSYS Coordinator
Solar Energy Laboratory
University of Wisconsin - Madison
1500 Engineering Drive
Madison, WI 53706