Lecture 2: Simulating Buildings and EnergyPlus Auxiliary Programs Material prepared by GARD Analytics, Inc. and University of Illinois at Urbana-Champaign.

Slides:



Advertisements
Similar presentations
1 NatQuery 3/05 An End-User Perspective On Using NatQuery To Extract Data From ADABAS Presented by Treehouse Software, Inc.
Advertisements

WHAT IS STEAM PRO? Thermoflow, Inc.
DOE-2 Overview and Basic Concepts. Background  US public domain programs from 1970s Post Office program; NECAP (NASA energy- cost analysis program);
Lecture 4: Simulation Control, Location, and Weather Input Material prepared by GARD Analytics, Inc. and University of Illinois at Urbana-Champaign under.
Lecture 19: HVAC Outside Air Systems and Modeling Guidelines Material prepared by GARD Analytics, Inc. and University of Illinois at Urbana-Champaign under.
Programming with Microsoft Visual Basic th Edition
MEPO Training MEPO Database Access Training Presentation Copyright 2011 Rodger B. Fluke, MPA.
Lecture 22: Primary System Loops in EnergyPlus
Lecture 3: Output—Reports, Variables, and Meters Material prepared by GARD Analytics, Inc. and University of Illinois at Urbana-Champaign under contract.
Lecture 7: Building Modeling Questions Material prepared by GARD Analytics, Inc. and University of Illinois at Urbana-Champaign under contract to the National.
Computer Laboratory 1: Installing and Using EnergyPlus Material prepared by GARD Analytics, Inc. and University of Illinois at Urbana-Champaign under contract.
EGR 106 – Week 2 – Arrays & Scripts Brief review of last week Arrays: – Concept – Construction – Addressing Scripts and the editor Audio arrays Textbook.
STEAM PRO is a highly automated system design tool – a heat balance program specifically intended for design of steam power cycles.  Use STEAM PRO to.
Lecture 17: VAV and Terminal Reheat Systems Material prepared by GARD Analytics, Inc. and University of Illinois at Urbana-Champaign under contract to.
 2004 Prentice Hall, Inc. All rights reserved. Chapter 25 – Perl and CGI (Common Gateway Interface) Outline 25.1 Introduction 25.2 Perl 25.3 String Processing.
Lecture 15: Air Primary Loops and Controls Material prepared by GARD Analytics, Inc. and University of Illinois at Urbana-Champaign under contract to the.
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
A First Program Using C#
Lecture 1: An Overview of Simulation and EnergyPlus Material prepared by GARD Analytics, Inc. and University of Illinois at Urbana-Champaign under contract.
Lecture 16: Zone Air Paths and Air Distribution Units
Lecture 5: Building Envelope Description (Part I)
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 3rd Edition Copyright © 2009 John Wiley & Sons, Inc. All rights.
Oracle Data Integrator Procedures, Advanced Workflows.
Introduction to RtReports – Tony Fenn & Chris Nelson Introduction to RtReports Chris Nelson - Senior Developer Tony Fenn - Product Manager.
Creating Graphical User Interfaces (GUI’s) with MATLAB By Jeffrey A. Webb OSU Gateway Coalition Member.
Chapter 3 MATLAB Fundamentals Introduction to MATLAB Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Genesys Shell development Input-side development progress.
Visual Basic for Application - Microsoft Access 2003 Programming applications using Objects.
JavaScript Introduction and Background. 2 Web languages Three formal languages HTML JavaScript CSS Three different tasks Document description Client-side.
HEI/OCAN College Access Program Data Submissions.
Emdeon Office Batch Management Services This document provides detailed information on Batch Import Services and other Batch features.
ASP.NET Programming with C# and SQL Server First Edition
Development Environment
Introduction to the new robust security system from SCC.
Chapter 2: The Visual Studio .NET Development Environment
Multi-Axis Tabular Loads in ANSYS Workbench
Information Delivery Manuals: Process Mapping
Project Objectives Publish to a remote server
RSA Model Builder B-Spec Review
SQL and SQL*Plus Interaction
Creating LOVs and Editors
Chapter 13 Solver .out File and CCL
Oracle Subledger Accounting
Data Virtualization Tutorial… CORS and CIS
Spreadsheet-Based Decision Support Systems
Different Types of Testing
Introduction to Triggers
Inside Module 10 Editing TurboIMAGE Datasets Page
Week 12 Option 3: Database Design
Software Testing With Testopia
Data File Import / Export
Scripts & Functions Scripts and functions are contained in .m-files
Microsoft Access Illustrated
Intro to PHP & Variables
Statistical Analysis with Excel
Designing and Debugging Batch and Interactive COBOL Programs
Statistical Analysis with Excel
Topics Introduction to File Input and Output
Exploring Microsoft® Access® 2016 Series Editor Mary Anne Poatsy
Two methods to observe tutorial
CISC101 Reminders Assignment 3 due next Friday. Winter 2019
Java IDE Dwight Deugo Nesa Matic Portions of the notes for this lecture include excerpts from.
Rational Publishing Engine RQM Multi Level Report Tutorial
Chapter 1: Programming Basics, Python History and Program Components
M. Kezunovic (P.I.) S. S. Luo D. Ristanovic Texas A&M University
Lecture 13 Teamwork Bryan Burlingame 1 May 2019.
Topics Introduction to File Input and Output
CHAPTER 6 Testing and Debugging.
Presentation transcript:

Lecture 2: Simulating Buildings and EnergyPlus Auxiliary Programs Material prepared by GARD Analytics, Inc. and University of Illinois at Urbana-Champaign under contract to the National Renewable Energy Laboratory. All material Copyright U.S.D.O.E. - All rights reserved

2 Importance of this Lecture to the Simulation of Buildings  Simulation of buildings requires 3 main steps: Creation of Building Model (Input Definition) Utilizing a Simulation Program (Running/Debugging Input) Analysis of Simulation Results (Output)  Most of the lectures in this course focus on the first of the three steps since this is where most of your time will be spent  However, using a program and understanding its output is as critical to the proper use of simulation  This lecture focuses on the last two steps since they will be useful throughout the semester and will restrict the discussion to the program we are using this semester: EnergyPlus

3 Purpose of this Lecture  Gain an understanding of the following EnergyPlus related issues Simulation Types EnergyPlus Files Auxiliary Programs EnergyPlus Output Handling Errors in Input

4 Simulation Types  Peak Thermal Load Calculation Simulation run for an extreme (design) day or several design days Generally used for determining sizing of equipment such as fans, chillers, boilers, etc.  Building Energy Analysis Simulation run for an extended period of time: a month, season, year, or several years using weather files Includes the building response to the entire range of conditions expected at a particular site Helps evaluate the energy cost of the building over longer periods of time

5 EnergyPlus Files  Let EP-Launch or RunEPlus.bat worry about getting files into the right place  Simple, console app concept Energy+.idd – constant Energy+.ini – working file paths In.idf – input data file In.epw – weather data  Input files in working directory  Execution “from” working directory

6 Files Overview  Simple ASCII files  Simple input format (self-contained)  User-defined output (comma separated data) can be interpreted by many programs Spreadsheets Databases Custom Programs Note: be advised that the use of some word processing programs to create input files may result in errors due to their use of non-simple carriage returns. Notepad works well if one is trying to create input files “by hand”.

7 EP-Launch  Assistance in running EnergyPlus  Reads EPL-Run.bat file  Creates RunEP.bat file and executes  Displays run status (eplusout.end)  Can view all input and output files  Several user options available

8 EP-Launch Select and edit input file Select weather file View output files Run EnergyPlus Access EnergyPlus documentation

9 EP-Launch Setup Select desired text editor program (defaults to.txt editor) Select drawing viewer for DXF files (VoloView Express is free from Select desired spreadsheet program to view csv files

10 EP-Launch Options Open only ERR and EIO output files Pause batch file after EnergyPlus execution to read traceback if crash Wide format for long path names

11 EP-Launch Alternate Layout

12 IDF Editor  Not really an “interface”  Reads IDD  Structures data entry based on IDD  Writes objects in IDD order e.g. Run Period, Design Days, all Materials, all Constructions, all Zones, all Surfaces Files generated by other means will be rearranged  CANNOT read IMF files (see EP-Macro)  Some tasks must be done in text editor

13 IDF Editor Select object type from class list Objects shown here for selected class Pull-down list of keywords or references when applicable Description of entry, max and min when applicable

14 WinEPDraw  Creates dxf drawing  Does not run simulation  *.epderr file reports errors  Run independently  EP-Launch drawing button will run if dxf file not present dxf file older than idf

15 Results  ERR file contains warnings and errors (always look here!)  EIO file contains additional EnergyPlus results, including verification of location, environment, summary reports, etc.  View menu – ERR/EIO/BND only (F2)  RDD file lists the output variables available from the run

16 Results (cont’d)  ESO file contains the raw output from the run (users rarely look here)  CSV versions of ESO and MTR files can be opened by clicking on the “Spreadsheet” button Can be imported into any spreadsheet program that accepts the CSV format  DXF file can be viewed by clicking on the “Drawing File” button Can be imported into any CAD program that accepts the DXF format

17 Input Error Detection  Input Processor checks field type, max, min, required fields, based on IDD specifications  Inputs are not processed sequentially  Simulation modules perform additional checks  Certain errors will terminate program before all input has been retrieved by simulation modules  Previously undetected errors may be reported after fixing other errors

18 Error Diagnostics  ERR file reports any errors that may have occurred during the simulation Error messages may be generated during its input phase or during the simulation Error messages usually identify specific object type and name related to the error – Use search command to locate error in IDF file

19 Error Diagnostics (cont’d)  Four levels of error severity: Message – Informative. No action required. Warning – Take note. Fix as applicable. Severe – Should fix. Program may abort. Fatal – Program will abort

20 Error Diagnostics (cont’d)  Running EnergyPlus with CVBbRh.idf results in the following Err file: Program Version,EnergyPlus, Version ** Warning ** Version in IDF="1.1" not the same as expected="1.1.1" ** Warning ** World Coordinate System selected. Some Zone Origins are non-zero. ** ~~~ ** These will be used in Daylighting:Detailed calculations but not in normal geometry inputs. ************* Testing Individual Branch Integrity ************* All Branches passed integrity testing ************* Testing Individual Supply Air Path Integrity ************* All Supply Air Paths passed integrity testing ************* Testing Individual Return Air Path Integrity ************* All Return Air Paths passed integrity testing ************* No node connection errors were found. ** Warning ** The following lines are "Orphan Objects". These objects are in the idf ** ~~~ ** file but are never obtained by the simulation and therefore are NOT used. ** ~~~ ** See InputOutputReference document for more details. ************* Object=FLUIDNAMES=WATER ************* Object=FLUIDPROPERTYTEMPERATURES=GLYCOLTEMPERATURES ************* Object=FLUIDPROPERTYCONCENTRATION=WATER ************* EnergyPlus Completed Successfully-- 3 Warning; 0 Severe Errors; Elapsed Time=00hr 00min 06sec Only messages and warnings—EnergyPlus ran successfully

21 Error Diagnostics (cont’d)  Typo in file BUILDING, NONE, !- Building Name E+00, !- North Axis {deg} Suburbs, !- Terrain E-02, !- Loads Convergence Tolerance Value {W} , !- Temperature Convergence Tolerance Value {deltaC} FullInteriorAndExterior; !- Solar Distribution abcdefg SOLUTION ALGORITHM, CTF; !- SolutionAlgo Typo here

22 Error Diagnostics (cont’d)  Err file error message Program Version,EnergyPlus , 4/23/2003 9:40 AM ************* IDF Line=28 abcdefg ** Severe **, or ; expected on this line

23 Error Diagnostics (cont’d)  *.audit file for context  Search for error flag 20 BUILDING, 21 NONE, !- Building Name E+00, !- North Axis {deg} 23 Suburbs, !- Terrain E-02, !- Loads Convergence Tolerance Value {W} , !- Temperature Convergence Tolerance Value {deltaC} 26 FullInteriorAndExterior; !- Solar Distribution abcdefg ** Severe **, or ; expected on this line 29 Typo here Error message here

24 Error Diagnostics (cont’d)  Crashes EP-Launch indicates that EnergyPlus crashed EP-Launch  View Menu  Pause During Simulation - adds a pause to view traceback Name of failed routine may provide a clue to where the problem lies, e.g., CalcSimple Cooling Coil

25 Error Diagnostics (cont’d)

26 Error Diagnostics (cont’d)  Reports Report, Surfaces, DXF  DXF file that will render the surfaces specified in the IDF file into something viewable Report, Surfaces, Details  Lists all surfaces with area, azimuth, tilt, construction and surface type Report Variable Dictionary  Allows determination of all of the key strings to specify report variables in the input files (produces RDD file) Report, Construction  Lists thermal properties of all construction types

27 Error Diagnostics (cont’d)  Common Errors Missing comma or semicolon Inappropriate zero value Upside down roof or floor HVAC missing components HVAC misconnected nodes Empty objects in IDF Editor

28 Summary  Two main simulation categories: Thermal load calculations Energy analysis  Important input files for EnergyPlus: Energy+.idd and Energy+.ini In.idf and in.epw  EP-Launch used to select input files and weather as well as executing EnergyPlus

29 Summary (cont’d)  Output and error diagnostics: *.err (and *.audit) messages are not necessarily problems Messages and warnings may or may not be important to the simulation (informational in many cases) Severe and fatal errors need to be addressed Other output files (*.eso, *.csv, *.dxf, *.eio) can also aid in determining problems in user input