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

Aggregate peak and off-peak energy use in custom blocks

asked 2016-10-03 19:15:38 -0500

rkbest's avatar

How do I create custom blocks (based on the hour of day) to aggregate the total electricity use for any fuel use for a year?

I saw another post https://unmethours.com/question/14309... by @_AmirRoth_ that uses Ruby to get this done (I am not familiar with Ruby). I do have the peak and off-peak schedules defined based on hours. Can these be used to create custom meters and then splitting the Electricity:Facility in corresponding blocks using EMS or SQL?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-10-04 07:04:53 -0500

One approach is to use UtilityCost:Tariff to perform the aggregation. If you look at the output generated by the 5ZoneEconomicsTariffAndLifeCycleCosts.idf you can see in the ExampleF Tariff Report under the Native Variable table that PeakEnergy and OffPeakEnergy are shown monthly. This approach can be used for fuels as well as electricity. Here are links to learn more about the UtilityCost:Tariff object and specifically the Example F. This works well for up to four different periods of time (Peak, OffPeak, MidPeak and Shoulder).

Another approach is to use Output:Table:Monthly or Output:Table:Annual and use a schedule as the first column and aggregate it as HoursNonZero and then the second column use the meter and the aggregation as SumOrAverageDuringHoursShown. Then repeat these columns but using HoursZero the second time. This works well when trying to aggregate using a schedule with zeros and other values but multiple schedules are needed if you need to break it down into three or more periods of time.

edit flag offensive delete link more

Comments

Thanks @JasonGlazer Probably example F approach will work for me, but I would try the second method to know ho it is done.

rkbest's avatar rkbest  ( 2016-10-04 07:59:12 -0500 )edit

1st approach Based on the documentation I think I would require 1. UtilityCost:Tariff; 2 Four UtilityCost:Charge:Simple for peak and off-peak blocks; 3. No qualifying block (as I know this tariff applies); 4. UtilityCost:Charge:Block for demand charges. Question -How to I include the demand blocks?:- the tariff structure says- $3.12 per kW of billing demand, plus $6.13 per kW of peak billing demand Billing demand- highest measured 30-minute interval kW demand during billing period Peak billing demand- highest measured 30-minute interval kW demand during peak period

rkbest's avatar rkbest  ( 2016-10-04 14:56:55 -0500 )edit

If this does not exist (as per my understanding), I think this could be a useful feature for future EP versions to have demand block based on custom interval qualifiers.

rkbest's avatar rkbest  ( 2016-10-04 15:34:32 -0500 )edit

To get a 30-minute interval for kW demand, use the UtilityCost:Tariff field called Demand Window Length and set it to HalfHour. It is not clear from the rest of your tariff description what your remaining questions are. Can you add a link to the tariff?

JasonGlazer's avatar JasonGlazer  ( 2016-10-05 06:32:57 -0500 )edit

Second approach :- After adding Output:Table:Annual, Peak Energy Use, !- Name , !- Filter OnPeakTime, !- Schedule Name Electricity:Facility, !- Variable or Meter or EMS Variable or Field 1 Name SumOrAverage, !- Aggregation Type for Variable or Meter 1 0, !- Digits After Decimal 1 I get a table column as 'Site Outdoor Air Humidity Ratio [kWh]' with numbers that loop like kWh values and not any ratio. Is this a bug? @JasonGlazer

rkbest's avatar rkbest  ( 2016-10-14 15:50:40 -0500 )edit

Your Answer

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

Add Answer

Careers

Question Tools

1 follower

Stats

Asked: 2016-10-03 19:15:38 -0500

Seen: 140 times

Last updated: Oct 04 '16