[TRNSYS-users] Using multiple external files at different periods
David BRADLEY
d.bradley at tess-inc.com
Wed May 27 06:35:27 PDT 2015
Ines,
I would be surprised if you need to change CONTAM files
mid-simulation. If you are using the Type98 coupling then you should be
able to control the opening factor for the various airflow paths through
additional inputs to the Type98 model. You can do the same with the
Type97 coupling (i.e. define controllable openings). Instructions for
doing so can be found in the Type97 section of the
04-MathematicalReference manual.
It is possible to select different building files for a parametric
run but in order to do so, you need to edit the *.dck manually and add
some lines. The basic steps are as follows:
1. make sure that all of your building files have exactly the same
inputs and outputs.
2. open the *.dck in TRNEdit and find the line that assigns the *.b17
file an integer value. It should look something like: ASSIGN
"MyBuilding_v1.b17" 31
3. copy that line and paste it as many times as you have different
versions of the *.b17. Change the name of the *.b17 file each time and
choose a unique integer each time. You might end up with:
ASSIGN "MyBuilding_v1.b17" 31
ASSIGN "MyBuilding_v2.b17" 32
ASSIGN "MyBuilding_v.3b17" 33
ASSIGN "MyBuilding_v.4b17" 34
NOTE: it is very important that you search through the *.dck and make
sure that there are no other ASSIGN statements that refer to the same
integers that you've chosen. You can choose any integer between 11 and
999. Make certain they're unique or else you'll get a fatal error when
you run the simulation.
4. Find the definition of Type56, specifically the definition of
Type56's first parameter. It might look like:
...
PARAMETERS 3
31 ! 1 Logical unit for building description file (.bui)
...
change it to look like:
...
PARAMETERS 3
BLDG_LU ! 1 Logical unit for building description file (.bui)
...
5. add the following lines to the *.dck
CONSTANTS 1
BLDG_LU = 31
6. Choose "new table" from the "Parametrics" menu and select the BLDG_LU
variable. Enter the values of the integers you chose in step 3 in each
row of the parametric table.
kind regards,
David
On 5/26/2015 4:24 PM, Ines Khalifa wrote:
> Actually I am performing simulations coupling TRNSYS with CONTAM and I am wondering if it's possible to use different air files over the year, so that I can change ventilation strategy depending on the season for example.
> Furthermore, for a parametric run, is it possible to use different building files ?
> Thanks a lot,
> Ines
> ------------------------------------------------------------------------
> Date: Tue, 26 May 2015 14:41:11 -0500
> From: d.bradley at tess-inc.com
> To: trnsys-users at lists.onebuilding.org; khalifa_ines at hotmail.fr
> Subject: Re: [TRNSYS-users] Using multiple external files at different
> periods
>
> Ines,
> How to do this depends a bit on what the external files are being
> used for. Are you reading the data using a Type9 or is it that you
> want to use different performance data for a given component at some
> times of the year?
> kind regards,
> David
>
>
> On 5/26/2015 11:28 AM, Ines Khalifa wrote:
>
> Hello all,
>
> I am asking if there is a way to run a deck using multiple external files at different periods of the year.
>
> Thanks for help,
> Ines
>
>
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at lists.onebuilding.org <mailto:TRNSYS-users at 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 at tess-inc.com <mailto:d.bradley at tess-inc.com>
>
> http://www.tess-inc.com
> http://www.trnsys.com
--
***************************
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 at tess-inc.com
http://www.tess-inc.com
http://www.trnsys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20150527/8f50d1b3/attachment.htm>
More information about the TRNSYS-users
mailing list