PT1 hinzugefügt
This commit is contained in:
@@ -97,7 +97,13 @@ class Boiler_2_Stufig_Mit_Fueler extends IPSModule
|
|||||||
$LegioCounter = $this->GetValue("LegioCounter");
|
$LegioCounter = $this->GetValue("LegioCounter");
|
||||||
|
|
||||||
$boilerTemp = GetValue($this->ReadPropertyInteger("Boilertemperatur"));
|
$boilerTemp = GetValue($this->ReadPropertyInteger("Boilertemperatur"));
|
||||||
//Platzhalter PT1
|
$boilerPT1 = GetValue($this->ReadPropertyInteger("Boilerfuehler_PT1"));
|
||||||
|
// PT1
|
||||||
|
$time_constant = 120; // Zeitkonstante in Sekunden (1 Minute)
|
||||||
|
$delta_t = 30; // Zeitdifferenz zwischen den Messungen (30 Sekunden)
|
||||||
|
$alpha = $delta_t / ($time_constant + $delta_t);
|
||||||
|
SetValue($boilerTemp , $boilerTemp + $alpha * ($boilerPT1 - $boilerTemp )));
|
||||||
|
|
||||||
$minTemp = $this->GetValue("Mindesttemperatur");
|
$minTemp = $this->GetValue("Mindesttemperatur");
|
||||||
$maxTemp = $this->GetValue("Maximaltemperatur");
|
$maxTemp = $this->GetValue("Maximaltemperatur");
|
||||||
$LegioTemp = $this->GetValue("Legionellentemperatur");
|
$LegioTemp = $this->GetValue("Legionellentemperatur");
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"compatibility": {
|
"compatibility": {
|
||||||
"version": "7.1"
|
"version": "7.1"
|
||||||
},
|
},
|
||||||
"version": "0.233",
|
"version": "0.234",
|
||||||
|
|
||||||
"build": 0,
|
"build": 0,
|
||||||
"date": 0
|
"date": 0
|
||||||
|
|||||||
Reference in New Issue
Block a user