1 / 28

New features in TRNSYS 16

New features in TRNSYS 16 Overview Presentation 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)

libitha
Download Presentation

New features in TRNSYS 16

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. New features in TRNSYS 16 Overview

  2. Presentation 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

  3. We are listening to you! • User Survey in May 2002 • Results presented at the 2002 Belgian users day • Watch for the “user request” icon!

  4. Enhanced TRNSYS Package • Improved usability, better integration • IISiBat  “Simulation studio”, central point • Improved documentation (How To’s) • 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

  5. TRNSYS 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

  6. TRNSYS 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

  7. Standard 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

  8. Standard 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)

  9. TRNSED • 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

  10. DLL Architecture TRNSYS 15 TRNSYS 16

  11. DLL Architecturewhat 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.

  12. DLL Architecturehow 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.

  13. DLL Architecturewhat do I need to do ? • One new line of code must be added to each Type: !DEC$ATTRIBUTES DLLEXPORT :: TYPExxx

  14. DLL Architecturewhat 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.

  15. IISiBat 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

  16. IISiBat 4New equipment-oriented features IISiBat 4 IISiBat 3 Information and ‘real’ flow – engineer’s point of view Information flow – computer scientist’s view f(i) f(i) Input-Output logic Network logic

  17. SimSolNew wizards (1) • Integration of tools from the SimSol project(cf. article by Dominique Caccavelli)

  18. SimSolNew wizards (2) • Interactive mask editor for type 68

  19. SimSolNew wizards (3) • New profile editor for type 14

  20. SimSolNew wizards (4) • Others ?

  21. SimSolNew wizards (5)

  22. IISiBat 4Divers • Possibility to define UNIT numbers • Automatic assignment of Logical Units • Allow to customize deck style • And … ? ________________________________________________________________________________________________________________________________________________________________ ________________________________________________________________________________ ________________________________________________________________________________ ________________________________________________________________________________ ________________________________________________________________________________

  23. cooled ceilingNew Features of TYPE 56 • Integration of a cooled ceiling model in TYPE56 • according to norm for cooled ceiling tests (DIN 4715-1)

  24. cracteristic resistance for the cooled ceiling variable variable from DIN Test cooled 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

  25. Two band model for windowsNew Features of TYPE 56 • currently one band model for windows

  26. Two band model for windowsNew Features of TYPE 56 • New Two band model for windows

  27. z out in k z d d x cooled 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 • => several serial segments are needed. Now these segments are connected • automatically (Tout1=Tin2, Tout2=Tin3, mflow1=mflow2=mflow3)

  28. cooled 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 • ....... • ...... • ......

More Related