How to reduce peak consumption (hems)

Good tip! Indeed the cycle is important. Thanks!
Not 100% sure yet what I have to consider the best power cost. But I need some kind of number, so Node-RED can decide which devices can be turned on simulateneously.
But perhaps it its better if Node-RED was able to combine the power signatures (graphs) instead of a single number. Because a cycle of a device can take a long time, so a single number might not be very useful ...

Julian, should have been clearer. I mean HOW I can reduce my peaks in general. I have already given up on the washing machine :wink: That will be wife-driven instead of Node-RED-driven ...

Doh! I still like the idea of adding a robotic interface to things though! :mage:

1 Like

Yes, this is how the EV-Charging Algo in our Wallbox works, by measuring the access energy. The 2-Way-Meter is doing the add-up internally though. But one could record the graph for each device - even later identify it, should it be switched on outside schedule/manually - and add all graphs up to get a combined signature.
Adding complexity: the graph for a washing machine will be dependent on program and temps of water-intake, so it will be different (longer in time or more power to heat) depending on season/climate

1 Like

The core to the leveling, is what you call the classic 'salesman' problem. If you are not familiar with this concept, it is core to basic statistically analysis. And I would think would be the core of any logic (we) develop over the discussion of same. https://en.wikipedia.org/wiki/Travelling_salesman_problem. In our case we want the 'route' to the least expensive result, given the tasks required at the point of analysis. There are literally 100s of examples of the classic salesman methodology as computational logic coding.

We just use the 'device' cost estimate or value, and establish the devices required to be used for any give time frame, and the classic salesman method will find the 'most' efficient result.

Yep this is where it gets hard - length of cycles of devices. We have managed this in a somewhat arbitrary way - the dishwasher, washing machine and clothes dryer are all put on the 'intense" /longest cycle by default - so with this i am "budgetting" for the worst case power consumption.\

We then assing a priority to the devices - it is most urgent to get the dishwasher done every day - so it has the priority timeslot from 9AM (after breakfast) each day - it has a long cycle but quite low overall power draw with a few peaks when it is heating air to dry etc

By using the solcast api stuff i am able to predict pretty closely when we will have excess etc - your trade off will be (especially when you have this highest peak consumption model) do you leave excess power available to allow a kettle to be boiled (for example ??) - this is the scenario where a small battery for managing self consumption peaks makes a lot of sense (solar permitting of course).

Craig

1 Like

...time for an AI-node then :slight_smile:

Actually ... LOL... no. We use the salesman modeling as the core logic, and use a learning machine model, to watch the salesman optimizations. This makes the brute force tabulation of least cost, simplistic. We can run salesman logic for weeks or months, establishing trending, then let the learning engine take past data as a starting point. This how AIs are trained all the time. For example, teach AI to see a cat, you gather 10,000 cat pictures, and show them to the AI, the AI is primed via such. Takes a fraction of the time, to otherwise let an AI learn from scratch.

1 Like

Morning guys,
Time for a summary...
I need to have for each device the following data in Node-RED:

  • The priority
  • The power signature(s) for every cycle it supports

Beside that Node-RED needs to know the maximum allowed peak, and some margins (to make sure the devices don't overlap to much and risk again peaks due unexpected extra consumption).

Then all that data needs to feed into some kind of energy scheduler, which calculates when every device should run:

image

And this needs to be rescheduled live as soon as some device is manually switched on.

Conclusion: undoable to develop such a node for fun in some spare hours in the evening.

So the obvious next question is: are there any existing open-source projects, affordable software, affordable devices that can do this kind of stuff? Have been looking last night, but couldn't find anything useful. But perhaps looking for wrong keywords ...

Bart, have you heard of NILM? Might be interesting for your project.

Sorry - this might be a little bit off topic...

I'm using a PZEM-004T to monitor and report voltage/current/wattage and power-factor. My sensor is located on the main consumer panel, but I don't see any problem (apart from the cost) in using a number of these sensors [Edit] clamped around the live wire of key appliances.

Since publishing the above posting, I've implemented a dynamic band changer for the 'current' gauge.

1 Like

Hi Garry,
Indeed last night all my search criteria eventually lead me to NILM... But I have no brains/time enough to implement this myself. Had hoped that somebody knew a project or device implementing this...

I found nothing promising doing a quick search. I have started visually analysing our devices as I have a MQTT feed from our IHD/CAD manufacturer that gives instantaneous power readings from our smart meter every 12 seconds, whether I can develop a method for discriminating individual devices is something else! If I make progress I will post here.

2 Likes

...the one solution, coming near what has been described here, is maybe this one, from sense: Product – Sense.com
It will learn the signature and you can combine rules/alerts and such with smart plugs and switches.
Edit: see also: Integrations – Sense.com and Sense Labs – Sense.com
Maybe the route via IFTT is an appropriate entrypoint for expanding on the signatures.gathered and create rules and schedules

Perhaps emoncms, at least partly ?

Thanks for the pointer! I can indeed see here that they detect the signature, but I don't see how you can use that to schedule your devices. Have you found that somewhere?

Andrei,
if that could do the job, it would be very useful since there is already a Node-RED node available. And they even have a Node-RED guide on their site. But to be honest I don't see much about power signatures or a scheduler. Seems to me more like follow-up of power consumption only, and no scheduling?

...not yet...there is also an active community https://community.sense.com/ but I tend to believe, that sense does not have an option for actively control something.
Here is another one, which seems to have an option for controlling "things": Use cases - Smappee
Edit: ..and here's the product brief: Infinity - Smart metering by Smappee

1 Like

Hate to say it... but to do this 'right' something you will be happy with long-term? I still suggest you create this incrementally and from scratch. Hence, why I suggested the salesman methodology. :slight_smile: But I do acknowledge my bias as well.

Of course, as soon as I get some time in the near future, I will need to start measuring a single device and so on. But at least I need to know my end goal, in thus case an affordable scheduler.
Still hopibg that someone has the golden tip.

Yup, until you have data trending, the scheduler is not urgent. Moreover, my hunch is, the data trending might even suggest a few ideas or options we have not theorized as yet.

Can't remember now whether this has been covered. But a simply place to start and one with a quick win would be to add a non-invasive monitor on the main power inlet to your property. That way, you could immediately get alerts if the power was spiking or approaching maximum. Personally, I would want that as a backstop anyway even if also using other tooling. I've seen plenty of projects on how to do that as well over the years so it should be pretty easy and relatively cheap to achieve.

2 Likes