You are on page 1of 96

Lab Week-7: May 12, 2011

EnergyPlus Tutorial
Lab Week-7

CEE 243
Copyright 2011

Lab Week-7: May 12, 2011

Objectives
Run an EnergyPlus Simulation View results in Excel View results in SEE IT Edit EnergyPlus input file with IDF Editor Edit EnergyPlus input file with spreadsheet interface

CEE 243
Copyright 2011

Lab Week-7: May 12, 2011

Examples
Input file from EnergyPlus tutorial
Simple box building ECO Temperature Settings HOG Temperature Settings

Simplified Y2E2 spreadsheet interface


Existing inputs Set point calibration

CEE 243
Copyright 2011

Lab Week-7: May 12, 2011

Open EP-Launch

May need to search

CEE 243
Copyright 2011

Lab Week-7: May 12, 2011

Select input file (.idf)

CEE 243
Copyright 2011

Lab Week-7: May 12, 2011

Select input file (.idf)

Browse

CEE 243
Copyright 2011

Lab Week-7: May 12, 2011

Select input file (.idf)

Pull-down

CEE 243
Copyright 2011

Lab Week-7: May 12, 2011

Simulate!
CEE 243
Copyright 2011

Lab Week-7: May 12, 2011

Thinking.
CEE 243
Copyright 2011

Lab Week-7: May 12, 2011

Success! Warnings: Generally ignore Severe Errors: Crash look at error file

16 seconds! Not bad! Not typical!

CEE 243

10
Copyright 2011

Lab Week-7: May 12, 2011

View results: Select file type

CEE 243

11
Copyright 2011

Lab Week-7: May 12, 2011

View results: Select file type

Useful text files: Error RDD

CEE 243

12
Copyright 2011

Lab Week-7: May 12, 2011

Error file

Look at Severe Errors: address concerns in editor (Temperature out of range, using wrong syntax, etc)
CEE 243

13
Copyright 2011

Lab Week-7: May 12, 2011

RDD

List of possible outputs to display More outputs increase run-time


CEE 243

14
Copyright 2011

Lab Week-7: May 12, 2011

View results: Select file type

Spreadsheets: Meter Output Variable Output

CEE 243

15
Copyright 2011

Lab Week-7: May 12, 2011

Meter

Building level meter outputs Example: Electricity District Heating District Cooling
CEE 243

16
Copyright 2011

Lab Week-7: May 12, 2011

Predicted Monthly Energy Use for Simple Building with Eco Temperature Set points

CEE 243

17
Copyright 2011

Lab Week-7: May 12, 2011

Edit file with IDF Editor

CEE 243

18
Copyright 2011

Lab Week-7: May 12, 2011

Save As Add Hog to file name Maintains original file

CEE 243

19
Copyright 2011

Lab Week-7: May 12, 2011

Control + L
Collapses unused categories

CEE 243

20
Copyright 2011

Lab Week-7: May 12, 2011

From here, we can tweak the inputs Example look at temperature settings [0009] Schedule:Compact

CEE 243

21
Copyright 2011

Lab Week-7: May 12, 2011

ECO Heating Temperature Schedule

CEE 243

22
Copyright 2011

Lab Week-7: May 12, 2011

ECO Heating Temperature Schedule

For each day type

CEE 243

23
Copyright 2011

Lab Week-7: May 12, 2011

ECO Heating Temperature Schedule

For each day type For all times of the day First time entry from midnight until entered time From midnight until 7:00am, temperature will be 15C
Note oF = (9/5) * oC + 32 ~ 2C + 30 15oC ~ 60oF
CEE 243

24
Copyright 2011

Lab Week-7: May 12, 2011

ECO Heating Temperature Schedule

For each day type For all times of the day

First time entry from midnight until entered time From midnight until 7:00am, temperature will be 15C Additional time entries from last time until next time From 7:00am until 5:00pm, temperature will be 20C
25
Copyright 2011

CEE 243

Lab Week-7: May 12, 2011

ECO Cooling Temperature Schedule

CEE 243

26
Copyright 2011

Lab Week-7: May 12, 2011

Eco Heating Eco Cooling Hog Heating Weekdays: Until 7am Weekdays: Until 5pm 15 C/59 F 20 C/68 F 30 C/86 F 25 C/77 F 22 C/71.6 F 22 C/71.6 F

Hog Cooling 23 C/73.4 F 23 C/73.4 F

Weekdays: Until Midnight


Weekends and Holidays

15 C/59 F
15 C/59 F

30 C/86 F
30 C/86 F

22 C/71.6 F
22 C/71.6 F

23 C/73.4 F
23 C/73.4 F

Design Days

20 C/68 F

25 C/77 F

22 C/71.6 F

23 C/73.4 F

CEE 243

27
Copyright 2011

Lab Week-7: May 12, 2011

Creating new heating schedule

Click on ECO HEATING


CEE 243

28
Copyright 2011

Lab Week-7: May 12, 2011

Creating new heating schedule

Duplicate Object
CEE 243

29
Copyright 2011

Lab Week-7: May 12, 2011

Creating new heating schedule

New schedule appears


CEE 243

30
Copyright 2011

Lab Week-7: May 12, 2011

Creating new heating schedule

Double-click or click and type to edit inputs


CEE 243

31
Copyright 2011

Lab Week-7: May 12, 2011

Creating new heating schedule

Change name to HOG HEATING Change all temperatures to 22 (C)


CEE 243

32
Copyright 2011

Lab Week-7: May 12, 2011

Creating new cooling schedule

Repeat process for cooling schedule Select 23 C for all temperatures


CEE 243

33
Copyright 2011

Lab Week-7: May 12, 2011

Apply new temperature schedules Scroll down and select


ThermostatSetpoint:DualSetpoint

CEE 243

34
Copyright 2011

Lab Week-7: May 12, 2011

Apply new temperature schedules

Click schedule to see options Select HOG HEATING

CEE 243

35
Copyright 2011

Lab Week-7: May 12, 2011

Apply new temperature schedules

Repeat for cooling

CEE 243

36
Copyright 2011

Lab Week-7: May 12, 2011

Apply new temperature schedules Asterisk unsaved Save file

Close editor

CEE 243

37
Copyright 2011

Lab Week-7: May 12, 2011

Select input file (.idf)

Browse

CEE 243

38
Copyright 2011

Lab Week-7: May 12, 2011

Select new Hog file

CEE 243

39
Copyright 2011

Lab Week-7: May 12, 2011

Simulate!

CEE 243

40
Copyright 2011

Lab Week-7: May 12, 2011

View meter output

CEE 243

41
Copyright 2011

Lab Week-7: May 12, 2011

Meter

Building level meter outputs Example: Electricity District Heating District Cooling
CEE 243

42
Copyright 2011

Lab Week-7: May 12, 2011

Simulated Monthly Energy Use for Simple Building with Hog Temperature Set points

CEE 243

43
Copyright 2011

Lab Week-7: May 12, 2011

Simulated Monthly Energy Use for Simple Building Comparison between Eco and Hog Set Points
Eco - Electricity:Facility [J](Monthly) Eco - DistrictCooling:Facility [J](Monthly) Eco - DistrictHeating:Facility [J](Monthly) Hog - Electricity:Facility [J](Monthly) Hog - DistrictCooling:Facility [J](Monthly) Hog - DistrictHeating:Facility [J](Monthly)

2,250,000,000 2,000,000,000 1,750,000,000

Energy Use (Joules)

1,500,000,000 1,250,000,000 1,000,000,000 750,000,000 500,000,000 250,000,000 0


Au gu st Se pt em be r O ct ob er N ov em be D r ec em be r Ja nu ar y Fe br ua ry M ar ch Ju ne Ap ri l M ay Ju ly

CEE 243

44
Copyright 2011

Lab Week-7: May 12, 2011

View in SEE IT
Open SEE IT Create new project Add new datasource

CEE 243

45
Copyright 2011

Lab Week-7: May 12, 2011

View in SEE IT

Browse for SQL database file

Select Hog file

CEE 243

46
Copyright 2011

Lab Week-7: May 12, 2011

View in SEE IT
Include high level meter data

CEE 243

47
Copyright 2011

Lab Week-7: May 12, 2011

View in SEE IT
Include variable outputs

CEE 243

48
Copyright 2011

Lab Week-7: May 12, 2011

View in SEE IT
Timeframe is automatically set to simulation runtime period

CEE 243

49
Copyright 2011

Lab Week-7: May 12, 2011

View in SEE IT
Updates any existing datapoints with the same names for objects and plots

CEE 243

50
Copyright 2011

Lab Week-7: May 12, 2011

View in SEE IT

Select from pull down menu

CEE 243

51
Copyright 2011

Lab Week-7: May 12, 2011

View in SEE IT

Monthly meter data


CEE 243

52
Copyright 2011

Lab Week-7: May 12, 2011

View in SEE IT

Plot variable graphs just like measured data


CEE 243

53
Copyright 2011

Lab Week-7: May 12, 2011

View in SEE IT

HOG zone heating and cooling requirements


CEE 243

54
Copyright 2011

Lab Week-7: May 12, 2011

View in SEE IT
Currently need to open another SEE IT instance to view other simulation database

ECO temperature set points


CEE 243

55
Copyright 2011

Lab Week-7: May 12, 2011

View in SEE IT

ECO temperature set points


CEE 243

56
Copyright 2011

Lab Week-7: May 12, 2011

Alternative to IDF Editor: Spreadsheet Templates


Uses spreadsheet input format and macros to compile run file (IMF) Pre-processor converts to IDF file for simulation Improved navigation

CEE 243

57
Copyright 2011

Lab Week-7: May 12, 2011

Alternative to IDF Editor: Spreadsheet Templates

Open Y2E2V4 spreadsheet

Lab example simulates one day for Y2E2 basic model


CEE 243

58
Copyright 2011

Lab Week-7: May 12, 2011

Check paths
Make sure this path corresponds to the correct folder on your machine

CEE 243

59
Copyright 2011

Lab Week-7: May 12, 2011

Run macro
Click Run Macro on any page to create IDF file

CEE 243

60
Copyright 2011

Lab Week-7: May 12, 2011

Run simulation in EnergyPlus Launch


Open EnergyPlus Launch
Browse for Y2E2_Main.imf file in the Y2E2 folder in EnergyPlus Open file Simulate!

CEE 243

61
Copyright 2011

Lab Week-7: May 12, 2011

VERSION Object Missing!!!!

Click Ok

CEE 243

62
Copyright 2011

Lab Week-7: May 12, 2011

Seven minutes for one day simulation of basic model!

CEE 243

63
Copyright 2011

Lab Week-7: May 12, 2011

Look at Main Meter spreadsheet

CEE 243

64
Copyright 2011

Lab Week-7: May 12, 2011

Utility usage for each meter for the RunPeriod (February 1st)
2.50E+10

Energy Use (Joules)

2.00E+10 1.50E+10 1.00E+10 5.00E+09 0.00E+00 DistrictCooling DistrictHeating Electricity

CEE 243

65
Copyright 2011

Lab Week-7: May 12, 2011

View in SEE IT

Open new instance of SEE IT

Create new project


Add new EnergyPlus datasource Select Y2E2_Main

CEE 243

66
Copyright 2011

Lab Week-7: May 12, 2011

View in SEE IT
Check boxes Change default year to match year for desired measured data

CEE 243

67
Copyright 2011

Lab Week-7: May 12, 2011

Compare Rep Office 393 Set Points


Pull down simulation database

CEE 243

68
Copyright 2011

Lab Week-7: May 12, 2011

Compare Rep Office 393 Set Points


Filter

Add cooling set point (3576)


CEE 243

Add heating set point (3575)


69
Copyright 2011

Lab Week-7: May 12, 2011

Compare Rep Office 393 Set Points


Filter

Add cooling set point (1735)


CEE 243

Add heating set point (17320008)


70
Copyright 2011

Lab Week-7: May 12, 2011

S: Simulated M: Measured

CEE 243

71
Copyright 2011

Lab Week-7: May 12, 2011

Significant energy savings may be achieved

CEE 243

72
Copyright 2011

Lab Week-7: May 12, 2011

Change schedule to see impact


Open SchedulesY2E2_ArupModel.idf in IDF Editor or Text Editor

CEE 243

73
Copyright 2011

Lab Week-7: May 12, 2011

Change schedule to see impact


Find BldgHeat Copy Paste below

CEE 243

74
Copyright 2011

Lab Week-7: May 12, 2011

Edit first few lines to set heating temperature to 71 F year round Rename to BldgHeatHog

Delete the rest of the lines

CEE 243

75
Copyright 2011

Lab Week-7: May 12, 2011

Repeat for cooling Copy BldgCool Paste Below Edit first few lines to set cooling temperature to 76 F year round Rename to BldgCoolHog Delete the rest of the lines Save File Can also be done in IDF Editor
CEE 243

76
Copyright 2011

Lab Week-7: May 12, 2011

Return to Spreadsheet Save as Y2E2V4Hog Change main run file from Y2E2_Main to Y2E2_Main_Hog Always save intervention as new file to preserve previous work

CEE 243

77
Copyright 2011

Lab Week-7: May 12, 2011

Go to zones tab
Find and Replace all BldgHeat with BldgHeatHog Find and Replace all BldgCool with BldgCoolHog

General building heating and cooling schedules


CEE 243

78
Copyright 2011

Lab Week-7: May 12, 2011

CNTL+F Click Replace tab

CEE 243

79
Copyright 2011

Lab Week-7: May 12, 2011

Find BldgHeat

CEE 243

80
Copyright 2011

Lab Week-7: May 12, 2011

Replace with BldgHeatHog

Repeat for cooling

CEE 243

81
Copyright 2011

Lab Week-7: May 12, 2011

Find a Run Macro button and click

CEE 243

82
Copyright 2011

Lab Week-7: May 12, 2011

Open imf file Simulate!

CEE 243

83
Copyright 2011

Lab Week-7: May 12, 2011

Original Set Points 2.50E+10

Hog Set Points

Energy Use (Joules)

2.00E+10 1.50E+10 1.00E+10 5.00E+09 0.00E+00 DistrictCooling DistrictHeating Electricity

Predicted Energy Consumption in Y2E2 on February 2nd


Not much of a differenceCheck set points in SEE IT
CEE 243

84
Copyright 2011

Lab Week-7: May 12, 2011

Slight difference from rounding

Set points match need to explore over larger periods of time


CEE 243

85
Copyright 2011

Lab Week-7: May 12, 2011

Files Tab
Which input files are used? Where are they located? Mostly leave this alone Unless path changes or To change main run file name

CEE 243

86
Copyright 2011

Lab Week-7: May 12, 2011

Global Parameters
Global default values Overridden if defined elsewhere Several calculation methods Lighting W, W/area, etc Not likely needed

CEE 243

87
Copyright 2011

Lab Week-7: May 12, 2011

Zones
Defines which schedules used in the zones Defines maximum lighting and equipment wattages, occupancy, infiltration, etc (Look for _Variable suffix) Refer to Global Parameters for unit definitions Will need this page Update schedules in IDF Editor or Text Editor

CEE 243

88
Copyright 2011

Lab Week-7: May 12, 2011

Zone Types
Adjust zone ventilation, mixing and radiant floors May need

CEE 243

89
Copyright 2011

Lab Week-7: May 12, 2011

Air Loops
Change settings for AHUs May need, depending on intervention

CEE 243

90
Copyright 2011

Lab Week-7: May 12, 2011

Chilled Water Loops


Adjusts settings for Chilled water loop May need (if changing temperatures, etc) For all sheets, do not alter blue boxes!

CEE 243

91
Copyright 2011

Lab Week-7: May 12, 2011

Hot Water Loops


Adjusts settings for hot water loop
May need (if changing temperatures, etc)

CEE 243

92
Copyright 2011

Lab Week-7: May 12, 2011

CondWaterLoops WaterCompLoops CompTypes

Not needed

CEE 243

93
Copyright 2011

Lab Week-7: May 12, 2011

A few more editing tips


Various idf files in UserDefinedFiles can be altered for interventions Look at Files tab to see whats being used For example: spreadsheet currently using ScheduelsY2E2_ArupModel and MoreSchedules for various schedules Run Period can be changed in Y2E2_V17.6_V2 Be careful when editing spreadsheet ask questions

CEE 243

94
Copyright 2011

Lab Week-7: May 12, 2011

General EnergyPlus Tips


Additional weather data can be found here: http://apps1.eere.energy.gov/buildings/energyplus/weat herdata_about.cfm You can download EnergyPlus for free on your own computers Make sure you grab the correct files from CourseWork Make sure EnergyPlus is installed directly onto C: drive, not Program Files Make sure paths are correctly aligned in spreadsheet
CEE 243

95
Copyright 2011

Lab Week-7: May 12, 2011

Query 7

Compare simulated data for a simple building given different assumptions, using e+ and its UI: a. With and without significant (assumed) lab and server load; b. 24/7 vs. 9 hour/day x 5day/week occupancy. Compare measured and predicted data for Y2E2: a. 24/7 vs. 9 hour/day x 5day/week occupancy vs. current measured building performance data; b. Current measured building performance data vs. predicted data given an operating intervention that seems interesting to you.
CEE 243

96
Copyright 2011

You might also like