Remove the stirrer duty cycle trace from the Sud demo plot
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -92,7 +92,6 @@ if __name__ == '__main__':
|
|||||||
_sud_state = []
|
_sud_state = []
|
||||||
_step_index = []
|
_step_index = []
|
||||||
_stirrer_speed = []
|
_stirrer_speed = []
|
||||||
_stirrer_duty = []
|
|
||||||
_heater_power_set = []
|
_heater_power_set = []
|
||||||
_heater_power_eff = []
|
_heater_power_eff = []
|
||||||
|
|
||||||
@@ -133,7 +132,6 @@ if __name__ == '__main__':
|
|||||||
_sud_state.append(sud.state.value)
|
_sud_state.append(sud.state.value)
|
||||||
_step_index.append(sud.index)
|
_step_index.append(sud.index)
|
||||||
_stirrer_speed.append(stirrer.speed * stirrer.isOn)
|
_stirrer_speed.append(stirrer.speed * stirrer.isOn)
|
||||||
_stirrer_duty.append(stirrer.dutyCycle * 100)
|
|
||||||
_heater_power_set.append(heater.power_set)
|
_heater_power_set.append(heater.power_set)
|
||||||
_heater_power_eff.append(heater.power_eff)
|
_heater_power_eff.append(heater.power_eff)
|
||||||
|
|
||||||
@@ -171,8 +169,8 @@ if __name__ == '__main__':
|
|||||||
legend(["Step index"])
|
legend(["Step index"])
|
||||||
grid(True)
|
grid(True)
|
||||||
subplot(3, 1, 3)
|
subplot(3, 1, 3)
|
||||||
plot(_t_arr, _stirrer_speed, '-g', _t_arr, _stirrer_duty, '-c', linewidth=1)
|
plot(_t_arr, _stirrer_speed, '-g', linewidth=1)
|
||||||
legend(["stirrer speed (effective)", "stirrer duty cycle [%]"])
|
legend(["stirrer speed (effective)"])
|
||||||
grid(True)
|
grid(True)
|
||||||
|
|
||||||
show()
|
show()
|
||||||
|
|||||||
Reference in New Issue
Block a user