This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user