Skip to content

Instantly share code, notes, and snippets.

@birkin
Last active August 17, 2023 02:37
Show Gist options
  • Save birkin/9e1faafc60380eaefd6394b1f75cf952 to your computer and use it in GitHub Desktop.
Save birkin/9e1faafc60380eaefd6394b1f75cf952 to your computer and use it in GitHub Desktop.
solar/battery plan

Solar/Battery Plan...

on this page...


Vision

  • Have a roof solar array that feeds a battery.

  • Use the battery to power the house.

    • If there's a smart-inverter that can directly send solar power to the house once the batteries are charged, that's fine too.

General requirements

  • Automatically use grid-power (when available) if the house's electrical needs exceed what the battery inverter(s) can provide.

  • Be able, via software, from anywhere, to configure the lower level at which the battery will stop powering the house, and grid-power will kick in. Normally I'd set this to, say, 30%, but would change it to, say, 80% if I knew a storm was coming.

  • Be able, via software, from anywhere, to charge the battery from the grid to a specified high amount (example: if I know a storm is coming).

  • Be able to power a 120-volt well-pump (including surge) from the battery. If that needs to be replaced at some point with a 240-volt well-pump, be able to power that, with its surge (possibly mitigated by a soft-start-device), from the battery.

  • Have the battery/inverter/gateway software let the utility-company pay me to allow it to use a configurable part of the battery as part of a virtual-power-plant (see https://www.rienergy.com/RI-Home/ConnectedSolutions/BatteryProgram).

  • Be able to add one or two additional backyard solar arrays down the road.

  • Be able to add battery-capacity down the road. I envision eventually having two EVs, an electric-dryer, an electric-stove/oven, etc.

  • Be able to either have as large an inverter as possible -- or have two battery-banks with some circuits powered by one battery-inverter, and others by another inverter.

General expected usage

  • (Requirement) Be able, via software, from anywhere, to set the battery to get down to 30%, and then use grid-power to power the house, below that level, so I have a small buffer in the event of an unexpected outage.

Bad-weather expected usage

  • (Requirement) Be able, via software, from anywhere, to set the battery to get no lower than, say, 80% state-of-charge if I know a storm is coming.

  • (Requirement) Be able to charge the battery from 120-volt AC-input (that input could be a from a generator, but my goal would be to use an EV with an AC-outlet).

Other requirements

  • Time-of-use pricing:
    • Right now Rhode Island doesn't have variable-time-of-use pricing, so having all solar power go to the battery, and having all electrical use come from the battery (up to the capability of the inverter) is fine. But if Rhode Island would either switch to variable-time-of-use pricing -- or if it were to pay a high-price for supplying electricity:
      • (Requirement) Be able, via software, from anywhere, to program the solar-controller to direct solar power to the grid vs the battery for configurable hour-ranges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment