stanford- tutorial.pdf

Post on 06-Jul-2016

46 Views

Category:

Documents

6 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

EnergyPlus Tutorial Lab Week-7

1

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

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

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Open EP-Launch May need to search

4

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Select input file (.idf)

5

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Select input file (.idf)

Browse

6

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Select input file (.idf)

Pull-down

7

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Simulate!

8

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Thinking….

9

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

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View results: Select file type

11

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

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

12

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

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

RDD

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

14

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

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

15

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Meter

Building level meter outputs Example: Electricity District Heating District Cooling

16

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Predicted Monthly Energy Use for Simple Building

with Eco Temperature Set points

17

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Edit file with IDF Editor

18

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

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

19

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Control + L

Collapses unused categories

20

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

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

ECO Heating Temperature Schedule

22

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

ECO Heating Temperature Schedule

For each day type

23

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

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

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

ECO Cooling Temperature Schedule

26

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

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Creating new heating schedule

Click on ECO HEATING

28

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Creating new heating schedule

Duplicate Object

29

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Creating new heating schedule

New schedule appears

30

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Creating new heating schedule

Double-click or click and type to edit inputs

31

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

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

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Apply new temperature schedules

Scroll down and select ThermostatSetpoint:DualSetpoint

34

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Apply new temperature schedules

Click schedule to see options Select HOG HEATING

35

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Apply new temperature schedules

Repeat for cooling

36

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Apply new temperature schedules

Asterisk – unsaved Save file Close editor

37

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Select input file (.idf)

Browse

38

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Select new Hog file

39

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Simulate!

40

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View meter output

41

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Meter

Building level meter outputs Example: Electricity District Heating District Cooling

42

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Simulated Monthly Energy Use for Simple Building

with Hog Temperature Set points

43

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

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT

• Open SEE IT

• Create new project

• Add new datasource

45

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT Browse for SQL database file

Select Hog file

46

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT

Include high level meter data

47

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT

Include variable outputs

48

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT

Timeframe is automatically set to simulation runtime period

49

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

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT Select from pull down menu

51

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT

Monthly meter data 52

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT

Plot variable graphs just like measured data

53

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT

HOG zone heating and cooling requirements 54

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

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

View in SEE IT

ECO temperature set points

56

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

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

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

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Run macro

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

60

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

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

VERSION Object Missing!!!!

Click Ok

62

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Seven minutes for one day simulation of basic model!

63

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Look at Main Meter spreadsheet

64

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

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

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

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Compare Rep Office 393 Set Points Pull down simulation database

68

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

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

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

S: Simulated M: Measured

71

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Significant energy savings may be achieved

72

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

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Change schedule to see impact

“Find” BldgHeat Copy Paste below

74

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

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

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

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

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

CNTL+F Click Replace tab

79

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Find BldgHeat

80

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Replace with BldgHeatHog

Repeat for cooling

81

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Find a “Run Macro” button and click

82

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Open imf file Simulate!

83

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

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

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

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

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

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Zone Types

Adjust zone ventilation, mixing and radiant floors May need

89

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

Air Loops

Change settings for AHUs May need, depending on intervention

90

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

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

Copyright 2011

Lab Week-7: May 12, 2011

CEE 243

CondWaterLoops

WaterCompLoops

CompTypes

Not needed

93

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

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

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

top related