# Best way for emulating time of use electricity rates?

**URL:** <https://discourse.nodered.org/t/best-way-for-emulating-time-of-use-electricity-rates/46062>\
**Category:** General\
**Created:** [22 May 2021 00:49 UTC](https://discourse.nodered.org/t/best-way-for-emulating-time-of-use-electricity-rates/46062 "2021-05-22T00:49:31Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![craigcurtin](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Post date:** [18 June 2021 03:31 UTC](https://discourse.nodered.org/t/best-way-for-emulating-time-of-use-electricity-rates/46062/21 "2021-06-18T03:31:30Z")

</div>

I may have outsmarted myself here.

Whilst both Bigtimer and the Within-time nodes provide nice elegant solutions - they both have one major shortcoming which i had not thought through - they will not support FUTURE times.

So if in my case i want to project out 12 hours to see where will be the best tme to run heavier loads and/or charge a battery from the grid etc - i have no way of pushing a FUTURE date/time into either of these solutions and have it then return what tarrif that future time would fall into.

Looks like i am back to writing this as a series of arrays unless someone can see a way around this ?

Craig

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [17 August 2021 03:32 UTC](https://discourse.nodered.org/t/best-way-for-emulating-time-of-use-electricity-rates/46062/22 "2021-08-17T03:32:08Z")

</div>

Closed on 17 August 2021 03:32 UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.

[Previous page](https://discourse.nodered.org/t/best-way-for-emulating-time-of-use-electricity-rates/46062.md?page=1)
