Professional Documents
Culture Documents
TRNSYS
TRansient SYstem Simulations
Introduction to TRNSYS
N. Blair / W. Keilholz
Introduction to TRNSYS
Introduction to TRNSYS
Why Simulate ?
History of TRNSYS
TRNSYS Concept
Simulation Input
Input File Keywords
Simulation Output
TRNSYS Family of Tools
N. Blair / W. Keilholz
N. Blair / W. Keilholz
N. Blair / W. Keilholz
History of TRNSYS
Division Evaluation et Valorisation Logicielles
N. Blair / W. Keilholz
Cross-Section of Users
Division Evaluation et Valorisation Logicielles
BMW
Electricitie de France
PSA (Peugeot-Citroen)
Introduction to TRNSYS
N. Blair / W. Keilholz
Introduction to TRNSYS
N. Blair / W. Keilholz
SEL :
TRNSHELL, TRNSED
TRNSYS Source Code
CSTB : IISiBat
Graphical Front-end
Introduction to TRNSYS
Distributors
- Belgium
- Germany
- France
- Japan
- Spain
- Sweden
- United States
TRANSSOLAR :
PREBID
Type 56 Development
N. Blair / W. Keilholz
Modular Approach
Division Evaluation et Valorisation Logicielles
Introduction to TRNSYS
N. Blair / W. Keilholz
What is TRNSYS ?
Division Evaluation et Valorisation Logicielles
N. Blair / W. Keilholz
TRNSYS Concepts
Division Evaluation et Valorisation Logicielles
Modular technique:
Large problem --> several smaller problems
General Formulation
Entire problem reduced to :
formulating mathematical models
describing interconnection process
Introduction to TRNSYS
N. Blair / W. Keilholz
System Definition
Division Evaluation et Valorisation Logicielles
Set of Components
Each component represents a physical structure
Introduction to TRNSYS
Collector
Tank
Heat Exchanger
Pump
Controller
N. Blair / W. Keilholz
Introduction to TRNSYS
N. Blair / W. Keilholz
Introduction to TRNSYS
N. Blair / W. Keilholz
Black Box
(Subroutine:
FORTRAN, C, C++, EES, ...)
Introduction to TRNSYS
N. Blair / W. Keilholz
Information Flow
Division Evaluation et Valorisation Logicielles
Introduction to TRNSYS
N. Blair / W. Keilholz
System Diagram
Division Evaluation et Valorisation Logicielles
& , To
m
& , Tset
m
rC
oll
ec
to
Aux. Heater
So
la
&
Q
aux
&
m
, Ti
Introduction to TRNSYS
N. Blair / W. Keilholz
Information Flow
Division Evaluation et Valorisation Logicielles
& S Ta
Ti m
Collector
&
m
To
A
FR
UL
Cp
&
m
Aux. Heater
&
m
Introduction to TRNSYS
To
Tset
Cp
& aux
Q
N. Blair / W. Keilholz
Q& aux
Time
Time
Dependent
Conditions
Time
Quantity
Integrator
Time
Q& aux
Ta Ti S
Q aux
Printer
Print of Q aux
Introduction to TRNSYS
N. Blair / W. Keilholz
Ti
Time Dependent
Conditions
S
Ta
Solar Collector
To
Auxiliary Heater
&
Q
aux
Printer
Q aux
Integrator
Print of Q aux
Introduction to TRNSYS
N. Blair / W. Keilholz
10
Input-Output Scheme
Division Evaluation et Valorisation Logicielles
Unit Number
Ex: How to distinguish if more than one collector??
arbitrarily assigned value for each instance of a
component (normally some pattern is used)
unique for each simulation (only one Unit 10)
Introduction to TRNSYS
N. Blair / W. Keilholz
Ti
UNIT 1 TYPE 9
Time Dependent
Conditions
S
Ta
UNIT 2 TYPE 1
Solar Collector
To
Unit 3 TYPE 6
Auxiliary Heater
UNIT 5 TYPE 25
Printer
Q aux
&
Q
aux
UNIT 4 TYPE 24
Integrator
Print of Q aux
Introduction to TRNSYS
N. Blair / W. Keilholz
11
UNIT X TYPE X
UNIT Y TYPE Y
UNIT Z TYPE Z
Introduction to TRNSYS
N. Blair / W. Keilholz
Equipment Components
ex: chiller, solar collector, pump, fan
N. Blair / W. Keilholz
12
Utility Components
Thermal Storage
Data Reader
Weather Data Generator
Radiation Processor
Time-dependent functions
Load Profile Sequencer
Algebraic Operations
Quantity Integrator
Periodic Integrator
Economics
Psychrometrics
Refrigerant Properties
Convergence Promoter
Unit Conversion Routine
HVAC Equipment
Introduction to TRNSYS
N. Blair / W. Keilholz
Heat Exchangers
Hydronics
Pump
Fan
Mixing Valve/Tee
Pressure Relief Valve
Pipe/Duct
Controllers
Differential Controller
3 Stage Room Thermostat
Microprocessor Controller
Heat Exchanger
Waste Heat Recovery
Introduction to TRNSYS
N. Blair / W. Keilholz
13
Electric Components
Solar Collectors
PV/Thermal Collector
Storage Battery
Regulator/Inverter
Combined PV subsystem
Output Components
Printer
Plotter
Histogram Plotter
Simulation Summarizer
On-Line Printer
Introduction to TRNSYS
N. Blair / W. Keilholz
Non-Standard Components
Division Evaluation et Valorisation Logicielles
ASHRAE Toolkits
HVACSIM+ Models
SEL Student written components
Any user can contribute components here
Introduction to TRNSYS
N. Blair / W. Keilholz
14
Transsolar Non-Standard
Components
z Building Components
Multizone Building Model with transparent Insulation
Interzonal Airflow
Introduction to TRNSYS
N. Blair / W. Keilholz
Transsolar Non-Standard
Components
z HVAC Components
Gas fired Aux. Heater with Flue Condensation
Static and Dynamic Radiator Models
Electric and Gas Driven Compression Heat Pump
z Controller Components
PID-Controller
N. Blair / W. Keilholz
15
TESS Non-Standard
Components (1)
zHVAC Components
2-Speed Fan
5-Stage Room Thermostat
Residential Cooling Coil
Simple Single-Zone Building
10-Port Flow Mixer
10-Port Flow Diverter Heat Exchanger with Hot-Side Bypass
Modified TYPE 3 Fan
Modified TYPE 6 Auxiliary Heater (Simple Furnace)
Introduction to TRNSYS
N. Blair / W. Keilholz
TESS Non-Standard
Components (2)
Utility Components
Introduction to TRNSYS
N. Blair / W. Keilholz
16
Simulation Input
Division Evaluation et Valorisation Logicielles
Weather files
TMY, TMY2, non-standard
Load files
drives the use of energy
Introduction to TRNSYS
N. Blair / W. Keilholz
Weather Files
Division Evaluation et Valorisation Logicielles
TMY2
Recently released (1996) update to TMY
Better data
Available free from NREL website
Readable now, standard mode in TRNSYS 15
Introduction to TRNSYS
N. Blair / W. Keilholz
17
TRNSYS TMY
modified TMY files
unnecessary values removed for size
4 US cities included in standard package
230 US/Canadian Cities available for download at SEL
website
Non-Standard
any data file can be read in
formatted or free formatted file reading (Type9)
Introduction to TRNSYS
N. Blair / W. Keilholz
SIMULATION 0.0
72.0
1.0
Introduction to TRNSYS
16,10
40.
N. Blair / W. Keilholz
18
SIMULATION to tf t
to - is the hour of the year at which the simulation is to begin.
tf - is the hour of the year at which the simulation is to end.
N. Blair / W. Keilholz
END
The END statement must be the last line of a
TRNSYS input file.
Introduction to TRNSYS
N. Blair / W. Keilholz
19
N. Blair / W. Keilholz
PARAMETERS n
where
n is the number of PARAMETERS to follow on the
next line(s).
Normally, this value is the number
required by the component
of
parameters
Example:
The TYPE 3 pump model requires 4 PARAMETERS:
UNIT 1 TYPE 3 PUMP
PARAMETERS 4
100. 4.19 100. 0.2
Introduction to TRNSYS
N. Blair / W. Keilholz
20
INPUTS n
where
n - is the number of INPUTS to follow on the next line(s).
u1,o1
where
ui - is the number of the UNIT to which the ith INPUT is connected.
oi - is the OUTPUT (i.e., the 1st, 2nd, etc.) of UNIT number ui
Introduction to TRNSYS
N. Blair / W. Keilholz
Introduction to TRNSYS
21
Comment
Introduction to TRNSYS
N. Blair / W. Keilholz
EQUATIONS n
NAME1 = ... equation 1 ...
NAME2 = ... equation 2
...
NAMEn = ... equation n
Introduction to TRNSYS
N. Blair / W. Keilholz
22
SOLVER k
where k is 0 or 1.
0 - Successive Substitution
1 - Powells Method
Optional: If a SOLVER card is not present in the TRNSYS input
file, SOLVER 0 is assumed.
Powell Method not normally necessary
Introduction to TRNSYS
N. Blair / W. Keilholz
ASSIGN filename lu
where
filename -
lu -
6
10
11
Introduction to TRNSYS
N. Blair / W. Keilholz
23
TOLERANCES D A
or
TOLERANCES -D -A
Introduction to TRNSYS
N. Blair / W. Keilholz
LIMITS m n p
m
n
p
Introduction to TRNSYS
N. Blair / W. Keilholz
24
Simulation Output
Division Evaluation et Valorisation Logicielles
Introduction to TRNSYS
N. Blair / W. Keilholz
Online Printer
Division Evaluation et Valorisation Logicielles
Introduction to TRNSYS
N. Blair / W. Keilholz
25
Go back on time
Division Evaluation et Valorisation Logicielles
Introduction to TRNSYS
N. Blair / W. Keilholz
Several Onlines
Division Evaluation et Valorisation Logicielles
Online
tabs
Introduction to TRNSYS
N. Blair / W. Keilholz
26
TRNSYS Solvers
Division Evaluation et Valorisation Logicielles
N. Blair / W. Keilholz
N. Blair / W. Keilholz
27
TRNSYS Tools
Division Evaluation et Valorisation Logicielles
IISiBat
graphical front-end for TRNSYS
PREBID
graphical tool for entering building information
TRNSED / TRNSHELL
tool to share simulations with non-users
environment for building TRNSYS-based applications
SimCad
CAD tool for building Simulation (add-on product)
Introduction to TRNSYS
N. Blair / W. Keilholz
PREBID
Division Evaluation et Valorisation Logicielles
Blueprints
.BUI
Building description
PREBID
User Interface
.DCK
IISiBat
Simulation
project
TRNSYS
multizone building
Type 56
.BLD
Building description
.TRN
Transfer coefficients
Introduction to TRNSYS
N. Blair / W. Keilholz
28
Extension: SimCad
Division Evaluation et Valorisation Logicielles
Blueprints
.BUI
SimCad
Building description
PREBID
User Interface
TRNSYS
.DCK
IISiBat
Simulation
project
multizone building
Type 56
.BLD
Building description
.TRN
Transfer coefficients
Introduction to TRNSYS
N. Blair / W. Keilholz
TRNSED (1)
Division Evaluation et Valorisation Logicielles
N. Blair / W. Keilholz
29
TRNSED (2)
Division Evaluation et Valorisation Logicielles
Pop-up menus
Range checking for input values
Provides complete system description
User-friendly format
Dual Unit systems allow display of any
units
Context-Sensitive Help
Introduction to TRNSYS
N. Blair / W. Keilholz
30
File types
Division Evaluation et Valorisation Logicielles
TRNSYS
Input
*.dck
*.trd
*.tpf
*.tmy, *.tm2, *.dat,
*.bui
*.trn,*.bld
w4-lib.dat
*.lib
*.for
*.tmf
Output
*.lst
*.plt, *.out, *.xls,
Introduction to TRNSYS
N. Blair / W. Keilholz
COMIS
Input
*.cif
*.set
*.cmf
*.csm
*.csf
*.daf, *.tmf
Output
Introduction to TRNSYS
*.cof
*.cso
*.cho
*.cer
Standard output
Spreadsheet output files
Histogram output files
Error file
N. Blair / W. Keilholz
31
SimCad
Input
*.dxf
*.ifc
AutoCad drawings
Industry Foundation Class file
Output
*.bui
Introduction to TRNSYS
N. Blair / W. Keilholz
Program
creates
File
Data Flow
*.trd
TRNSED
*.tpf
*.lst
*.out
IISiBat 3
Building
*.dck
TRNSYS
*.plt
*.inf
*.trn
*.rdb
PREBID
*.bld
SimCad
Introduction to TRNSYS
*.bui
IISiBat 2
*.cif
*.cof
COMIS
*.cso
N. Blair / W. Keilholz
32