Skip to content

Commit

Permalink
Change regulation parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Marc Collin committed Oct 30, 2023
1 parent 6886dd6 commit 49377de
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions custom_components/versatile_thermostat/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,21 +231,21 @@ class RegulationParamLight:

class RegulationParamMedium:
""" Medium parameters for regulation"""
kp:float = 0.5
ki:float = 0.1
kp:float = 0.4
ki:float = 0.08
k_ext:float = 0.1
offset_max:float = 3
stabilization_threshold:float = 0.1
accumulated_error_threshold:float = 30
accumulated_error_threshold:float = 25

class RegulationParamStrong:
""" Strong parameters for regulation"""
kp:float = 0.6
ki:float = 0.2
ki:float = 0.1
k_ext:float = 0.2
offset_max:float = 4
stabilization_threshold:float = 0.1
accumulated_error_threshold:float = 40
accumulated_error_threshold:float = 30

class EventType(Enum):
"""The event type that can be sent"""
Expand Down

0 comments on commit 49377de

Please sign in to comment.