diff --git a/Control/brewpi/Rezept-001.json b/Control/brewpi/Rezept-001.json index e562cb3..88e17ef 100644 --- a/Control/brewpi/Rezept-001.json +++ b/Control/brewpi/Rezept-001.json @@ -4,7 +4,7 @@ "Wasser_kg" : 18, "Rasten" : [ - {"time" : 15, "temp" : 50.0, "heatRate" : 0.5, "stirDutyCycle" : 0.5, "waitForUser" : true}, + {"time" : 15, "temp" : 50.0, "heatRate" : 1.0, "stirDutyCycle" : 0.5, "waitForUser" : true}, {"time" : 20, "temp" : 60.0, "heatRate" : 0.5, "stirDutyCycle" : 0.5, "waitForUser" : false}, {"time" : 30, "temp" : 70.0, "heatRate" : 0.5, "stirDutyCycle" : 0.5, "waitForUser" : false}, {"time" : 5, "temp" : 80.0, "heatRate" : 0.5, "stirDutyCycle" : 0.5, "waitForUser" : true} diff --git a/Control/brewpi/brewpi.cfg.json b/Control/brewpi/brewpi.cfg.json index 445dc53..effcfc2 100644 --- a/Control/brewpi/brewpi.cfg.json +++ b/Control/brewpi/brewpi.cfg.json @@ -51,7 +51,7 @@ "theta_amb" : 20, "C" : 4190, "M" : 20, - "L" : 0.5, + "L" : 0.3, "Td" : 10, "kn" : 0 } diff --git a/Control/brewpi/controller.py b/Control/brewpi/controller.py index 35206f8..a8b948c 100644 --- a/Control/brewpi/controller.py +++ b/Control/brewpi/controller.py @@ -44,24 +44,21 @@ class Controller(): title('Temperature') grid(True) ylabel('°C') - xlabel('t/min') subplot(4, 1, 2) plot(self.time_v, self.power_v, 'r-', linewidth=1) title('Power') grid(True) ylabel('W') - xlabel('t/min') subplot(4, 1, 3) plot(self.time_v, self.theta_err_v, 'b-', linewidth=1) - title('Err_{T}') + title('Temperature Error') grid(True) ylabel('°C') - xlabel('t/min') subplot(4, 1, 4) plot(self.time_v, self.heatrate_v, 'r-', linewidth=1) title('Heatrate') grid(True) - ylabel('°C') + ylabel('°C/min') xlabel('t/min') show()