stanford- tutorial.pdf

96
Copyright 2011 Lab Week-7: May 12, 2011 CEE 243 EnergyPlus Tutorial Lab Week-7 1

Upload: debora-costa

Post on 06-Jul-2016

46 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

EnergyPlus Tutorial Lab Week-7

1

Page 2: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

• 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

2

Page 3: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

• Examples

– Input file from EnergyPlus tutorial

• Simple box building

• ECO Temperature Settings

• HOG Temperature Settings

– Simplified Y2E2 spreadsheet interface

• Existing inputs

• Set point calibration

3

Page 4: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Open EP-Launch May need to search

4

Page 5: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Select input file (.idf)

5

Page 6: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Select input file (.idf)

Browse

6

Page 7: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Select input file (.idf)

Pull-down

7

Page 8: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Simulate!

8

Page 9: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Thinking….

9

Page 10: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Success!

Warnings: Generally ignore Severe Errors: Crash – look at error file

16 seconds! Not bad! Not typical!

10

Page 11: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View results: Select file type

11

Page 12: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View results: Select file type Useful text files: Error RDD

12

Page 13: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Error file

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

13

Page 14: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

RDD

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

14

Page 15: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View results: Select file type Spreadsheets: Meter Output Variable Output

15

Page 16: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Meter

Building level meter outputs Example: Electricity District Heating District Cooling

16

Page 17: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Predicted Monthly Energy Use for Simple Building

with Eco Temperature Set points

17

Page 18: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Edit file with IDF Editor

18

Page 19: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Save As… Add –Hog to file name Maintains original file

19

Page 20: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Control + L

Collapses unused categories

20

Page 21: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

• From here, we can tweak

the inputs

• Example – look at

temperature settings

• [0009] Schedule:Compact

21

Page 22: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

ECO Heating Temperature Schedule

22

Page 23: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

ECO Heating Temperature Schedule

For each day type

23

Page 24: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

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

24

Page 25: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

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

Page 26: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

ECO Cooling Temperature Schedule

26

Page 27: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Eco Heating Eco Cooling Hog Heating Hog Cooling

Weekdays:

Until 7am

15 C/59 F 30 C/86 F 22 C/71.6 F 23 C/73.4 F

Weekdays:

Until 5pm

20 C/68 F 25 C/77 F 22 C/71.6 F 23 C/73.4 F

Weekdays:

Until Midnight

15 C/59 F 30 C/86 F 22 C/71.6 F 23 C/73.4 F

Weekends

and Holidays

15 C/59 F 30 C/86 F 22 C/71.6 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

27

Page 28: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Creating new heating schedule

Click on ECO HEATING

28

Page 29: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Creating new heating schedule

Duplicate Object

29

Page 30: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Creating new heating schedule

New schedule appears

30

Page 31: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Creating new heating schedule

Double-click or click and type to edit inputs

31

Page 32: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Creating new heating schedule

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

32

Page 33: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Creating new cooling schedule

Repeat process for cooling schedule Select 23 C for all temperatures

33

Page 34: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Apply new temperature schedules

Scroll down and select ThermostatSetpoint:DualSetpoint

34

Page 35: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Apply new temperature schedules

Click schedule to see options Select HOG HEATING

35

Page 36: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Apply new temperature schedules

Repeat for cooling

36

Page 37: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Apply new temperature schedules

Asterisk – unsaved Save file Close editor

37

Page 38: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Select input file (.idf)

Browse

38

Page 39: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Select new Hog file

39

Page 40: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Simulate!

40

Page 41: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View meter output

41

Page 42: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Meter

Building level meter outputs Example: Electricity District Heating District Cooling

42

Page 43: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Simulated Monthly Energy Use for Simple Building

with Hog Temperature Set points

43

Page 44: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Simulated Monthly Energy Use for Simple Building

Comparison between Eco and Hog Set Points

0

250,000,000

500,000,000

750,000,000

1,000,000,000

1,250,000,000

1,500,000,000

1,750,000,000

2,000,000,000

2,250,000,000

Janu

ary

Febru

ary

Mar

chApr

il

May

June

July

Augus

t

Septe

mbe

r

Octob

er

Nov

embe

r

Dec

embe

r

En

erg

y U

se

(J

ou

les

)Eco - Electricity:Facility [J](Monthly) Hog - Electricity:Facility [J](Monthly)

Eco - DistrictCooling:Facility [J](Monthly) Hog - DistrictCooling:Facility [J](Monthly)

Eco - DistrictHeating:Facility [J](Monthly) Hog - DistrictHeating:Facility [J](Monthly)

44

Page 45: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT

• Open SEE IT

• Create new project

• Add new datasource

45

Page 46: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT Browse for SQL database file

Select Hog file

46

Page 47: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT

Include high level meter data

47

Page 48: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT

Include variable outputs

48

Page 49: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT

Timeframe is automatically set to simulation runtime period

49

Page 50: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT

Updates any existing datapoints with the same names for objects and plots

50

Page 51: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT Select from pull down menu

51

Page 52: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT

Monthly meter data 52

Page 53: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT

Plot variable graphs just like measured data

53

Page 54: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT

HOG zone heating and cooling requirements 54

Page 55: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT

Currently need to open another SEE IT instance to view

other simulation database

ECO temperature set points 55

Page 56: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT

ECO temperature set points

56

Page 57: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

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

57

Page 58: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Alternative to IDF Editor: Spreadsheet Templates

Open Y2E2V4 spreadsheet Lab example simulates one day for Y2E2 basic model

58

Page 59: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Check paths

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

59

Page 60: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Run macro

Click “Run Macro” on any page to create IDF file

60

Page 61: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

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

Run simulation in EnergyPlus Launch

61

Page 62: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

VERSION Object Missing!!!!

Click Ok

62

Page 63: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Seven minutes for one day simulation of basic model!

63

Page 64: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Look at Main Meter spreadsheet

64

Page 65: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Utility usage for each meter for the RunPeriod (February 1st)

0.00E+00

5.00E+09

1.00E+10

1.50E+10

2.00E+10

2.50E+10

DistrictCooling DistrictHeating Electricity

En

erg

y U

se

(J

ou

les

)

65

Page 66: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT

Open new instance of SEE IT Create new project Add new EnergyPlus datasource Select Y2E2_Main

66

Page 67: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT

Check boxes Change default year to match year for desired measured data

67

Page 68: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Compare Rep Office 393 Set Points Pull down simulation database

68

Page 69: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Compare Rep Office 393 Set Points

Filter

Add cooling set point (3576) Add heating set point (3575)

69

Page 70: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Compare Rep Office 393 Set Points

Filter

Add cooling set point (1735) Add heating set point (17320008)

70

Page 71: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

S: Simulated M: Measured

71

Page 72: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Significant energy savings may be achieved

72

Page 73: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Change schedule to see impact

Open SchedulesY2E2_ArupModel.idf in IDF Editor or Text Editor

73

Page 74: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Change schedule to see impact

“Find” BldgHeat Copy Paste below

74

Page 75: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Edit first few lines to set heating temperature to 71 F year round Rename to BldgHeatHog Delete the rest of the lines

75

Page 76: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

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 76

Page 77: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

• 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

77

Page 78: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

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

General building heating and cooling schedules 78

Page 79: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

CNTL+F Click Replace tab

79

Page 80: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Find BldgHeat

80

Page 81: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Replace with BldgHeatHog

Repeat for cooling

81

Page 82: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Find a “Run Macro” button and click

82

Page 83: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Open imf file Simulate!

83

Page 84: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

0.00E+00

5.00E+09

1.00E+10

1.50E+10

2.00E+10

2.50E+10

DistrictCooling DistrictHeating Electricity

En

erg

y U

se

(J

ou

les

)Original Set Points Hog Set Points

Predicted Energy Consumption in Y2E2 on February 2nd

Not much of a difference…Check set points in SEE IT

84

Page 85: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Slight difference from rounding

Set points match – need to explore over larger periods of time

85

Page 86: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

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

86

Page 87: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Global Parameters

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

87

Page 88: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

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

88

Page 89: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Zone Types

Adjust zone ventilation, mixing and radiant floors May need

89

Page 90: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Air Loops

Change settings for AHUs May need, depending on intervention

90

Page 91: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Chilled Water Loops

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

91

Page 92: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Hot Water Loops

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

92

Page 93: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

CondWaterLoops

WaterCompLoops

CompTypes

Not needed

93

Page 94: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

A few more editing tips

• Various idf files in UserDefinedFiles can be altered for

interventions

• Look at Files tab to see what’s 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

94

Page 95: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

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

95

Page 96: stanford- tutorial.pdf

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

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.

96