Hacker News new | ask | show | jobs
by 205guy 2245 days ago
This is the future. Using algorithms to optimize usage of renewable energy. Not only will it be lower carbon, it will be cheaper. What's interesting is they describe it working on forecasts (for wind and sun) instead of instantaneous renewable production. I wonder what the rationale for that was? Basing the algorithm on instantaneous information should be more accurate and thus give better savings, but maybe it varied too much to reliably run the loads they want.

Imagine when your fridge can do this: freeze extra cold when the sun is shining (or wind is blowing), don't run the compressor when it's not, only run the blower after you open the door to move that extra cold from the freezer, allow a slightly larger temperature range, and of course run as necessary to avoid spoilage. It's not a simple algorithm, it has to handle various timeframes, such as solar being a daily cycle except there's less in winter and can go for a week or more with very little (storm/overcast). Maybe it could also use a bit of "learning" like the Nest thermostats to also optimize predicted usage.

I know of one commercial product that sort of does this: the Zappi electric car charger. If you have grid-tied solar, it measures the current being fed back to the grid and adjusts the charging current to match. So if a cloud goes over your house, or you turn on a big appliance, the charger reduces the power to the car by the same amount. This maximizes the use of your own solar energy and minimizes the use of grid energy.

https://myenergi.com/product/zappi/

5 comments

> Imagine when your fridge can do this

I've been posting for years that an effective grid "battery" is internet connected refrigerators, water heaters, A/C, car chargers, etc., that only run when power is cheap, i.e. when solar/wind is providing excess power.

A great deal of our demand for electricity is elastic and shiftable, which will eliminate a huge chunk of the need for grid batteries.

Glad to see this finally gaining some traction!

How much of energy consumption even is by households though?

I think people have a strong bias for thinking the things they see and touch during the day are environmentally important. But most "pollution"/energy use happen out of sight from our everyday lives.

Or so I think. Happy to be disproven!

~20% is residential—still significant. Plus ~30% transportation, which as we transition to EVs become more and more relevant to residential energy use.

But even commercial and industrial could be optimized in the same manner. I've been thinking: If electricity is much cheaper during certain periods, would factories be built to only run during those times?

https://www.eia.gov/energyexplained/use-of-energy/

This is already a thing, but it‘s only done at “enterprise scale”. Meaning account managers meet with energy purchasers at large manufacturing plants to negotiate “interruptible supply” contracts. The notice periods, levels and tariffs are all negotiated individually. “Pricing managers” on both sides of the negotiation spend a long time modelling the deals in Excel. If algorithms could replace the pricing managers that would save both sides some time and money though, not to mention making it available to the residential and SME market.
If you're in the UK, then Octopus Agile tariff gives you a variable price and an API with IFTTT integration so that you can switch devices on and off depending upon the current price: https://octopus.energy/agile/
That's really cool, for all the spam/ads I have seen about Octopus I've never seen this before, and this is the first time I'm interested. (Ordinarily I'm only interested in price, viewing it as a straightforward commodity, and Octopus has never been appealing on that ground.)
This is already a thing in Australia
Just because something isn't "environmentally important" (whatever that means) doesn't mean you can't optimize it. We need to shift into the mentality of thinking about the environment. Don't slap the hand that's interested in making a difference.
You can optimize small things, but it will only have a small effect.

Better than nothing, sure, but the danger is that you only deal with the small things because you're not even aware of the big ones.

This will only work with fine-grained energy pricing (on the scale of minutes) and smart meters.

Does this exist anywhere in the world?

Octopus energy in the UK with the beta agile tariff is based on 30 minute pricing and prices have been so low at times such as yesterday that the price per unit has been negative, for example on Sunday and Monday I was paid 4.2 pence per unit to take electricity off the network.
Their web site advertises support for IFTTT. Has anyone here hacked on Octopus APIs? Looks very cool.
Yeah I have a bit. I'm on their Agile energy with half hour pricing intervals (this is what the smart meter standards give).

It's really cool. Sometimes the price goes below zero - "plunge pricing" - if there is too much production and too little use. They give you the pricing info for today and tomorrow ahead of time, not sure how they predict future pricing - probably based on weather forecasts, since they only use solar and wind?

I have WiFi smart sockets on things like electric heaters to turn them on when electricity price is below my threshold level. It's a nice feeling being paid for using electricity. If you have an electric car you could also programmatically only charge it when electricity price is below a certain level. Octopus also have an EV leasing company, thinking of selling my current car and leasing one from them after covid19 is gone to a degree that I still need a car again.

Here are their dev docs:

https://developer.octopus.energy/docs/api/

They even have an open graphQL API and a storybook - how many utility companies you know who do this? Looks like Octopus hired the right people!

https://api.octopus.energy/v1/graphql/

https://octopus.energy/static/common/storybook/account-manag...

Providers are starting to pop up in Australia that support this, and people have been quick to start hacking: https://twitter.com/_______kim/status/1226606021558194176
Griddy in Texas is a wholesale energy provider for consumers that passes on the fees set by the Texas grid regulatory agency every 5 minutes.
I think Griddy is a cool idea but only if you have something to automatically cut your usage when the price spikes to $9 per kWh like it did last summer.
It spiked to the regulatory max of $5, which hit me while I was at work. I still saved money compared to most other energy plans in my area.

Though yes, it would have been better if I could have adjusted.

It does in Australia: https://www.amberelectric.com.au/ (disclaimer: I work there)
I can see you're hiring; I'm on the market, what's your thoughts about the workplace? Super interesting industry!
Not true, it would work with hourly pricing. Still requires smart meters but those are something like 60-70% of homes in the US now. Even without real time or time of use based pricing, load shifting can still be valued and paid for as a service. Look up Demand Response: >$1Bn market in the US.

Edit: https://en.wikipedia.org/wiki/Demand_response

Since solar energy doesn't happen after sunset, the idea can still work even just assuming power is cheaper during daylight.
There are even open protocols used in the wild. SunnyHome has it working for example for using your local solar electricity.
It works well if you can aggregate the distributed resources so they're large enough to bid at the wholesale level.
The market is a little more dynamic than that, wholesale bidding into the ISOs is still the biggest option but many utilities run load shifting programs of various sizes as well.

Still, the conclusion is like you said. There's basically no real-world scenario where it makes sense for a residential customer to go it alone, because they can make at most a couple hundred bucks a year. So makes sense for their device companies or someone else to figure it out with utility and pay thousands of homeowners to agree to participate. Ohmconnect has a cool service in California.

Demand response programs are great because of their scale and ability to provide incentives and command and control without directly interacting with the markets.

The real big thing is aggregating the aggregations. Distributed Energy Management Systems (DERMS) / Virtual Power Plant Management Systems are an active research topic.

one could imagine a company that gives fridges out for FREE and sells the aggregated “balancing energy” to recoup the cost of the fridge.
I like the business model. But it'd surely be advertising at you too. The pressure for the owner to pick up those free dollars would be just too strong.
[deleted]
Sense is great, but way overkill for demand response. Also, measurement needs to be billing grade accuracy, and I don't think Sense is going for that
Fridge is typically placed inside a house, unless we are talking about some alternate kitchen style. If so, ambient temp inside an apartment/house that is already heated or cooled is somewhat constant I assume. If so, where is the savings?

Also freezing it more in day doesn’t allow me to freeze less at night. If I don’t open the door at all, then the insulation is already taking care of this. What am I missing?

There are a few things going on here.

First we need to address the basic premise that could allow this to make sense at all in some house or environment -- that one can afford to freeze less during the day if they freeze it more at night (or vice versa).

For a fridge this is hard because you're usually targeting a narrow temperature band (don't want to accidentally freeze your veggies), but for a freezer it usually doesn't matter if you get it 10-20 degrees too hot or too cold as long as everything remains frozen. In that case, your losses (whether they're through the insulation or an open lid) will be higher with a colder freezer, so even if you could get your freezer down to e.g. -200 it might not be cost advantageous to do so, but colder temperatures definitely buy you some extra time. E.g. if normally your freezer is at -5 and you instead cool it down to -10, there will be a nonzero amount of time before it heats back up to -5 again (and the amount of time can be large if your freezer is well insulated and has a high thermal mass).

The "closed system" aspect of this is also interesting.

The cheap answer is that not all houses are heated or cooled (mine isn't), so you can sometimes ignore that part of the equation.

A better answer is that everything mostly works out the same even for closed systems. Suppose you have A/C that cools your home to a target temperature. When your freezer is running it moves heat into the living space, which then needs to be moved outside. As a system, you can pretend those two units are working together to move that same quantity of heat outside, and when the freezer is off you're just not operating that entire heat pumping system (assuming linear power demands and a host of other things to make the example tractable in a comment). While the freezer is off it will also assist in cooling the room down, further alleviating A/C power demands during peak hours (not alleviating them much, but helping nonetheless).

If you're instead heating the room to a target temperature, everything works a bit in reverse. The freezer alleviates heating costs while it's running and exacerbates them while it's off (and critically, it exacerbates them more than if you assumed a constant, low power draw because we're intentionally decreasing it's temperature below a typical freezer level and thus increasing the rate at which heat will enter it from the apartment by some small amount). Assuming you were trying to run the freezer during low cost hours, that effect might be large enough to offset any gains. I doubt it, but that's just a hunch, and I haven't run any hard numbers yet.

It might not be a good idea to temperature cycle your freezer contents, as it speeds up degradation.
Dang, I can't find it right now, but there's a service out there that pays you to reduce your consumption on demand. Use their app to link up with your smart appliances and stuff, and the rest does itself.

Basically they've plugged into the ISO as a "generation" resource, and when the price of power goes high enough, they say "okay we can produce that much power", and they have all their users reduce that much power, which has the same effect. They get paid for the power, and pass some of it along to their users.

The problem is that with modern fridges energy consumption is already low enough that steering that through smart meters probably isn't worth the investment. Large companies could use that, esp with electric heating. But in residential areas, I think energy efficiency can still yield greater results.
There should just be a common protocol for all electical devices - heaters, washing machines, vacuum cleaners, computers, TVs, toasters - everything. Some devices might ignore it, but they should still have the data port and the microcontroller responding with "power regulation not supported". The state should regulate that like it regulates normal power sockets, it's a net benefit for everybody and the cost is minimal.

We can just add usb port to regular wall sockets and make a new power plug with that.

Of course the socket should be backward compatible, but any new devices would require the full plug and responding to the protocol.

Over 10 years we could have an effective grid-wide gigawatthour battery. And everybody would only pay for it like 5 USD every time they buy a new device :)

The cost of a cheap microcontroller, power regulator and an usb plug is like <5 USD. And the possibilities of energy savings are huge. There are also big usability improvements (want to have lights learning your habits and pretending you're home when you're on vacations - someone will make that product).

Want to make sure you switched off that iron when you went to a party? No problem - connect with a smarpthone and check (and switch it off if needed).

There could be several categories of devices with different priorities and default power settings that you could change if you want to:

- background, critical

- background, optional

- background, opportunistic

- interactive, critical

- interactive, optional

- interactive, dangerous if left alone

- bidirectional (like Tesla wall, or a car charger if you want to power your house from your car battery when there is a blackout)

And the house could detect if you're home, and disable the iron if you're not and throttle the freezer and all heaters to optimize the power usage.

Automated vacuum cleaners nad chargers could start by themselves when the energy is effectively free and stop for a moment when there's a shortage.

This will get especially important when electric cars are more common - you don't want everybody to start charging them when they get back home.

I do agree with your overall suggestion, but it would be a mission impossible to change sockets. Indeed, technology for communication over power-lines are nothing new, and doesn't require a new socket/wiring: https://en.wikipedia.org/wiki/Power-line_communication

A grid supply status, could empower next gen energy saving home appliances. This could be implemented as simple as pricing, the ultimate incentive. Price would fluctuate on the wire, just like it does for energy market.

> it would be a mission impossible to change sockets

Why? I lived through one such change in last 30 years (switching from 2-pole europlugs to CEE 7/7). They are backward-compatible, but so would be the usb+power plugs.

We also switched from 60 Hz 240V to 50Hz 230V some time in 00s (don't remember exacty, it was a non-event).

As for incentives new electronic devices should simply be reqired to have these plugs and microcontrollers, like now we require them to have fuses and certain wire gauge, etc.

Why depend on a hack when you can do it right?

Adding a data bus to all lines would be a much bigger deal than changing sockets for existing lines or running a slightly different voltage (often within tolerance of the power supplies anyway!) over the same wires.

And USB isn't meant to operate over those long distances. So you'd either need some active component in each socket or devise a new standard.

People are hacking together some interesting things in this space: https://fridge0.branchable.com
> A great deal How much in % ?
>> What's interesting is they describe it working on forecasts (for wind and sun) instead of instantaneous renewable production. I wonder what the rationale for that was? Basing the algorithm on instantaneous information should be more accurate and thus give better savings

The article says they are “shifting the timing of our compute tasks”, so if they think that there will be cheap electricity later in the day (because it’s going to be especially windy or something) it would make sense for them to schedule some of their heavy compute tasks at that time, rather than right now.

Afaik, the speed with which a cold (or hot) body converges to room temperature is exponential. Maybe that limits the smart fridge idea?
It limits the rate at which you can dump energy without excessive temperature excursions.

If you have the space, you can put thermal mass (e.g. water) between the cooler and produce, acting as a cheap thermal battery dampening temperature oscillations. It's often done in off-grid situations.

And stop the train when the wind is not blowing or it is cloudy.
The train can carry batteries that could also be charged through regenerative braking.
The future is nuclear power, and when companies buy hardware they use it at max performance around the clock because energy is cheap and does not depend on weather.

There’s huge lie (by omission) about renewables: nobody explained how to convert the world to 100% renewable energy without coal backup.

Coal and nuclear are both inflexible power sources, they are either on or off, and they are hard to turn on and off. Nuclear does have the benefit of being cheap after very high initial capital costs. Natural gas is a much better backup to renewables however, since it can turned on and off at will. Dam hydroelectric also has that nice quality (send water through the generator when you need it, otherwise let it stay in the reservoir).

Given nuclear’s inflexibility, doing untimely work when less electricity is needed for more timely needs is also a win.

I don’t see nuclear making it big any time soon. There’s too much up front costs, but in theory one could make use of any excess heat during off peak hours.

For example desalination, hydrogen production, indoor growing with the light cycle at night or whenever the low demand period is, etc...

For the near future I’d only expect small modular reactors to see much use in areas with unreliable sunlight for chunks of the year. Especially since they could use the waste heat for heating/growing.

Nuclear with hydro/pumped storage is an interesting combo: use the extra nuclear power to pump water up into a reservoir and then when extra energy is needed, move the water down through a turbine. The reservoir is basically a battery in this context.

Waste heat isn’t really recyclable, or it wouldn’t be waste heat :).

To generate electricity you need a hot side and a cool side.

The huge towers on power plants are for cooling the warm (waste) output. If you can get someone to cool your warm waste water even further than the cooling towers would, it would both increase efficiency of electricity generation, and use the boatloads of low grade heat for something useful.

You still need independent cooling capability either way.

Nuclear's inflexibility is not a barrier to countries like France generating over 70% of its electricity from it. Energy demand fluctuations throughout the day are significant but not huge - usually ~20% different from peak to trough.
“they are either on or off”

This is not true about neither nuclear nor coal.

Nuclear reaction can be slowed down, coal furnace can be used with lower amount of coal at lower temperature.

Nuclear does not need to be turned on or off spontaneously. Nuclear power plant can increase or decrease power smoothly, and that’s practically enough because consumption patterns are easily predicted.

The inflexibility you are describing is nonissue.

High capital cost is. But the largest issue is irrational fears of voters.

Edit: nuclear or coal are not on or off

They can be slowed down. True.

But that takes minutes or hours to do. And on anything but 100% power, the fuel innefficiency is bad. That latter is mostly a problem with coal, but even nuclear is burning fuel and costing wear.

Plants can be optimized to react really fast, or run efficient on lower capacity, or run efficient on max capacity. Choose one.

There’s no need to change power output rapidly. Power demand can predicted very well. Sorry, I didn’t understand your argument.
You're right that power consumption is predictable. But looking at some great-parent posts I'd assume we're still talking about using nuclear as backup for renewable sources. In this case, often the renewable power production is the bigger variable factor in my opinion, and it's less predictable than usage patterns.
> There’s huge lie (by omission) about renewables

I live in Scotland. We now get around 90% of our electricity from renewables. We closed our last coal power station in 2016.

Perhaps you should consider checking your theories against reality before accusing others of lying?

Don't cut off quotes mid sentence:

> There’s huge lie (by omission) about renewables: nobody explained how to convert the world to 100% renewable energy without coal backup.

Because not everywhere in the world has access to hydroelectric power. The point remains: there is no plan to power the world with renewables without a fossil fuel backup. At least not any feasible plan - batteries don't scale, and the Sabatier processes has well below 50% round trip efficiency.

> Don't cut off quotes mid

You managed to get the gist.

You don't need a plan to power the world. Try a plan to power your own state and let the rest of the world sort itself out. When you're at 80% renewables and then get stuck, then I'll believe it's an issue. Not when you're at 20% and handwaving theoretical excuses.

Not every country has so small population and access to hydropower. Sure some small counties can go 100% renewables but it doesn’t scale.
Yes it does. Countries with bigger populations can do more, not less. That should be obvious.
Coal backup is incompatible with renewables. The coal plants clog the grid and prevent the usage of renewables. If you had said gas then those same gas plants could be used to convert hydrogen back into electricity.
It is the opposite: coal plants are turned on only when renewables do not produce.

And I didn’t get about hydrogen. Who can produce hydrogen?