# How to throttle / load balance between utility and battery power supply

Basic queation - What kind of circuit allows me to throttle the power draw from two different supplies? i.e. 80/20 from a battery bank and utility power, respectively? Or 60/40, or 100/0?

Main idea - My utility company has off-peak ($0.048) and on-peak ($0.283) rates for electricity. I want to build something like a Tesla powerwall to capture the low cost power for use during on-peak times.

Specific problem - The battery bank I have in mind could provide 3KW if necessary, but I want the option to "throttle" the maximum output of the battery supply and supplement with mains power as necessary.

Example - litmiting to 2,800 watts:

Demand is 3,500 watts | Battery supplies 2,800 watts | Mains supplies 700 watts

Demand is 2,500 watts | Battery supplies 2,500 watts | Mains supplies 0 watts

Summary - I want to draw from my battery bank as much as possible (while limiting the output a bit to increase their lifespan / cycle count) and supplement with power from utility as needed when demand exceeds what the batteries can supply.

My research:

-Load Balancing- Seems appropriate if I want to draw equal power from 2 or more power supplies. Does not work if I want 80 amps from one and 20 amps from the other..

-Current monitoring- Using hall effect and placing some variable resistor in the line to adjust the voltage on the mains supply to limit current. But can this allow me to throttle the mains current down to 0?

• I'd just run off batteries as long as possible, what's the point of saving your cheap electricity and using the expensive stuff? Aug 15, 2022 at 12:29
• Assuming I dont buy 5 - $700 batteries all at once. But one at a time, and add to it as time passes. I dont want to run batteries down to fast or past 50% capacity. Aug 15, 2022 at 19:11 • There's little benefit in stopping at 50%, 25 to 30% is more realistic. Electric car manufacturers generally suggest down to 20% and up to 80%. Do some calculations to see if the expected increase in lifetime justifies the extra cost of peak electricity vs the stored off-peak electricity you're not using. Aug 16, 2022 at 8:14 • That's a fair point. And 30% isn't unreasonable. [$699.99, 2560Wh, 25.6V, 100A, 4000 cycles minimum, 80%-20%] = $0.114/kWh. Plus,$0.048 makes $0.162/kWh. Still, far cheaper than$0.283. The reason to throttle back the batteries is because at full load they would drain in 1 hour. On-peak lasts 4 hours. Drawing the same total energy over 4 hours at 1/4th the power provides the same total savings, but keeps the batteries cooler and extends the life. Even if it is not completely practical, I'd still like to understand the solution from a theoretical perspective. Intro to circuits didnt cover it Aug 16, 2022 at 11:53