You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _alp/Classes/Class.J_HeatingManagementHeatpumpOffPeak.java
+16-8Lines changed: 16 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -26,11 +26,15 @@ public class J_HeatingManagementHeatpumpOffPeak implements I_HeatingManagement {
26
26
privateJ_HeatingPreferencesheatingPreferences;
27
27
28
28
// PI control gains
29
-
privatedoubleP_gain_kWpDegC = 1*3;
30
-
privatedoubleI_gain_kWphDegC = 0.1*3;
29
+
privatedoubleP_gain_kWpDegC = 1*1;
30
+
privatedoubleI_gain_kWphDegC = 0.1*2;
31
31
privatedoubleI_state_hDegC = 0;
32
32
privatedoubletimeStep_h;
33
33
34
+
//Temperature setpoint low pass filter
35
+
privatedoublefilteredCurrentSetpoint_degC;
36
+
privatedoublesetpointFilterTimeScale_h = 2.0; // Smooth in X hours
37
+
34
38
//Off peak management
35
39
privatedoublepreHeatDuration_hr = 2; // Amount of hours that the heatpump has to reach the requiredTemperatureAtStartOfReducedHeatingInterval_degC
36
40
privatedoublerequiredTemperatureAtStartOfReducedHeatingInterval_degC = 20; // Temperature setpoint in degrees Celsius that the heatpump will have in the preheatduration time
@@ -80,21 +84,25 @@ public void manageHeating() {
80
84
//Get the current temperature setpoint dependend on day/night time and noheat/preheat interval settings
0 commit comments