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

# how to report "Facility Net Purchased Electric Energy" when PV is not specified?

It seems that Facility Net Purchased Electric Energy is not reported in the csv or sql output files when there is no PV module specified. My understanding is that this is due to the absence of generator object.

However, Net Electricity From Utility is still shown in the html report:

Although Net Electricity From Utility can be manually calculated as the sum of the electricity used by lights and equipment in this case, may I ask if there is a way to "force" EnergyPlus to report its value in the csv and sql files?

Thank you.

edit retag close merge delete

Sort by » oldest newest most voted

If you're using the Output:SQLite object to write EnergyPlus outputs to an SQLite file, then you should set the Option input field to 'SimpleAndTabular' to include time-series and tabular reports found in the HTML file. After doing that, you should be able to find within the SQL file the Net Electricity From Utility output that you highlighted above.

For adding info to the CSV output file, you have a few options using Output:Variable and Output:Meter objects.

Output:Variable options from the .rdd output file

Output:Variable,*,Facility Total Purchased Electric Energy,hourly; !- HVAC Sum [J]
Output:Variable,*,Facility Total Produced Electric Energy,hourly; !- HVAC Sum [J]


Output:Meter options from the .mdd output file

Output:Meter,Electricity:Building,hourly; !- [J]
Output:Meter,ElectricityNet:Facility,hourly; !- [J]
Output:Meter,ElectricityPurchased:Facility,hourly; !- [J]


Each Output:Meter option also has a reciprocal Output:Meter:Cumulative object in the .mdd output file. If you add a cumulative meter, that will show a running total of electricity use instead of only electricity use for your chosen reporting frequency (timestep, hourly, etc.) in the variables output CSV file that contains Output:Variable results, as well as the meter output CSV file EnergyPlus generates with the same name as your input IDF file.

Output:Meter:Cumulative,Electricity:Building,hourly; !- [J]
Output:Meter:Cumulative,ElectricityNet:Facility,hourly; !- [J]
Output:Meter:Cumulative,ElectricityPurchased:Facility,hourly; !- [J]


Note that "Building" meters sum each zone's energy use while "Facility" meters sum ALL the energy (building + HVAC + exterior) of a given fuel type.

more

Dear Aaron, one more question. May I ask what's the difference between the following three output variables?

Output:Variable,*,Facility Total Purchased Electric Energy

Output:Meter,ElectricityNet:Facility

Output:Meter,ElectricityPurchased:Facility

( 2017-12-04 22:01:03 -0600 )edit

Thank you very much, Aaron, for you detailed advice!

However, I didn't find the Facility Net Purchased Electric Energy output variable in the .sql output file following your suggestion by adding the following line in the IDF file:

Output:SQLite, SimpleAndTabular;

... and it seems Facility Net Purchased Electric Energy is not shown in the sql database when it's opened and queried in SQLiteStudio.

Nevertheless, as your suggested, once the purchased electricity related variables are specified through output:variable and output:meter, they are shown in the sql database, although I haven't figured out how the cumulative values are calculated and reported.

• Ji
more

I think you can do this by putting it as a request variable in the meters output (I know meters has building total electricity and other options similar to that). I am not sure if that is what you are looking for. It will report in the meters file and I think in the SQL file but not 100% about that.

more

( 2017-12-04 21:44:55 -0600 )edit