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

oat's profile - activity

2024-02-22 17:47:01 -0500 received badge  Popular Question (source)
2023-11-30 05:57:21 -0500 marked best answer how is "Surplus Electricity Going To Utility" calculated?

May I ask how Surplus Electricity Going To Utility is calculated as reported in the Electric Loads Satisfied table in the html file ?

May I also ask why Net Electricity From Utility is not equal to Electricity Coming From Utility minus Total On-Site Electric Sources?

image description

2023-11-21 10:41:32 -0500 received badge  Popular Question (source)
2023-02-06 07:57:28 -0500 received badge  Popular Question (source)
2023-01-27 07:19:19 -0500 received badge  Notable Question (source)
2021-08-03 10:12:17 -0500 marked best answer SQLite query through Python returns strange variable name

I'm using the following Python code to query a SQLite output file produced by EnergyPlus:

import sqlite3
import os

sqlite_file = './test_sql_h.sql'

table_name = 'ReportDataDictionary'
id_column = 'ReportDataDictionaryIndex'
column_a = 'Name'
column_b = 'KeyValue'

# connect to the database file
conn = sqlite3.connect(sqlite_file)
c = conn.cursor()

# identify all unique variable names
c.execute(
        ' SELECT DISTINCT ({col}) FROM {tn} '.\
        format(tn=table_name, col=column_a)
        )
all_names_unique = c.fetchall()
for i in range(0, len(all_names_unique)):
    print(all_names_unique[i])

# commit changes and queries, and close the connection
conn.commit()
conn.close()

However, each variable name is enclosed in a pair of single quotation marks proceeded by the letter "u" as shown below.

(u'Zone Lights Electric Energy',)
(u'Zone Electric Equipment Electric Energy',)
(u'Zone Ideal Loads Supply Air Total Heating Energy',)
(u'Zone Ideal Loads Supply Air Total Cooling Energy',)

May I ask why the output is not the pure name of the variable?

Thanks.

2021-04-08 12:41:58 -0500 received badge  Popular Question (source)
2020-03-09 12:41:27 -0500 marked best answer how to get hourly irradiance level for each PV surface in EnergyPlus?

I want to compare hourly irradiance level of each PV surface as simulated in EnergyPlus with that in Radiance.

May ask if there is a output variable which reports hourly irradiance level for each shading surface specified as PV panel?

Or is hourly irradiance level of a given PV surface = hourly AC electricity generated by the PV surface / Cell efficiency / PV surface area ?

2019-04-19 02:33:09 -0500 answered a question EnergyPlus: How to calculate incident solar radiation rate for shading surfaces

"Surface Outside Face Incident Solar Radiation Rate per Area" will be reported for shading surface specified as PV gener

2019-01-17 12:27:18 -0500 received badge  Popular Question (source)
2018-12-13 00:12:05 -0500 received badge  Notable Question (source)
2018-09-02 05:51:22 -0500 commented answer severe error "Failed to match against any enum values"

Thanks, MJWitte, for pointing out the source of error. I've identified the code which produced this error in the runEner

2018-09-02 05:34:49 -0500 marked best answer severe error "Failed to match against any enum values"

I'm using the Honeybee interface to run EnergyPlus simulation for a simple model.

I got the following severe error:

Program Version,EnergyPlus, Version 8.9.0-eba93e8e1b, YMD=2018.08.12 11:34,
* Severe * <root>[Output:Variable][Output:Variable 76][reporting_frequency] - "Simple" - Failed to match against any enum values.

I checked the IDF file, and the format of the two output variables as highlighted below seems OK:

Output:Variable,*,Surface Outside Face Incident Ground Diffuse Solar Radiation Rate per Area,hourly;

Output:Diagnostics,DisplayExtraWarnings;

Output:SQLite, Simple;

Output:Variable,My_PV_generator_system:DISTRIBUTIONSYSTEM,Electric Load Center Produced Electric Energy, Simple;

Once these two output variables on diagnostics and SQLite as highlighted above are removed in the Honeybee workflow, the simulation runs correctly.

However, without removing these two output variables: 1. the same Honeybee workflow works fine in another computer with the same software installation, and 2. the same IDF file also works fine independently through the EPLaunch.exe.

Another strange issue is that, as shown above, the EnergyPlus version is indicated as 8.9.0. However, I'm using EnergPlus 8.8.0 only currently....

May I ask if you can kindly advise what could have caused the severe error in this case?

2018-08-11 23:04:39 -0500 edited question severe error "Failed to match against any enum values"

severe error "Failed to match against any enum values" I'm using the Honeybee interface to run EnergyPlus simulation for

2018-08-11 22:53:25 -0500 asked a question severe error "Failed to match against any enum values"

severe error "Failed to match against any enum values" I'm using the Honeybee interface to run EnergyPlus simulation for

2018-04-05 03:13:12 -0500 commented answer can we get the temperature of the air around the outside of a roof surface?

Thank you very much, Eric, for your detailed advice. Will take a look of the references you suggested.

2018-04-05 03:12:41 -0500 commented answer can we get the temperature of the air around the outside of a roof surface?

Thank you very much, David, for your advice.

2018-03-24 05:43:34 -0500 received badge  Enthusiast
2018-03-22 22:32:56 -0500 marked best answer what is the difference betwee "Zone Windows Total Heat Gain Energy" and "Surface Window Heat Gain Energy"?

My I ask what the difference between Zone Windows Total Heat Gain Energy and Surface Window Heat Gain Energy is?

It's explained in the E+ document that:

Zone Windows Total Heat Gain Energy [J]

The sum of the heat flow from all of the exterior windows in a zone when that sum is positive.

whereas

Surface Window Heat Gain Energy [J]

The total heat flow to the zone from the glazing, frame and divider of an exterior window when the total heat flow is positive.

Does this mean that the sum of the Surface Window Heat Gain Energy for all the windows of a given zone equals to the Zone Windows Total Heat Gain Energy of that zone?

However, the total across all the zones and surfaces for both variables are not the same, it seems.

2018-03-22 22:32:47 -0500 answered a question what is the difference betwee "Zone Windows Total Heat Gain Energy" and "Surface Window Heat Gain Energy"?

Thank you, Aaron. I compared the components of both Surface Window Net Heat Transfer Energy and Surface Window Heat Ga

2018-03-22 21:15:09 -0500 commented answer How is the Generator Produced DC Electric Power calculated?

Thank you very much, Julien, for your detailed explanation. I didn't know that there is the 0.3W/m2 threshold applied fo

2018-03-22 02:55:31 -0500 asked a question what is the difference betwee "Zone Windows Total Heat Gain Energy" and "Surface Window Heat Gain Energy"?

what is the difference betwee "Zone Windows Total Heat Gain Energy" and "Surface Window Heat Gain Energy"? My I ask what

2018-03-20 21:37:15 -0500 commented answer How is the Generator Produced DC Electric Power calculated?

May I ask how Generator PV Array Efficiency is calculated as it is not explained in EnergyPlus document?

2018-03-20 21:35:24 -0500 marked best answer How is the Generator Produced DC Electric Power calculated?

The following are the output variables for a particular PV surface.

May I ask how is the Generator Produced DC Electric Power [W] calculated?

It seems it is not equal to:

Surface Outside Face Incident Solar Radiation Rate per Area [W/m2]

x Surface Area [m2]

x Generator PV Array Efficiency

The PV generator is specified in Honeybee as the following: image description

The hourly PV output for one day is: image description

2018-03-20 21:35:12 -0500 commented answer How is the Generator Produced DC Electric Power calculated?

Thanks, Julien. I realized that the ηcell: the module conversion efficiency or Cell Efficiency is not the Generator PV A

2018-03-19 21:28:21 -0500 asked a question How is the Generator Produced DC Electric Power calculated?

How is the Generator Produced DC Electric Power calculated? The following are the output variables for a particular PV s

2018-03-19 21:16:24 -0500 marked best answer Is there a way to set the unit for energy related output variables as kWh in the csv result file?

The unit for energy related output variables is J by default as shown in the csv result file.

Is there a way to set the unit for these variables as kWh by adding a line of code in the IDF file?

I do understand that the following only change the unit for the HTML summary report, not the csv file:

OutputControl:Table:Style,CommaAndHTML,JtoKWH;
2018-03-15 23:41:33 -0500 edited question how to report "surface area" as an output variable in the CSV file?

how to report "surface area" as an output variable in the CSV file? May I ask if there is a way to report the area of ea

2018-03-15 23:26:29 -0500 asked a question how to report "surface area" as an output variable in the CSV file?

how to report "surface area" as an output variable in the CSV file? May I ask if there is a way to report the area of ea

2018-01-13 10:03:31 -0500 marked best answer Basic tutorials on HVAC modeling

May I ask if the experts here can recommend entry level tutorial on how to model HVAC system in EnergyPlus and OpenStudio?

Currently, I'm using the Ideal Loads Air System to estimate cooling/heating loads and plug loads in teaching of energy modeling. However, for more realistic and detailed HVAC system design in practice, the workflow might be quite different and complicated.

I'd appreciate if you can suggest good textbook or tutorials for starters in this regard that explains the basics of HVAC system and the technical procedures to model typical HVAC systems in EnergyPlus and OpenStudio!

Thank you very much!