76_SolarForecast - Informationen/Ideen zu Weiterentwicklung und Support

Begonnen von DS_Starter, 11 Februar 2024, 14:11:00

Vorheriges Thema - Nächstes Thema

DS_Starter

@Lars, kurze Zwischeninfo.
So wie es aussieht, ist nicht AI::FANN Drift direkt ein Auslöser, aber ein am Ende der Sub ausgeführter Schreibvorgang scheint es zu sein.
Im aktuellen Code ist der Schreibvorgang in den Zeilen 12152 - 12204 zu finden.
Die Erzeugung des Models selbst ist durch FHEM::SolarForecast::AiFannModelWrapper Speicher-Save gestaltet. Das Augenmerk richtet sich nun auf den Test des Objektes mit $obj->MSE() was einen XS-Call darstellt.
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

DS_Starter

@Wolle02,

anbei das Ergebnis vom Batterie-Ladetest den wir heute früh gestartet haben.
Es hat defacto eine Punktlandung gegeben. 14:15 war die Bat bei 99%, also kurz davor bei 98%.
Die Steuerung funktioniert also einwandfrei.
Möglicherweise hast du den Zeitpunkt zu weit nach hinten verlagert, dass die Steuerung überhaupt nicht in der Lage sein kann (wegen der PV und CON / Überschußlage) den SoC so spät auf das erforderliche Level zu ziehen. Das System überstimmt dann die Zeitvorgabe und versucht den SoC bestmöglich zu erreichen.
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

Wolle02

Hallo Heiko,

ich kann deine Freude leider nicht teilen.  ;)
Ich habe derzeit folgende Einstellung im ctrlBatSocManagement01:

lowSoc=7 upSoC=60 maxSoC=95 careCycle=20 loadStrategy=smartPower loadTarget=100:-2

Sonnenuntergang war heute bei mir um 19:15 Uhr. Laut der Einstellung wäre die Zielzeit also 17:15 Uhr bzw. 17:00 Uhr gewesen. Um 17:00 Uhr hatte ich immer noch 2000 Watt auf der Anlage; ein zu weit nach hinten gelagerter Zeitpunkt kann also eigentlich nicht sein. Ergo hätte die Batterie um 17 Uhr 100% erreicht haben sollen. Fakt ist, dass die Batterie auch bei mir um 14 Uhr voll war.

Ich habe drei Snapshot heute gemacht. um 09 Uhr, um 13 Uhr und um 15 Uhr.
Die Logfiles mit den Debugeinträgen sind hier. Die Screenshot habe ich angehängt.

2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ######################### Start Battery Management DebugLog #########################
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> setup values: lowSoc=7 %, upSoc=60 %, maxSoc=95 %, stepSoc=5 %, careCycle=20
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> pvHistory values: yesterday=22, batymaxsoc=100.0 %, batysetsoc=5 %
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> current values: SoC=25.7 %
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> Battery share factor of total required load: 1.00
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> today -> PV fc: 27615 Wh, con till sunset: 15788 Wh, Surp: 11827 Wh
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> tomorrow -> PV fc: 18713 Wh, con till sunset: 15590 Wh, Surp: 7020 Wh (75% con)
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> selected energy for charging (the higher positive Surp value from above): 11827 Wh
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> expected energy for charging after application Share factor: 11827 Wh
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - compare with SoC history -> preliminary new Target: 0 %
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> SoC Step2 Bat 01 - basics -> Energy expected for charging: 11827 Wh, need until maxsoc: 7096 Wh
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> SoC Step2 Bat 01 - calc care SoC -> docare: 0, care SoC: 0 %, use preliminary Target: 0 % (new care SoC calc & act postponed to after 23.09.2026 13:15:00)
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> SoC Step3 Bat 01 - basics -> max SOC so that predicted PV can be stored: -15 %, newtarget: -15 %
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> SoC Step3 Bat 01 - charging probability -> docare: 0, Target: 0 % (new target < current Target SoC 5)
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> SoC Step4 Bat 01 - basics -> docare: 0, lowSoc: 7 %, upSoc: 60 %
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> SoC Step4 Bat 01 - observe low/up limits -> Target: 7 %
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> SoC Step5 Bat 01 - rounding the SoC to steps of 5 % -> Target: 5 %
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> SoC Step6 Bat 01 - force charging request: no (Battery is sufficiently charged)
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeMgmt - Inverter 'BKW_800' cap: 800 W, Power limit: 100 % -> Pmax eff: 800 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeMgmt - Inverter 'Fronius_Symo_Gen24' cap: 6000 W, Power limit: 100 % -> Pmax eff: 6000 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeMgmt - Inverter 'BKW_600' cap: 600 W, Power limit: 100 % -> Pmax eff: 600 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeMgmt - Summary Power limit of all Inverter (except feed 'grid'): 7400 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeMgmt - The limit for grid feed-in is: 4000 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - selected charging strategy: smartPower
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - general load termination condition: 0
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - control time Slot - Slot start: 00:00, Slot end: 23:59
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - control barrier SoC: 0 % / 0 Wh
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - control barrier Parameter: -
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - Battery efficiency used: 87 %
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - weighted self-consumption: 0 %
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - Target load and target time: 100 % / 10240 Wh / 17 oclock
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - Percentage of the total amount of charging energy required: 100.0 %
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - The PV generation, consumption and surplus listed below are based on the battery's share of the total amount of charging energy required!
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 - used safety margin: 20 %
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 - charging target: 10240 Wh, E requirement incl. efficiency: 8745 Wh -> target likely achievable? yes
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 - Ratio of remaining surplus 10888 Wh / energy requirement to achieve the load target: 124.51 %
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/09 - hod:10/00, lr/lc:1/1, SocS/E:2632/4068 Wh, SurpH/D:1651/10888 Wh, OTP:1774/1478 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/10 - hod:11/01, lr/lc:1/1, SocS/E:4068/5550 Wh, SurpH/D:1921/9320 Wh, OTP:1703/1419 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/11 - hod:12/02, lr/lc:1/1, SocS/E:5550/6793 Wh, SurpH/D:1429/7399 Wh, OTP:1618/1348 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/12 - hod:13/03, lr/lc:1/1, SocS/E:6793/8172 Wh, SurpH/D:2448/5970 Wh, OTP:1585/1321 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/13 - hod:14/04, lr/lc:1/1, SocS/E:8172/9413 Wh, SurpH/D:1955/3522 Wh, OTP:1427/1189 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/14 - hod:15/05, lr/lc:1/1, SocS/E:9413/10240 Wh, SurpH/D:1567/1567 Wh, OTP:1140/950 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/15 - hod:16/06, lr/lc:0/1, SocS/E:10240/10240 Wh, SurpH/D:0/0 Wh, OTP:0/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/16 - hod:17/07, lr/lc:0/1, SocS/E:10240/10240 Wh, SurpH/D:0/0 Wh, OTP:0/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/17 - hod:18/08, lr/lc:0/1, SocS/E:10240/10240 Wh, SurpH/D:0/0 Wh, OTP:0/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/18 - hod:19/09, lr/lc:0/1, SocS/E:10240/9297 Wh, SurpH/D:0/0 Wh, OTP:0/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/19 - hod:20/10, lr/lc:1/1, SocS/E:9297/8596 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/20 - hod:21/11, lr/lc:1/1, SocS/E:8596/7771 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/21 - hod:22/12, lr/lc:1/1, SocS/E:7771/7088 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/22 - hod:23/13, lr/lc:1/1, SocS/E:7088/6481 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/23 - hod:24/14, lr/lc:1/1, SocS/E:6481/6021 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/00 - hod:01/15, lr/lc:1/1, SocS/E:6021/5567 Wh, SurpH/D:0/6625 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/01 - hod:02/16, lr/lc:1/1, SocS/E:5567/5239 Wh, SurpH/D:0/6625 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/02 - hod:03/17, lr/lc:1/1, SocS/E:5239/4925 Wh, SurpH/D:0/6625 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/03 - hod:04/18, lr/lc:1/1, SocS/E:4925/4589 Wh, SurpH/D:0/6625 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/04 - hod:05/19, lr/lc:1/1, SocS/E:4589/4217 Wh, SurpH/D:0/6625 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/05 - hod:06/20, lr/lc:1/1, SocS/E:4217/3795 Wh, SurpH/D:0/6625 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/06 - hod:07/21, lr/lc:1/1, SocS/E:3795/3280 Wh, SurpH/D:0/6625 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/07 - hod:08/22, lr/lc:1/1, SocS/E:3280/2819 Wh, SurpH/D:0/6625 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/08 - hod:09/23, lr/lc:1/1, SocS/E:2819/2321 Wh, SurpH/D:0/6625 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/09 - hod:10/24, lr/lc:1/1, SocS/E:2321/2515 Wh, SurpH/D:223/6625 Wh, OTP:10000/2193 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/10 - hod:11/25, lr/lc:1/1, SocS/E:2515/3466 Wh, SurpH/D:1093/6402 Wh, OTP:10000/2193 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/11 - hod:12/26, lr/lc:1/1, SocS/E:3466/3629 Wh, SurpH/D:187/5309 Wh, OTP:10000/2193 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/12 - hod:13/27, lr/lc:1/1, SocS/E:3629/4398 Wh, SurpH/D:884/5122 Wh, OTP:10000/2193 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/13 - hod:14/28, lr/lc:1/1, SocS/E:4398/5426 Wh, SurpH/D:1182/4238 Wh, OTP:10000/2193 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/14 - hod:15/29, lr/lc:1/1, SocS/E:5426/5711 Wh, SurpH/D:328/3056 Wh, OTP:10000/2193 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/15 - hod:16/30, lr/lc:1/1, SocS/E:5711/7371 Wh, SurpH/D:1908/2728 Wh, OTP:10000/2193 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/16 - hod:17/31, lr/lc:1/1, SocS/E:7371/7758 Wh, SurpH/D:445/820 Wh, OTP:10000/512 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/17 - hod:18/32, lr/lc:1/1, SocS/E:7758/8084 Wh, SurpH/D:375/375 Wh, OTP:10000/0 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/18 - hod:19/33, lr/lc:1/1, SocS/E:8084/7931 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/19 - hod:20/34, lr/lc:1/1, SocS/E:7931/7229 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/20 - hod:21/35, lr/lc:1/1, SocS/E:7229/6524 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/21 - hod:22/36, lr/lc:1/1, SocS/E:6524/5973 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/22 - hod:23/37, lr/lc:1/1, SocS/E:5973/5440 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/23 - hod:24/38, lr/lc:1/1, SocS/E:5440/5018 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/00 - hod:01/39, lr/lc:1/1, SocS/E:5018/4558 Wh, SurpH/D:0/9691 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/01 - hod:02/40, lr/lc:1/1, SocS/E:4558/4268 Wh, SurpH/D:0/9691 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/02 - hod:03/41, lr/lc:1/1, SocS/E:4268/3953 Wh, SurpH/D:0/9691 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/03 - hod:04/42, lr/lc:1/1, SocS/E:3953/3607 Wh, SurpH/D:0/9691 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/04 - hod:05/43, lr/lc:1/1, SocS/E:3607/3213 Wh, SurpH/D:0/9691 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/05 - hod:06/44, lr/lc:1/1, SocS/E:3213/2767 Wh, SurpH/D:0/9691 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/06 - hod:07/45, lr/lc:1/1, SocS/E:2767/2221 Wh, SurpH/D:0/9691 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/07 - hod:08/46, lr/lc:1/1, SocS/E:2221/1714 Wh, SurpH/D:0/9691 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/08 - hod:09/47, lr/lc:1/1, SocS/E:1714/1620 Wh, SurpH/D:0/9691 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/09 - hod:10/48, lr/lc:1/1, SocS/E:1620/2706 Wh, SurpH/D:1248/9691 Wh, OTP:10000/2375 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/10 - hod:11/49, lr/lc:1/1, SocS/E:2706/4503 Wh, SurpH/D:2066/8443 Wh, OTP:10000/2375 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/11 - hod:12/50, lr/lc:1/1, SocS/E:4503/5955 Wh, SurpH/D:1669/6377 Wh, OTP:10000/1919 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/12 - hod:13/51, lr/lc:1/1, SocS/E:5955/7284 Wh, SurpH/D:1528/4708 Wh, OTP:10000/1832 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/13 - hod:14/52, lr/lc:1/1, SocS/E:7284/8671 Wh, SurpH/D:1594/3180 Wh, OTP:10000/1832 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/14 - hod:15/53, lr/lc:1/1, SocS/E:8671/10051 Wh, SurpH/D:1586/1586 Wh, OTP:10000/1823 W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/15 - hod:16/54, lr/lc:1/1, SocS/E:10051/10051 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/16 - hod:17/55, lr/lc:1/1, SocS/E:10051/10051 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/17 - hod:18/56, lr/lc:1/1, SocS/E:10051/10051 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/18 - hod:19/57, lr/lc:1/1, SocS/E:10051/10051 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/19 - hod:20/58, lr/lc:1/1, SocS/E:10051/9262 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/20 - hod:21/59, lr/lc:1/1, SocS/E:9262/8467 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/21 - hod:22/60, lr/lc:1/1, SocS/E:8467/7878 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/22 - hod:23/61, lr/lc:1/1, SocS/E:7878/7324 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 09:03:00 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/23 - hod:24/62, lr/lc:1/1, SocS/E:7324/6868 Wh, SurpH/D:0/0 Wh, OTP:10000/- W

2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ######################### Start Battery Management DebugLog #########################
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> setup values: lowSoc=7 %, upSoc=60 %, maxSoc=95 %, stepSoc=5 %, careCycle=20
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> pvHistory values: yesterday=22, batymaxsoc=100.0 %, batysetsoc=5 %
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> current values: SoC=78.4 %
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> Battery share factor of total required load: 1.00
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> today -> PV fc: 15645 Wh, con till sunset: 9813 Wh, Surp: 5832 Wh
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> tomorrow -> PV fc: 19206 Wh, con till sunset: 16493 Wh, Surp: 6836 Wh (75% con)
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> selected energy for charging (the higher positive Surp value from above): 6836 Wh
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> expected energy for charging after application Share factor: 6836 Wh
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - compare with SoC history -> preliminary new Target: 0 %
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> SoC Step2 Bat 01 - basics -> Energy expected for charging: 6836 Wh, need until maxsoc: 1700 Wh
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> SoC Step2 Bat 01 - calc care SoC -> docare: 0, care SoC: 0 %, use preliminary Target: 0 % (new care SoC calc & act postponed to after 23.09.2026 13:15:00)
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> SoC Step3 Bat 01 - basics -> max SOC so that predicted PV can be stored: 33 %, newtarget: 0 %
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> SoC Step3 Bat 01 - charging probability -> docare: 0, Target: 0 % (new target < current Target SoC 5)
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> SoC Step4 Bat 01 - basics -> docare: 0, lowSoc: 7 %, upSoc: 60 %
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> SoC Step4 Bat 01 - observe low/up limits -> Target: 7 %
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> SoC Step5 Bat 01 - rounding the SoC to steps of 5 % -> Target: 5 %
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> SoC Step6 Bat 01 - force charging request: no (Battery is sufficiently charged)
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeMgmt - Inverter 'BKW_800' cap: 800 W, Power limit: 100 % -> Pmax eff: 800 W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeMgmt - Inverter 'Fronius_Symo_Gen24' cap: 6000 W, Power limit: 100 % -> Pmax eff: 6000 W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeMgmt - Inverter 'BKW_600' cap: 600 W, Power limit: 100 % -> Pmax eff: 600 W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeMgmt - Summary Power limit of all Inverter (except feed 'grid'): 7400 W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeMgmt - The limit for grid feed-in is: 4000 W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - selected charging strategy: smartPower
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - general load termination condition: 0
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - control time Slot - Slot start: 00:00, Slot end: 23:59
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - control barrier SoC: 0 % / 0 Wh
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - control barrier Parameter: -
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - Battery efficiency used: 87 %
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - weighted self-consumption: 0 %
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - Target load and target time: 100 % / 10240 Wh / 17 oclock
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - Percentage of the total amount of charging energy required: 100.0 %
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - The PV generation, consumption and surplus listed below are based on the battery's share of the total amount of charging energy required!
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 - used safety margin: 20 %
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 - charging target: 10240 Wh, E requirement incl. efficiency: 2543 Wh -> target likely achievable? yes
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 - Ratio of remaining surplus 3654 Wh / energy requirement to achieve the load target: 143.72 %
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/12 - hod:13/00, lr/lc:1/1, SocS/E:8028/8050 Wh, SurpH/D:2375/3654 Wh, OTP:1529/1274 W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/13 - hod:14/01, lr/lc:1/1, SocS/E:8050/9376 Wh, SurpH/D:2367/3614 Wh, OTP:1524/1270 W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/14 - hod:15/02, lr/lc:1/1, SocS/E:9376/10240 Wh, SurpH/D:1247/1247 Wh, OTP:1192/993 W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/15 - hod:16/03, lr/lc:0/1, SocS/E:10240/10240 Wh, SurpH/D:0/0 Wh, OTP:0/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/16 - hod:17/04, lr/lc:0/1, SocS/E:10240/10240 Wh, SurpH/D:0/0 Wh, OTP:0/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/17 - hod:18/05, lr/lc:0/1, SocS/E:10240/10240 Wh, SurpH/D:0/0 Wh, OTP:0/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/18 - hod:19/06, lr/lc:0/1, SocS/E:10240/9254 Wh, SurpH/D:0/0 Wh, OTP:0/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/19 - hod:20/07, lr/lc:1/1, SocS/E:9254/8395 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/20 - hod:21/08, lr/lc:1/1, SocS/E:8395/7566 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/21 - hod:22/09, lr/lc:1/1, SocS/E:7566/6864 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/22 - hod:23/10, lr/lc:1/1, SocS/E:6864/5990 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/23 - hod:24/11, lr/lc:1/1, SocS/E:5990/5224 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/00 - hod:01/12, lr/lc:1/1, SocS/E:5224/4704 Wh, SurpH/D:0/7697 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/01 - hod:02/13, lr/lc:1/1, SocS/E:4704/4275 Wh, SurpH/D:0/7697 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/02 - hod:03/14, lr/lc:1/1, SocS/E:4275/3881 Wh, SurpH/D:0/7697 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/03 - hod:04/15, lr/lc:1/1, SocS/E:3881/3545 Wh, SurpH/D:0/7697 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/04 - hod:05/16, lr/lc:1/1, SocS/E:3545/3129 Wh, SurpH/D:0/7697 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/05 - hod:06/17, lr/lc:1/1, SocS/E:3129/2658 Wh, SurpH/D:0/7697 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/06 - hod:07/18, lr/lc:1/1, SocS/E:2658/1838 Wh, SurpH/D:0/7697 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/07 - hod:08/19, lr/lc:1/1, SocS/E:1838/1124 Wh, SurpH/D:0/7697 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/08 - hod:09/20, lr/lc:1/1, SocS/E:1124/717 Wh, SurpH/D:0/7697 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/09 - hod:10/21, lr/lc:1/1, SocS/E:717/830 Wh, SurpH/D:130/7697 Wh, OTP:10000/2008 W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/10 - hod:11/22, lr/lc:1/1, SocS/E:830/1382 Wh, SurpH/D:634/7567 Wh, OTP:10000/2008 W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/11 - hod:12/23, lr/lc:1/1, SocS/E:1382/2764 Wh, SurpH/D:1588/6933 Wh, OTP:10000/2008 W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/12 - hod:13/24, lr/lc:1/1, SocS/E:2764/3373 Wh, SurpH/D:700/5345 Wh, OTP:10000/2008 W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/13 - hod:14/25, lr/lc:1/1, SocS/E:3373/4893 Wh, SurpH/D:1747/4645 Wh, OTP:10000/2008 W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/14 - hod:15/26, lr/lc:1/1, SocS/E:4893/5990 Wh, SurpH/D:1261/2898 Wh, OTP:10000/1450 W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/15 - hod:16/27, lr/lc:1/1, SocS/E:5990/5876 Wh, SurpH/D:0/1637 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/16 - hod:17/28, lr/lc:1/1, SocS/E:5876/6713 Wh, SurpH/D:962/1637 Wh, OTP:10000/1106 W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/17 - hod:18/29, lr/lc:1/1, SocS/E:6713/7300 Wh, SurpH/D:675/675 Wh, OTP:10000/0 W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/18 - hod:19/30, lr/lc:1/1, SocS/E:7300/6540 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/19 - hod:20/31, lr/lc:1/1, SocS/E:6540/5845 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/20 - hod:21/32, lr/lc:1/1, SocS/E:5845/5135 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/21 - hod:22/33, lr/lc:1/1, SocS/E:5135/4301 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/22 - hod:23/34, lr/lc:1/1, SocS/E:4301/3506 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/23 - hod:24/35, lr/lc:1/1, SocS/E:3506/2782 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/00 - hod:01/36, lr/lc:1/1, SocS/E:2782/2345 Wh, SurpH/D:0/11259 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/01 - hod:02/37, lr/lc:1/1, SocS/E:2345/1961 Wh, SurpH/D:0/11259 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/02 - hod:03/38, lr/lc:1/1, SocS/E:1961/1655 Wh, SurpH/D:0/11259 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/03 - hod:04/39, lr/lc:1/1, SocS/E:1655/1306 Wh, SurpH/D:0/11259 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/04 - hod:05/40, lr/lc:1/1, SocS/E:1306/912 Wh, SurpH/D:0/11259 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/05 - hod:06/41, lr/lc:1/1, SocS/E:912/717 Wh, SurpH/D:0/11259 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/06 - hod:07/42, lr/lc:1/1, SocS/E:717/717 Wh, SurpH/D:0/11259 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/07 - hod:08/43, lr/lc:1/1, SocS/E:717/717 Wh, SurpH/D:0/11259 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/08 - hod:09/44, lr/lc:1/1, SocS/E:717/717 Wh, SurpH/D:0/11259 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/09 - hod:10/45, lr/lc:1/1, SocS/E:717/1958 Wh, SurpH/D:1427/11259 Wh, OTP:8868/1737 W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/10 - hod:11/46, lr/lc:1/1, SocS/E:1958/3403 Wh, SurpH/D:1661/9832 Wh, OTP:8701/1738 W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/11 - hod:12/47, lr/lc:1/1, SocS/E:3403/5064 Wh, SurpH/D:1909/8171 Wh, OTP:8427/1738 W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/12 - hod:13/48, lr/lc:1/1, SocS/E:5064/6414 Wh, SurpH/D:1552/6262 Wh, OTP:7867/1567 W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/13 - hod:14/49, lr/lc:1/1, SocS/E:6414/8049 Wh, SurpH/D:1879/4710 Wh, OTP:7117/1567 W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/14 - hod:15/50, lr/lc:1/1, SocS/E:8049/9413 Wh, SurpH/D:1568/2831 Wh, OTP:4731/1259 W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/15 - hod:16/51, lr/lc:1/1, SocS/E:9413/10240 Wh, SurpH/D:1263/1263 Wh, OTP:1141/951 W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/16 - hod:17/52, lr/lc:0/1, SocS/E:10240/10240 Wh, SurpH/D:0/0 Wh, OTP:0/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/17 - hod:18/53, lr/lc:0/1, SocS/E:10240/10240 Wh, SurpH/D:0/0 Wh, OTP:0/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/18 - hod:19/54, lr/lc:0/1, SocS/E:10240/10240 Wh, SurpH/D:0/0 Wh, OTP:0/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/19 - hod:20/55, lr/lc:0/1, SocS/E:10240/9435 Wh, SurpH/D:0/0 Wh, OTP:0/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/20 - hod:21/56, lr/lc:1/1, SocS/E:9435/8641 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/21 - hod:22/57, lr/lc:1/1, SocS/E:8641/7769 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/22 - hod:23/58, lr/lc:1/1, SocS/E:7769/6933 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 12:59:02 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/23 - hod:24/59, lr/lc:1/1, SocS/E:6933/6196 Wh, SurpH/D:0/0 Wh, OTP:10000/- W

2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ######################### Start Battery Management DebugLog #########################
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> setup values: lowSoc=7 %, upSoc=60 %, maxSoc=95 %, stepSoc=5 %, careCycle=20
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> pvHistory values: yesterday=22, batymaxsoc=100.0 %, batysetsoc=5 %
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> current values: SoC=100.0 %
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> Battery share factor of total required load: 0.00
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> today -> PV fc: 6467 Wh, con till sunset: 5346 Wh, Surp: 1121 Wh
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> tomorrow -> PV fc: 17292 Wh, con till sunset: 15354 Wh, Surp: 5776 Wh (75% con)
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> selected energy for charging (the higher positive Surp value from above): 5776 Wh
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - basics -> expected energy for charging after application Share factor: 0 Wh
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> SoC Step1 Bat 01 - compare with SoC history -> preliminary new Target: 0 %
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> SoC Step2 Bat 01 - basics -> Energy expected for charging: 0 Wh, need until maxsoc: 0 Wh
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> SoC Step2 Bat 01 - calc care SoC -> docare: 1, care SoC: 7 %, remain days until care SoC: 20, Target: 7 %
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> SoC Step3 Bat 01 - basics -> max SOC so that predicted PV can be stored: 100 %, newtarget: 7 %
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> SoC Step3 Bat 01 - charging probability -> docare: 1, Target: 7 % (new target > 5 % and time limit has passed)
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> SoC Step4 Bat 01 - basics -> docare: 1, lowSoc: 7 %, upSoc: 60 %
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> SoC Step4 Bat 01 - observe low/up limits -> Target: 7 %
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> SoC Step5 Bat 01 - rounding the SoC to steps of 5 % -> Target: 5 %
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> SoC Step6 Bat 01 - force charging request: no (Battery is sufficiently charged)
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeMgmt - Inverter 'BKW_800' cap: 800 W, Power limit: 100 % -> Pmax eff: 800 W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeMgmt - Inverter 'Fronius_Symo_Gen24' cap: 6000 W, Power limit: 100 % -> Pmax eff: 6000 W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeMgmt - Inverter 'BKW_600' cap: 600 W, Power limit: 100 % -> Pmax eff: 600 W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeMgmt - Summary Power limit of all Inverter (except feed 'grid'): 7400 W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeMgmt - The limit for grid feed-in is: 4000 W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - selected charging strategy: smartPower
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - general load termination condition: 0
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - control time Slot - Slot start: 00:00, Slot end: 23:59
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - control barrier SoC: 0 % / 0 Wh
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - control barrier Parameter: -
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - Battery efficiency used: 87 %
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - weighted self-consumption: 0 %
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - Target load and target time: 100 % / 10240 Wh / 17 oclock
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - Percentage of the total amount of charging energy required: 0.0 %
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeMgmt Bat 01 - The PV generation, consumption and surplus listed below are based on the battery's share of the total amount of charging energy required!
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 - used safety margin: 20 %
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 - charging target: 10240 Wh, E requirement incl. efficiency: 0 Wh -> target likely achievable? yes
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 - Ratio of remaining surplus 0 Wh / energy requirement to achieve the load target: 0 %
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/15 - hod:16/00, lr/lc:0/1, SocS/E:10240/10240 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/16 - hod:17/01, lr/lc:0/1, SocS/E:10240/10240 Wh, SurpH/D:0/0 Wh, OTP:0/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/17 - hod:18/02, lr/lc:0/1, SocS/E:10240/10240 Wh, SurpH/D:0/0 Wh, OTP:0/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/18 - hod:19/03, lr/lc:0/1, SocS/E:10240/9554 Wh, SurpH/D:0/0 Wh, OTP:0/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/19 - hod:20/04, lr/lc:1/1, SocS/E:9554/8721 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/20 - hod:21/05, lr/lc:1/1, SocS/E:8721/7936 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/21 - hod:22/06, lr/lc:1/1, SocS/E:7936/7265 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/22 - hod:23/07, lr/lc:1/1, SocS/E:7265/6597 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 23/23 - hod:24/08, lr/lc:1/1, SocS/E:6597/6065 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/00 - hod:01/09, lr/lc:1/1, SocS/E:6065/5589 Wh, SurpH/D:0/6242 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/01 - hod:02/10, lr/lc:1/1, SocS/E:5589/5155 Wh, SurpH/D:0/6242 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/02 - hod:03/11, lr/lc:1/1, SocS/E:5155/4848 Wh, SurpH/D:0/6242 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/03 - hod:04/12, lr/lc:1/1, SocS/E:4848/4511 Wh, SurpH/D:0/6242 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/04 - hod:05/13, lr/lc:1/1, SocS/E:4511/4149 Wh, SurpH/D:0/6242 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/05 - hod:06/14, lr/lc:1/1, SocS/E:4149/3726 Wh, SurpH/D:0/6242 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/06 - hod:07/15, lr/lc:1/1, SocS/E:3726/3129 Wh, SurpH/D:0/6242 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/07 - hod:08/16, lr/lc:1/1, SocS/E:3129/2615 Wh, SurpH/D:0/6242 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/08 - hod:09/17, lr/lc:1/1, SocS/E:2615/2153 Wh, SurpH/D:0/6242 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/09 - hod:10/18, lr/lc:1/1, SocS/E:2153/2550 Wh, SurpH/D:456/6242 Wh, OTP:10000/2232 W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/10 - hod:11/19, lr/lc:1/1, SocS/E:2550/3102 Wh, SurpH/D:634/5786 Wh, OTP:10000/2232 W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/11 - hod:12/20, lr/lc:1/1, SocS/E:3102/3103 Wh, SurpH/D:1/5152 Wh, OTP:10000/2232 W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/12 - hod:13/21, lr/lc:1/1, SocS/E:3103/4195 Wh, SurpH/D:1255/5151 Wh, OTP:10000/2232 W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/13 - hod:14/22, lr/lc:1/1, SocS/E:4195/5885 Wh, SurpH/D:1942/3896 Wh, OTP:10000/2232 W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/14 - hod:15/23, lr/lc:1/1, SocS/E:5885/6180 Wh, SurpH/D:339/1954 Wh, OTP:10000/1080 W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/15 - hod:16/24, lr/lc:1/1, SocS/E:6180/6127 Wh, SurpH/D:0/1615 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/16 - hod:17/25, lr/lc:1/1, SocS/E:6127/6944 Wh, SurpH/D:939/1615 Wh, OTP:10000/1080 W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/17 - hod:18/26, lr/lc:1/1, SocS/E:6944/7532 Wh, SurpH/D:676/676 Wh, OTP:10000/0 W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/18 - hod:19/27, lr/lc:1/1, SocS/E:7532/6729 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/19 - hod:20/28, lr/lc:1/1, SocS/E:6729/6047 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/20 - hod:21/29, lr/lc:1/1, SocS/E:6047/5344 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/21 - hod:22/30, lr/lc:1/1, SocS/E:5344/4724 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/22 - hod:23/31, lr/lc:1/1, SocS/E:4724/4134 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 24/23 - hod:24/32, lr/lc:1/1, SocS/E:4134/3628 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/00 - hod:01/33, lr/lc:1/1, SocS/E:3628/3183 Wh, SurpH/D:0/10121 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/01 - hod:02/34, lr/lc:1/1, SocS/E:3183/2892 Wh, SurpH/D:0/10121 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/02 - hod:03/35, lr/lc:1/1, SocS/E:2892/2582 Wh, SurpH/D:0/10121 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/03 - hod:04/36, lr/lc:1/1, SocS/E:2582/2243 Wh, SurpH/D:0/10121 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/04 - hod:05/37, lr/lc:1/1, SocS/E:2243/1846 Wh, SurpH/D:0/10121 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/05 - hod:06/38, lr/lc:1/1, SocS/E:1846/1401 Wh, SurpH/D:0/10121 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/06 - hod:07/39, lr/lc:1/1, SocS/E:1401/769 Wh, SurpH/D:0/10121 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/07 - hod:08/40, lr/lc:1/1, SocS/E:769/717 Wh, SurpH/D:0/10121 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/08 - hod:09/41, lr/lc:1/1, SocS/E:717/717 Wh, SurpH/D:0/10121 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/09 - hod:10/42, lr/lc:1/1, SocS/E:717/1932 Wh, SurpH/D:1397/10121 Wh, OTP:10000/2401 W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/10 - hod:11/43, lr/lc:1/1, SocS/E:1932/3350 Wh, SurpH/D:1630/8724 Wh, OTP:10000/2401 W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/11 - hod:12/44, lr/lc:1/1, SocS/E:3350/4974 Wh, SurpH/D:1867/7094 Wh, OTP:10000/2401 W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/12 - hod:13/45, lr/lc:1/1, SocS/E:4974/6791 Wh, SurpH/D:2089/5227 Wh, OTP:10000/2401 W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/13 - hod:14/46, lr/lc:1/1, SocS/E:6791/8379 Wh, SurpH/D:1825/3138 Wh, OTP:10000/2098 W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/14 - hod:15/47, lr/lc:1/1, SocS/E:8379/9521 Wh, SurpH/D:1313/1313 Wh, OTP:10000/1509 W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/15 - hod:16/48, lr/lc:1/1, SocS/E:9521/9521 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/16 - hod:17/49, lr/lc:1/1, SocS/E:9521/9521 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/17 - hod:18/50, lr/lc:1/1, SocS/E:9521/9521 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/18 - hod:19/51, lr/lc:1/1, SocS/E:9521/9521 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/19 - hod:20/52, lr/lc:1/1, SocS/E:9521/8696 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/20 - hod:21/53, lr/lc:1/1, SocS/E:8696/7887 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/21 - hod:22/54, lr/lc:1/1, SocS/E:7887/7208 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/22 - hod:23/55, lr/lc:1/1, SocS/E:7208/6563 Wh, SurpH/D:0/0 Wh, OTP:10000/- W
2026.09.23 15:08:51 1: PV_Vorhersage DEBUG> ChargeOTP Bat 01 25/23 - hod:24/56, lr/lc:1/1, SocS/E:6563/6020 Wh, SurpH/D:0/0 Wh, OTP:10000/- W

In allen Logs sieht man, dass als target time 17 oclock angegeben ist.
Bei mir funktioniert das ganze irgendwie nicht.

alkazaa

Ich geb auch mal meinen Senf zur von @Parralix angestossenen Namensdiskussion:
Zitat von: Parallix am 22 September 2026, 12:35:01(M)ein Vorschlag wäre folgende Umbenennung:
Battery_OptimumTargetSoC_XX -> Battery_DynLowerSoCBound_XX
Battery_OptimumTargetSoC_XX ist in der Tat eine allzu leicht missverstandene/irreführende Bezeichnung: Das 'Target' darin impliziert ein anzustrebendes SoC, auch z.B. wegen der Ähnlichkeit zum Attribut-Key 'loadtarget'.
Ohne Berücksichtigung der Problematik einer nachträglichen Änderung (die sich durch ein bulk search-and-replace vermutlich einfach lösen lässt) bin ich auch sehr für einen anderen Namen.
Meine Vorschläge:
Battery_[Optimum|Estimated|Calculated|Recommended][BaseSoC|SoCBase]_XXMein Favorit:
Battery_OptimumBaseSoC_XX

DS_Starter

#7054
@Wolle02,

ich sehe aktuell zwei Ansatzpunkte:

1. Battery efficiency used: 87 %

  Möglicherweise arbeitet deine Anlage effizienter als der default 87%, sodass der Batterie permanent zuviel
  Ladeenergie zugeführt wird, da das Modul von mehr Verlust ausgeht.
  Umstellen mit setupBatteryDevXX->efficiency

2. Dei Batterieanlage übernimmt die Vorgaben aus SF nicht oder ignoriert sie.
   Wie hast du SF und deine Batterie gekoppelt?
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

DS_Starter

ZitatBattery_OptimumBaseSoC_XX
Das ist mir symphatisch, kurz und kein Wortungetüm.
Gern noch weitere Meinungen.
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

DS_Starter

@Lars,

ich habe das Problem rund um den MSE()‑XS‑Call inzwischen lösen können (denke ich).
Durch einen zusätzlichen Wrapper lässt sich das bisherige Konstrukt
eval { $raw->MSE() }vollständig eliminieren.

Nach Analyse entsteht der Leak durch die Kombination aus eval und dem XS‑Aufruf: wirft MSE() intern eine Exception, bleiben temporäre Referenzen im Perl‑Stack (@_‑Frame) bzw. im FANN‑XS‑Layer hängen und werden nicht sauber freigegeben. Das führt bei jedem Durchlauf zu wachsendem Speicherverbrauch.

Mit dem neuen Wrapper wird das Modell nun ohne MSE() geprüft und alle XS‑Calls laufen leak‑frei.

Das Update liegt im contrib. Gerne testen.
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter