- reduced mass leakage

- Rezept-001 vatying heat rates
- Controller niced up plots

git-svn-id: http://moon:8086/svn/projects/HendiControl@115 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
2019-03-20 21:39:43 +00:00
parent 7539081043
commit 75b920047a
3 changed files with 4 additions and 7 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
"Wasser_kg" : 18, "Wasser_kg" : 18,
"Rasten" : "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" : 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" : 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} {"time" : 5, "temp" : 80.0, "heatRate" : 0.5, "stirDutyCycle" : 0.5, "waitForUser" : true}
+1 -1
View File
@@ -51,7 +51,7 @@
"theta_amb" : 20, "theta_amb" : 20,
"C" : 4190, "C" : 4190,
"M" : 20, "M" : 20,
"L" : 0.5, "L" : 0.3,
"Td" : 10, "Td" : 10,
"kn" : 0 "kn" : 0
} }
+2 -5
View File
@@ -44,24 +44,21 @@ class Controller():
title('Temperature') title('Temperature')
grid(True) grid(True)
ylabel('°C') ylabel('°C')
xlabel('t/min')
subplot(4, 1, 2) subplot(4, 1, 2)
plot(self.time_v, self.power_v, 'r-', linewidth=1) plot(self.time_v, self.power_v, 'r-', linewidth=1)
title('Power') title('Power')
grid(True) grid(True)
ylabel('W') ylabel('W')
xlabel('t/min')
subplot(4, 1, 3) subplot(4, 1, 3)
plot(self.time_v, self.theta_err_v, 'b-', linewidth=1) plot(self.time_v, self.theta_err_v, 'b-', linewidth=1)
title('Err_{T}') title('Temperature Error')
grid(True) grid(True)
ylabel('°C') ylabel('°C')
xlabel('t/min')
subplot(4, 1, 4) subplot(4, 1, 4)
plot(self.time_v, self.heatrate_v, 'r-', linewidth=1) plot(self.time_v, self.heatrate_v, 'r-', linewidth=1)
title('Heatrate') title('Heatrate')
grid(True) grid(True)
ylabel('°C') ylabel('°C/min')
xlabel('t/min') xlabel('t/min')
show() show()