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

Re: [TRNSYS-users] TRNbuild and wall materials



Aisha,
  It can be done but it requires some manual modifications of the TRNSYS input file (*.dck) outside of the Studio. Below are the basic steps that you need to follow:

1. first, you need to make a *.b17 file for each one of the cases that you want to run in your parametric study. Save each one with a different name.
2. Open the *.dck in TRNEdit and find the ASSIGN statement that corresponds to the *.b17 file. It should look something like the following:

ASSIGN "building\DHS_Baseline(v2).b17" 31

3. Following the syntax given, make an ASSIGN statement for each of the cases that you want to run. Give a different number to each one but search through the *.dck and make sure that the numbers that you choose are not used in another ASSIGN statement. For example:

ASSIGN "building\DHS_Baseline(v2)_case1.b17" 31
ASSIGN "building\DHS_Baseline(v2)_case2.b17" 32
ASSIGN "building\DHS_Baseline(v2)_case3.b17" 33
ASSIGN "building\DHS_Baseline(v2)_case4.b17" 34


4. Find the section that defines Type56. It might look something like:

UNIT 5 TYPE 56     DHS ICE
*$UNIT_NAME DHS ICE
*$MODEL .\Loads and Structures\Multi-Zone Building\Type56.tmf
*$POSITION 479 301
*$LAYER Main #
*$#  
PARAMETERS 3
31        ! 1 Logical unit for building description file (.bui)
0        ! 2 Star network calculation switch


5. you need to add a CONSTANTS statement before the definition of Type56 so that the logical unit number containing the building description file is given by a variable name instead of by a numerical value. You will have something like the following (changes are noted in red):

CONSTANTS 1
LU_56 = 31


UNIT 5 TYPE 56     DHS ICE
*$UNIT_NAME DHS ICE
*$MODEL .\Loads and Structures\Multi-Zone Building\Type56.tmf
*$POSITION 479 301
*$LAYER Main #
*$#  
PARAMETERS 3
LU_56        ! 1 Logical unit for building description file (.bui)
0        ! 2 Star network calculation switch


6. lastly, create a parametric table in TRNEdit that has as many runs a you have cases and which redefines the value of the constant LU_56 for each run according to the numbers that you chose for your ASSIGN statements in step 3.
Kind regards,
 David


On 11/28/2014 08:42, Ayesha Mohammed Al Qubaisi wrote:

Dear all,

 

I would like to do a parametric study in which I can change the wall materials defined in TRNbuild and see the change on the building loads.( Cooling loads)

 

can someone let me know how to do this easily ?

 

For the meantime, I do this manually, by changing it in TRNbuild every time.

 

Please let me know ?

 

Thank you for your time,

Aisha



_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@lists.onebuilding.org
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org

-- 
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
d.bradley@tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com