Manager-Konfiguration neu strukturieren
Tests / test (push) Failing after 46s

This commit is contained in:
dh
2026-09-17 08:55:43 +00:00
parent 9e6a675b25
commit 1b4a788f22
8 changed files with 601 additions and 212 deletions
+2 -4
View File
@@ -50,8 +50,6 @@ final class ManagerRegler
float $netzleistung,
string $bisherigeBetriebsart,
bool $peakAktiv,
float $umschaltschwelleUeberschuss,
float $umschaltschwelleLastspitze,
float $sollwertSolarladen,
float $wirksameLastspitzengrenze,
float $umschaltdifferenzProzent
@@ -67,9 +65,9 @@ final class ManagerRegler
}
$kandidat = $bisherigeBetriebsart;
if ($netzleistung < $umschaltschwelleUeberschuss) {
if ($netzleistung < $sollwertSolarladen) {
$kandidat = self::BETRIEBSART_PV;
} elseif ($netzleistung > $umschaltschwelleLastspitze) {
} elseif ($netzleistung > $wirksameLastspitzengrenze) {
$kandidat = self::BETRIEBSART_PEAK;
} elseif (!in_array($kandidat, [self::BETRIEBSART_PV, self::BETRIEBSART_PEAK], true)) {
$kandidat = self::BETRIEBSART_PV;
+1 -1
View File
@@ -17,7 +17,7 @@ trait VerbraucherBasisTrait
$this->RegisterPropertyInteger('PrioritaetPV', 0);
$this->RegisterPropertyInteger('PrioritaetPeak', 0);
$this->RegisterPropertyInteger('Meldeintervall', 10);
$this->RegisterPropertyInteger('VorgabeTimeout', 30);
$this->RegisterPropertyInteger('VorgabeTimeout', 120);
$this->RegisterPropertyBoolean('EinstellungenInVisu', false);
$this->RegisterPropertyBoolean('LoggingEin', false);