- do data signal wiring at one central place
- fixed initializations
This commit is contained in:
@@ -17,7 +17,7 @@ class TempController(APid):
|
||||
APid.__init__(self)
|
||||
self.pid_hold = Pid(dt)
|
||||
self.pid_rate = Pid(dt)
|
||||
self.theta_ist_set = 20
|
||||
self.theta_ist_set = 0
|
||||
self.theta_soll_set = 0
|
||||
self.heatrate_ist_set = 0
|
||||
self.heatrate_soll_set = 1.0
|
||||
|
||||
@@ -17,7 +17,7 @@ class TempController(APid):
|
||||
APid.__init__(self)
|
||||
self.pid_hold = Pid(dt)
|
||||
self.pid_rate = Pid(dt)
|
||||
self.theta_ist_set = 20
|
||||
self.theta_ist_set = 0
|
||||
self.theta_soll_set = 0
|
||||
self.heatrate_ist_set = 0
|
||||
self.heatrate_soll_set = 1.0
|
||||
|
||||
@@ -16,7 +16,7 @@ class Pot(APlant):
|
||||
self.L = params['L']
|
||||
self.Td = params['Td']
|
||||
self.kn = params['kn']
|
||||
self.temp = 0
|
||||
self.temp = params['theta']
|
||||
self.temp_intermediate = params['theta']
|
||||
|
||||
self.theta_amb = theta_amb
|
||||
|
||||
Reference in New Issue
Block a user