Title: Overview
1New features in TRNSYS 16
2Presentation Outline
- This presentation (Michaël)
- TRNSYS package
- Solver, utility routines (KERNEL)
- Components (TYPES)
- Creating distributable applications (TRNSED)
- More details on
- The new DLL architecture (Dave)
- IISiBat 4 (Werner)
- Multizone Building PREBID / Type 56
(Torsten) - Add-ons
- TRNFLOW, SimCad, TRNSYSLite, TESS Libraries
3We are listening to you!
- User Survey in May 2002
- Results presented at the 2002 Belgian users day
- Watch for the user request icon!
4Enhanced TRNSYS Package
- Improved usability, better integration
- IISiBat ? Simulation studio, central point
- Improved documentation (How Tos)
- Project templates
- New applications in IISiBat (e.g. interactive
data input) - Up-to-date documentation
- Latest version always available on the TRNSYS web
site - You will still get the printed manuals
- Improved error handling
- More flexibility in the TRNSYS Kernel
- IISiBat will tell you about warnings / errors
5TRNSYS 16 Kernel
- Improved numerical solver
- New solver with numerical relaxation
- Improved numerical precision
- Double precision variables
- Small time steps (1 sec)
- Clean coding practices
- Implicit none
- Data modules instead of common blocks
- New error message handling
- Separate routine
- Types send Error number OR string
6TRNSYS 16 Kernel (2)
- DLL architecture
- Add a new component drop a DLL in a folder
- Types written in any language!
- Call to external programs
- Call to EES
- More than one component
- Call to Matlab
7Standard Component Library
- Combined Data Reader/Solar Radiation Processor
- Very frequent error cause
- Hydrogen Systems Components
- HYDROGEMS Library included in standard package
- Improvements to HYDROGEMS
- New SOFC model
- Improved thermal modeling
- Improved control library
- PID controller
- 5-stage thermostat
8Standard Component Library
- New HVAC components
- Proportional Furnace
- Variable Speed Pump
- New Absorption Chiller Model
- Etc.
- Enhancements to existing components
- More flexibility for data reading
- More robust Storage Tank model (Type 60)
9TRNSED
- Improved navigation inside the TRNSED file
- Multiple windows or HTML-like anchors
- Clickable areas in pictures
- Improved usability for developers
- Menus to insert TRNSED features (e.g. check box)
- Recallable default values
- Interaction between TRNSED variables
- E.g. selecting a line in a pull-down menu will
change another displayed variable
10DLL Architecture
TRNSYS 15
TRNSYS 16
11DLL Architecture what is the advantage ?
- Memory issue trnlib.dll is getting too big.
- Only load the Types that are needed.
- Many non-standard libraries.
- Transsolar no-standard types, TESS Libraries,
Hydrogems, User Components. - Allows for easier updates.
- Non Fortran Language Types may be used.
- Shorter recompilation time.
12DLL Architecture how does it work ?
- After reading the deck, TRNSYS calls subroutine
LoadLibrary. - LoadLibrary searches the UserLib directory for
DLLs and loads any that are found. - LoadLibrary searches each DLL for exported
subroutines that have Type in their name. - LoadLibrary compiles a list of pointers to each
exported subroutine. - Instead of calling Types, TRNSYS calls each
pointer in the list.
13DLL Architecture what do I need to do ?
- One new line of code must be added to each Type
!DECATTRIBUTES DLLEXPORT TYPExxx
14DLL Architecture what are the disadvantages ?
- Setting up a Compaq Visual Fortran workspace is
more complicated. - TRNSYS now comes with a ready made workspace.
- Debugging in the Developer Studio is more
complex. - Be careful of which project is active when you
recompile. - You can only set breakpoints in the active
project.
15IISiBat 4Plans for TRNSYS 16
- New, DLL-based software architecture optimized
for Windows XP/ME (but still supporting Windows
95, NT, 2000) - New equipment-oriented features
- Better integration of the building model (better
connection with PREBID / TYPE 56) - New connection editor
- New wizards
- New developer in the team
Paul SETTE
16IISiBat 4 New equipment-oriented features
IISiBat 3
IISiBat 4
Information and real flow engineers point
of view
Information flow computer scientists view
f(i)
f(i)
Input-Output logic
Network logic
17SimSol New wizards (1)
- Integration of tools from the SimSol project(cf.
article by Dominique Caccavelli)
18SimSol New wizards (2)
- Interactive mask editor for type 68
19SimSol New wizards (3)
- New profile editor for type 14
20SimSol New wizards (4)
21SimSol New wizards (5)
22IISiBat 4Divers
- Possibility to define UNIT numbers
- Automatic assignment of Logical Units
- Allow to customize deck style
- And ?
__________________________________________________
________________________________________________
__________________________________________________
____________ ____________________________________
____________________________________________ ____
__________________________________________________
__________________________ ______________________
__________________________________________________
________ ________________________________________
________________________________________
23cooled ceilingNew Features of TYPE 56
- Integration of a cooled ceiling model in TYPE56
- according to norm for cooled ceiling tests (DIN
4715-1)
24cooled ceiling New Features of TYPE 56
- advantages
- integrated in TYP56
- heat exchange with zone is taken into account
- heat transfer to the fluid is taken into account
- Library of cooled ceilings tested and available
on the market
25Two band model for windows New Features of TYPE
56
- currently one band model for windows
26Two band model for windows New Features of TYPE
56
- New Two band model for windows
27cooled ceiling New Features of TYPE 56
- automatic segmentation (internal Loop input
/output for TYPE56)
- minimum specific mass flow needed for linear
approximation of e-function - gt several serial segments are needed. Now these
segments are connected - automatically (Tout1Tin2, Tout2Tin3,
mflow1mflow2mflow3)
28cooled ceiling New Features of TYPE 56
- Demands from the user survey
- Include balance checks for outputs
- improve Libraries (for schedules, gains)
- rename or delete a type that has been created
- .......
- ......
- ......