[TRNSYS-users] parametric studies

David Bradley bradley at tess-inc.com
Wed May 2 06:48:20 PDT 2007


Bertrand,
   You will have to make the change from TRNEdit. 
First, generate your *.dck file from the Studio, 
then open it using TRNEdit. Find the solar 
collector. If you used a Type1a solar collector, 
the section of the *.dck might look like the following:

UNIT 2 TYPE 1    Type1a
*$UNIT_NAME Type1a
*$MODEL .\Solar Thermal Collectors\Quadratic 
Efficiency Collector\No Incidence Angle Modification\Type1a.tmf
*$POSITION 115 151
*$LAYER Main #
PARAMETERS 9
1               ! 1 Number in series
2.0             ! 2 Collector area
4.190           ! 3 Fluid specific heat
1               ! 4 Efficiency mode
50.0            ! 5 Tested flow rate
0.7             ! 6 Intercept efficiency
15              ! 7 Efficiency slope
0.0             ! 8 Efficiency curvature
1               ! 9 Optical Mode 1
INPUTS 4
0,0             ! [unconnected] Inlet temperature
0,0             ! [unconnected] Inlet flowrate
0,0             ! [unconnected] Ambient temperature
0,0             ! [unconnected] Incident radiation
*** INITIAL INPUT VALUES
20.0 100.0 10.0 0.

you need to make two changes. First, give the 
"collector area" parameter a name instead of a 
value and second, create a constant that sets the 
name to a value. The end result would be: (NOTE: 
I have highlighted my changes in red)

CONSTANTS 1
CollArea = 2.0

UNIT 2 TYPE 1    Type1a
*$UNIT_NAME Type1a
*$MODEL .\Solar Thermal Collectors\Quadratic 
Efficiency Collector\No Incidence Angle Modification\Type1a.tmf
*$POSITION 115 151
*$LAYER Main #
PARAMETERS 9
1               ! 1 Number in series
CollArea        ! 2 Collector area
4.190           ! 3 Fluid specific heat
1               ! 4 Efficiency mode
50.0            ! 5 Tested flow rate
0.7             ! 6 Intercept efficiency
15              ! 7 Efficiency slope
0.0             ! 8 Efficiency curvature
1               ! 9 Optical Mode 1
INPUTS 4
0,0             ! [unconnected] Inlet temperature
0,0             ! [unconnected] Inlet flowrate
0,0             ! [unconnected] Ambient temperature
0,0             ! [unconnected] Incident radiation
*** INITIAL INPUT VALUES
20.0 100.0 10.0 0.

Finally, select "New Table" from the 
"Parametrics" menu in TRNEdit. On the left, you 
will see a list of all the variables that you can 
add to the table. Move the ones that you want 
over to the right hand side and set the number of 
different runs that you want to make. A table 
should appear. Once you have set the values of 
CollArea, save the table and select "Run Table" from the TRNSYS menu.

Cheers,
  David


At 06:07 5/2/2007, tchanche fankam bertrand wrote:
>Dear all,
>i am trying to perform a parametric study.
>i would like to know how to change a parameter 
>into constant and vary  it for a parametric study.
>eg. the collector area
>Cheers,
>
>
>------------------------
>TCHANCHE FANKAM Bertrand
>
>C/O SUH Christopher
>22 kadmeas-BOTANIKOS
>Athens, GREECE
>mobile:+30 69 42 95 59 52
>
>
>Découvrez une nouvelle façon d'obtenir des 
>réponses à toutes vos questions ! Profitez des 
>connaissances, des opinions et des expériences 
>des internautes sur 
><http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>Yahoo! 
>Questions/Réponses.
>_______________________________________________
>TRNSYS-users mailing list
>TRNSYS-users at engr.wisc.edu
>https://www.cae.wisc.edu/mailman/listinfo/trnsys-users

****************************************************************************************
Thermal Energy System Specialists (TESS), LLC
David BRADLEY                           2916 Marketplace Drive - Suite 104
Partner                                        Madison, WI 53719
Phone: (608) 274-2577 USA
Fax: (608) 278-1475
E-mail: bradley at tess-inc.com
Web Pages:  http://www.tess-inc.com     and      http://www.trnsys.com

"Providing software solutions for today's energy engineering projects"
****************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20070502/eab7f512/attachment-0005.htm>


More information about the TRNSYS-users mailing list