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

# Get timestep values variables like TotalEnergy, PeakEnergy, PeakDemand

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 close merge delete

Sort by » oldest newest most voted

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.

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.

( 2016-11-02 11:32:36 -0500 )edit

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.

more

1

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.

( 2016-11-02 08:05:29 -0500 )edit