Implemented a better balancing algorith for string balancing

* Added error logging to inverter fb
* Changed HMI actual power feedback from dc to ac power
* Small config adjustments
This commit is contained in:
Matthias Heisig
2025-04-16 12:35:06 +02:00
parent 082c250543
commit 7b810b19d2
5 changed files with 61 additions and 46 deletions

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4026.11">
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4026.12">
<GVL Name="GVL_CONFIG" Id="{0773bf51-0237-454d-a970-cfd896054edb}">
<Declaration><![CDATA[{attribute 'qualified_only'}
VAR_GLOBAL CONSTANT
@@ -187,10 +187,10 @@ VAR_GLOBAL PERSISTENT
// ===========================
// Pump posolyt on power in %
rPumpPosolytOnPower : REAL := 65.0;
rPumpPosolytOnPower : REAL := 70.0;
// Pump negolyt on power in %
rPumpNegolytOnPower : REAL := 65.0;
rPumpNegolytOnPower : REAL := 70.0;
// Pump posolyt discharge segment without inverter power in %
rPumpPosolytDisChrgPower : REAL := 45.0;
@@ -259,7 +259,10 @@ VAR_GLOBAL PERSISTENT
timStringReadyTimeout : TIME := T#3M;
// Timeout for isolation error
timIsoErrorTimeout : TIME := T#20s;
timIsoErrorTimeout : TIME := T#20S;
// Balancing factor
rBalancingFactor : REAL := 20.0;
// Dummy to deactivate functions
{attribute 'analysis' := '-33'}