[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[TRNSYS-users] TRNSED file creation - falty source code generated
Dear All,
I'm currently working in the creation
of some TRNSED files from some energy systems modelled by me. After creating
the trd file and trying to run the simulation through TRNSEDIT, some systems
would do it smoothly, some would present some warnings. An example
is shown below:
*** Fatal Error at time :
0.000000
Generated by Unit
: Not applicable or not available
Generated by Type
: Not applicable or not available
TRNSYS Message
13 : The TRNSYS Processor has reported an error while trying to
process EQUATIONS. The reported error was that an equal sign (=) did not
follow the variable name. One common cause of this error is to have fewer
equations that that specified in the EQUATIONS card. Please check the input
file and re-run the simulation
Reported information :
OF
For this specific case I identified
that when the trd file was created, the list file was being written as
bellow:
*
* Model "Type661"
(Type 661)
*
*
*|*
*|* *** Model Type661 (Type
661, Unit 27)
*|*
CONSTANTS 5
*|*PARAMETERS
VALUES
UNITS
NUMBEROF= 2.0000000000000E+00
*|Number of inputs
|-|-|0|1|1|50.000|1000
OFTIMEST=1
of timesteps to hold value-1
|-|-|0|1|0|25.000|1000
INITIALF= 0.0000000000000E+00
*|Initial function value-1
|any|any|0|1|-1000000.00000|1000000.00000|1000
OFTIMES1=1
of timesteps to hold value-2
|-|-|0|1|0|25.000|1000
INITIAL1= 0.0000000000000E+00
*|Initial function value-2
|any|any|0|1|-1000000.00000|1000000.00000|1000
*
UNIT 27 TYPE 661
Type661
*$UNIT_NAME Type661
*$MODEL .\Controllers
Library (TESS)\Delayed Inputs\Type661.tmf
*$POSITION 553 186
*$LAYER Main #
I put the bit that is causing problem
in bold. To solve the issue i just had to add "*|"
before that line and every thing would work ok.
Has anyone experienced any similar problem
of the trd file being generated with incomplete lines? (like missing the
*|)
Is there any solution to it other than manually finding the issue and fixing?
Kind Regards
Lucas Lira
**********************************************************************
The information in this e-mail is confidential and may be legally privileged. It may not represent the views of Scottish and Southern Energy Group. It is intended solely for the addressees. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any unauthorised recipient should advise the sender immediately of the error in transmission. Unless specifically stated otherwise, this email (or any attachments to it) is not an offer capable of acceptance or acceptance of an offer and it does not form part of a binding contractual agreement. Scottish Hydro Electric, Southern Electric, SWALEC, Atlantic Electric and Gas, S+S and SSE Power Distribution are trading names of the Scottish and Southern Energy Group.
Scottish and Southern Energy plc, Inveralmond House, 200 Dunkeld Road, Perth, Perthshire, PH1 3AQ. Registered in Scotland Number. 117119
**********************************************************************