| Introduction | |
|
One of the cornerstones of the historical use of TRNSYS
is the TRNEdit program. With TRNSYS version 13.2 and earlier, the only items
distributed to TRNSYS users were the Fortran source code and the manual
containing a description of each Fortran component. This left the user to
provide the Fortran compiler, an editor to work with input files and view
output files, a method for keeping track of all the necessary files, a
plotting package for analyzing output, etc. The user also had to type in all
the information contained in the input file. With TRNSYS 14.1 for DOS, several
of these problems and inconveniences were addressed by including several
utility programs with the TRNSYS package. In later versions, graphical
interfaces have been added to the point that today, the TRNSYS Studio offers
the standard method of creating a TRNSYS simulation. However, there are still
a number of tasks that are more easily accomplished by direct edition of the
input file and so TRNEdit, a dedicated text editor for TRNSYS is still
provided. As with the TRNSYS Simulation Studio, TRNEdit brings together all of the tasks associated with building, running, and analyzing a TRNSYS simulation in a single program. TRNEdit includes a full-featured editor for writing and viewing TRNSYS input and output files. TRNEdit can also perform parametric TRNSYS simulations, varying the values of one or more system variables between runs, and store all of the results. Finally, TRNEdit can plot data from the TRNSYS simulation output. The following figure shows an example of a TRNSYS input file edited in TRNEdit. |
|
|
|
| Parametric Studies in TRNEdit | |
|
Often TRNSYS users wish to explore the effects of changes in several system parameters on system performance. From the
Parametrics menu of TRNEdit, the user may select any of the TRNSYS variables assigned as constants in the TRNSYS input
file and add them to a parametric table as shown below: |
|
|
|
|
After specifying the number of parametric table runs and the values of the selected TRNSYS variables, the parametric table is run
and a complete TRNSYS simulation is completed for each row (see below). Upon completion of the TRNSYS calculations, the results of
the parametric table runs may be plotted and the results assessed easily. |
|
|
|
| Plotting Simulation Results in TRNEdit | |
|
TRNEdit offers extensive plotting capabilities for TRNSYS simulation results. Following a simulation, plots may be generated of any
variable over time or two variables as functions of one another. Complete plotting options include overlaying of plots from one or
more output files, plot proportion adjustment, colors, fonts, and more. As always, any variable or parameter in the TRNSYS simulation
may be written to a file with any desired frequency. These text files may then be imported into any external analysis software. |
|
|
|