no message
This commit is contained in:
@@ -177,7 +177,7 @@ class Manager extends IPSModule
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
if(GetValue($this->ReadPropertyBoolean("UmschaltpunktStatisch"))==false){
|
if(($this->ReadPropertyBoolean("UmschaltpunktStatisch"))==false){
|
||||||
|
|
||||||
// Fallunterscheidung ob auf Solarladen oder Peakshaving gerregelt wird.
|
// Fallunterscheidung ob auf Solarladen oder Peakshaving gerregelt wird.
|
||||||
if ($Netzbezug < ($Peakleistung + $Ueberschussleistung) / 2) {
|
if ($Netzbezug < ($Peakleistung + $Ueberschussleistung) / 2) {
|
||||||
@@ -190,25 +190,25 @@ class Manager extends IPSModule
|
|||||||
|
|
||||||
}else{ // Statische ermittlung der Betriebsart
|
}else{ // Statische ermittlung der Betriebsart
|
||||||
|
|
||||||
if($Netzbezug<GetValue($this->ReadPropertyInteger("Umschalt_Solarladen"))){
|
if($Netzbezug<($this->ReadPropertyInteger("Umschalt_Solarladen"))){
|
||||||
|
|
||||||
$remainingPower = -1 * (-1 * $Ueberschussleistung + $Netzbezug);
|
$remainingPower = -1 * (-1 * $Ueberschussleistung + $Netzbezug);
|
||||||
$Is_Peak_Shaving = false;
|
$Is_Peak_Shaving = false;
|
||||||
|
|
||||||
}
|
}
|
||||||
elseif($Netzbezug>GetValue($this->ReadPropertyInteger("Umschalt_Peakshaving"))){
|
elseif($Netzbezug>($this->ReadPropertyInteger("Umschalt_Peakshaving"))){
|
||||||
|
|
||||||
$remainingPower = $Peakleistung - $Netzbezug;
|
$remainingPower = $Peakleistung - $Netzbezug;
|
||||||
$Is_Peak_Shaving = true;
|
$Is_Peak_Shaving = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
elseif( $this->GetValue("Is_Peak_Shaving")==false){
|
elseif( $this->("Is_Peak_Shaving")==false){
|
||||||
|
|
||||||
$remainingPower = -1 * (-1 * $Ueberschussleistung + $Netzbezug);
|
$remainingPower = -1 * (-1 * $Ueberschussleistung + $Netzbezug);
|
||||||
$Is_Peak_Shaving = false;
|
$Is_Peak_Shaving = false;
|
||||||
|
|
||||||
}
|
}
|
||||||
elseif( $this->GetValue("Is_Peak_Shaving")==true){
|
elseif( $this->("Is_Peak_Shaving")==true){
|
||||||
|
|
||||||
$remainingPower = $Peakleistung - $Netzbezug;
|
$remainingPower = $Peakleistung - $Netzbezug;
|
||||||
$Is_Peak_Shaving = true;
|
$Is_Peak_Shaving = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user