Skip to content

Releases: springfall2008/batpred

Fix problem when on a fixed rate tariff

07 Jun 07:47
6d97cd1
Compare
Choose a tag to compare

If there are no charge windows then avoid optimising then (and hence don't crash)

Fix problem with 100% charge when discharge was enabled

07 Jun 07:26
66a7ebc
Compare
Choose a tag to compare

Fix problem with 100% charge when discharge was enabled, GivTCP treats 100% reserve as Eco (Paused) which confused the discharge code and overwrote the reserve back to 4%

Automatic conversion of text to boolean

06 Jun 19:19
c04e44f
Compare
Choose a tag to compare

It's possible to use a boolean config option connected to a switch or sensor, automatically convert the type

Add more configurability around charge and discharge calculation algorithms

06 Jun 19:09
784d921
Compare
Choose a tag to compare
  • Fix bug with non-integer discharge %
  • Stop discharge if soc% target is hit, and count that in the simulation
  • Add more configurability around charge and discharge calculation algorithms
  • Discharge calculates by default oldest slot first, while charge on newest first

Publish min, max, average and threshold rates into rates

06 Jun 13:04
fbd0510
Compare
Choose a tag to compare

Publish min, max, average and threshold rates into rates
Some code tidy up around configuration
Fix rounding to use round to nearest not ceiling

Fix bugs in REST mode

06 Jun 06:51
b03feb3
Compare
Choose a tag to compare
  • Battery scaling not working correctly in REST mode
  • If charge_limit was missing from config in REST mode then there was a crash

Fix bug in discharge only mode

05 Jun 19:27
3803e2f
Compare
Choose a tag to compare

In discharge only mode there was a crash, now fixed

Fix bug in workaround for incorrect battery size reporting

05 Jun 19:11
ee558c9
Compare
Choose a tag to compare

In the case where an incorrect battery sized was detected there was a typo leading to a crash

Fix crash in previous release, add discharge window notifications

05 Jun 15:31
3a7ac07
Compare
Choose a tag to compare

Fix crash in non-REST mode
Add discharge window notifications

Fix file naming issue - many updates to the correct location

05 Jun 13:26
124cbcc
Compare
Choose a tag to compare

** CAUTION: If you have a predbat.py in config/appdaemon/apps please delete it as it should be in config/appdeamon/apps/batpred

In REST mode only, if SOC Max is reported very different from nominal capacity then use nominal
Adjusted sorting algorithm for multi-window sorting to maintain time order when prices are the same
Discharge calculations now dual mass for multi-windows
Fix bug where rates were not replicated for export before calculating windows
Ensure record window range is static throughout calculation
Add debug on soc_min times
Fix a bug where soc_min was being ignored in some cases
Make combining or splitting charge and discharge windows optional
Default discharge windows to combine, now discharge % is being used
By running exactly at the minute slots e.g. 13:00, 13:05, 13:10 it means forced discharge will me more exact
You can now enable charge and discharge predictions on separate options (calculate_best_charge/calculate_best_discharge)
best_min_soc is now taken into account for discharge slots
Discharge percentage is now calculated per discharge slot and the reserve % setting used to control them.