Battery Charge Optimizing Repo with research quality code for optimizing yield from a battery, with hourly prices for charging/discharging