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

Get timestep values variables like TotalEnergy, PeakEnergy, PeakDemand

asked 2016-11-01 09:24:19 -0500

rkbest's avatar

updated 2017-04-02 20:02:45 -0500

As part of the Tariff Report, the corresponding variables are calculated

  • TotalEnergy,
  • TotalDemand,
  • PeakEnergy,
  • PeakDemand,
  • OffPeakEnergy.
    How can I get the hourly or timestep values of these variables from the meter Electricity:Facility.

I am interested in postprocessing a breakup of the cost using hourly data of the above variables for each timestep as:-

  • EnergyCharges ($)
  • DemandCharges ($)
  • ServiceCharges ($)
  • Basis ($)
  • Adjustment ($)
  • Surcharge ($)
  • Subtotal ($)
  • Taxes ($)
  • Total ($)

(The cost per month for above heads is generated in the 'tariff report')

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-11-02 10:19:27 -0500

Archmage's avatar

You can get the Electricity:Facility as a timeseries data, using Output:Meter, and then process that into those variables. Also report out the Schedule Value for the schedules that define when it is peak time, they can help you sort between Peak* and OffPeak*. Demand power is just the Joules from the meter divided by the reporting interval duration in seconds, but this is more accurate for the finest resolution data you can get. TotalDemand also includes a definition for a sliding average window that is often less than an hour. So if you want to be able to replicate the values reported by the tariffs, you will need to use at least timestep fequency data rather than hourly.

edit flag offensive delete link more


Yes, I would have used the values aggregated to the demand window of 1/2 hour to get the number I need along with the energy costs. That conversion would be J/s as input for getting the W for calculations. I am using 10 min intervals for simulation.

rkbest's avatar rkbest  ( 2016-11-02 11:32:36 -0500 )edit

answered 2016-11-02 07:44:25 -0500

As far as I know you cannot report these variables directly, and it makes perfect sense why: the demand charges concern the monthly peak, so reporting these every hour doesn't make much sense, the reporting has to be monthly and can therefore be tabulated easily and that's why it ends up in the eplusout.html.

If you still want to go ahead, I would just report the Electricity:Facility meter at the hourly timestep and post-process that. I've done that several times to analyze via post-processing different time of use tariffs. It's not terribly complicated.

edit flag offensive delete link more



If you are trying to do real time pricing, where the price of electricity changes for each hour, you can use the Real Time Pricing Charge Schedule Name field of the UtilityCost:Tariff object.

JasonGlazer's avatar JasonGlazer  ( 2016-11-02 08:05:29 -0500 )edit

Your Answer

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

Add Answer

Training Workshops


Question Tools

1 follower


Asked: 2016-11-01 09:24:19 -0500

Seen: 175 times

Last updated: Nov 02 '16