Added possibility to charge with cv

This commit is contained in:
Matthias Heisig
2025-10-01 10:45:51 +02:00
parent 698451cc1f
commit 26d602eafc
5 changed files with 168 additions and 5 deletions

View File

@@ -289,7 +289,18 @@ VAR_GLOBAL PERSISTENT
rBalancingFactor : REAL := 20.0;
// Timeout heartbeat from EMS
timEMSHeartbeatTimeout : TIME := t#5s;
timEMSHeartbeatTimeout : TIME := T#5S;
// Flag if charging should be done with cv phase at end
xCVCharging : BOOL := FALSE;
// Controller parameters for cv charging
rCVKp : REAL := 0.0;
// In ms
rCVTn : REAL := 0.0;
// Minimum current for cv charging in Amps
rMinCVCurrentForFull : REAL := -5.0;
// Dummy to deactivate functions
{attribute 'analysis' := '-33'}