- added generic tracer class

- create tracer for TC
- tracer task runs TC-Tracer
This commit is contained in:
jens
2021-10-18 17:57:40 +02:00
parent 236c33d8d6
commit 54f2322c07
5 changed files with 138 additions and 7 deletions
+3 -3
View File
@@ -100,9 +100,9 @@ class TempController(APid):
self.heatrate_soll = self.heatrate_soll_set * self.pid_hold.get_y()
print ("Model : T_ist={:2.2f}, dT_ist={:2.2f}".format(theta_ist_model, heatrate_ist_model))
print ("Model*z-1: T_ist={:2.2f}, dT_ist={:2.2f}".format(theta_ist_model_delay, dtheta_ist_model_delay))
print ("Plant : T_ist={:2.2f}, dT_ist={:2.2f}".format(theta_ist_plant, heatrate_ist_plant))
# print ("Model : T_ist={:2.2f}, dT_ist={:2.2f}".format(theta_ist_model, heatrate_ist_model))
# print ("Model*z-1: T_ist={:2.2f}, dT_ist={:2.2f}".format(theta_ist_model_delay, dtheta_ist_model_delay))
# print ("Plant : T_ist={:2.2f}, dT_ist={:2.2f}".format(theta_ist_plant, heatrate_ist_plant))
if 0:
theta_err = self.theta_soll_set - (theta_ist_plant - theta_ist_model_delay + theta_ist_model)
else: