Replies: 3 comments 7 replies
-
I know that it isn't free for you, assuming that you are not an early adopter, and bearing in mind their warning about an uncertain future, and also you are asking about forecasting rather than just charging excess generation, but that said, this does seem like a very close fit to what you are after in terms of dumping excess generation into an EV, battery, of both, with a lot of smarts and customisation, but not much forcasting. Now, back to your question: could you find all half hours where the 90% power was forecast to exceed a threshold, and sum the expected energy? Yes, the data is all there, as is the same for the standard forecast. You could potentially then use that to make decisions about bringing forward loads. But, to the extent that ChargeHQ has a real-time solution, it is perfect for diverting zero-value solar to an EV or household battery. |
Beta Was this translation helpful? Give feedback.
-
So I came up with this:
There's potentially a tidier way to do it with filters, but a for loop can be clearer imo, though the jinja namespace stuff messes it up a bit. Regardless, this runs through the home assistant template engine and spits out 14.96 kWh, and my sensor tracking how much I generated above the threshold today (which runs based off 10second interval data) shows 14.70kWh - and today the generation matched forecast pretty well. But it does seem to show the 30 minute data is accurate enough without interpolation (or potentially today was a fluke). But I'll set it up as a template sensor and give it go. |
Beta Was this translation helpful? Give feedback.
-
I looked at doing similar in-integration, but it's actually quite hard to look at other sensors in HA from an integration, so that idea was quietly shelved. I really like this idea, @bajarrr. I'm going to take a slightly different approach to calculating what's likely to be wasted if not used, because different circumstances. Basically, the way things around my house goes during the day is that I am 0% reserve on two PowerWalls, so I use every last Watt if I need to. These can charge at a maximum rate of 10kW, and given a 13.2kW DC solar array there is hardly ever any spare power going begging until the beauties are full, which I want (well, I'd prefer 80% max to prolong battery lifespan, but that is what it is). Max solar and battery max charge are therefore quite balanced by design, so no curtailment should be expected until they're full. There's 27.9kWh of battery, but it takes more energy to charge a battery than you can get out of it. My rough math says 31kWh to fill it, which factors charging losses, plus the overhead of the gubbins to charge it, like watercooling, etc. So I keep an estimated running tally of the expected state of charge in the jinja below. Next I consider that this joint constantly chews power, even when I am not here. That's the 0.8kW typical load. (Central heating, fridges, network, server, etc.) This also slows the charge rate. After the battery is full, my feed-in max is 5kW here, and the forecasted left-overs are the expected curtailed generation for the day, again reduced by whatever is expected base load. In non-Summer months, my plan is to check in an automation that the battery is full, and there's curtailment expected, so run the pool filter or other non-essential stuff for a while until "while" runs out, or until actual generation vs. consumption says I'm leaving feed-in tarrif on the table. Well that's the proposal, given this has not seen real life yet.
|
Beta Was this translation helpful? Give feedback.
-
I realize this idea might be a bit niche, and I'm not sure how complicated it'd be to implement, but thought it worth asking the lovely people here :).
The idea is to have some of the forecast energy sensors report the amount of energy generated when system is above a certain power threshold, i.e. similar to current energy sensors, but only for when forecast power is above a threshold (say 10kW).
For context, I get paid for energy I export to the grid, but my electricity provider limits the power I'm allowed to export, so I have a system that is capable of generating 15kW, but my export limit is 10kW. In determining when to use certain loads (in particular home battery or EV), targeting the time periods when the system is export limiting is particularly advantageous, as the energy is free (i.e., I'm not forgoing export).
Having the ability to see what energy is contained in this 'export-limited' section of the power curve (i.e. just the area of the forecast curve above 10kW) would allow me much more intelligent decisions for battery charging. For example, if the forecast90 shows there's only 2kWh expected then charge up to 8kWh from the general solar energy, and wait to soak up that bit of free energy. If however there's potentially a large amount of free energy, then don't charge in the morning, and charge mostly from the export limited energy.
Some parts of the year have none of this energy available for me, and I can detect that in the forecast by looking at the Peak Power Today/Tomorrow sensors (and do certain things is peak power <10kW), but knowing the expected magnitude of the maximum energy would help automating these decisions greatly.
Even some dynamic decisions would be available with a 'free energy remaining today' type sensor.
I understand the solcast integration calculates a 5 minute interpolated forecast power so I'm assuming this could be used to calculate the energy values that'd really help me, but I don't know enough python or enough about the code to understand if there are complications to what I'm asking for.
Thanks in advance for any insight/help/work anyone can offer.
Beta Was this translation helpful? Give feedback.
All reactions