Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
1

How to get Total Source Energy from HTML as Output:Meter or Variable?

asked 5 years ago

Mitchal Dichter's avatar

How do I get this field to appear as an Output:Meter or Output:Variable?

image description

I noticed that TDV is reported in the HTML file in the circled cell, but I would much rather prefer the output to be in a csv file since I already have code to parse those files and collected data from several different simulations.

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
1

answered 5 years ago

If you include an EnvironmentalImpactFactors object as well as appropriate FuelFactors objects several new output variables will be available to you and will be shown in the .MDD file including:

Zone,Meter,Source:Facility [J]

Search the .MDD file for the word "source" and you should see one for each type of energy used. You can then define a Output:Meter object similar to and Output:Variable object.

Preview: (hide)
link
2

answered 5 years ago

Mitchal Dichter's avatar

I found a way to do it. If I change to

OutputControl:Table:Style,
Comma; !- Column Separator

Then I can easily access the cell in the CSV containing the Total Source Energy. Not a Variable of Meter, but still ends up in a CSV file, which is each to parse.

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 5 years ago

Seen: 368 times

Last updated: Jun 17 '19