improved luftwiderstand.py

This commit is contained in:
2025-03-09 19:13:28 +01:00
parent 5626f25878
commit 2ecfd614b3
+16 -2
View File
@@ -102,9 +102,23 @@ for car in car_list:
plot.plot(vel_list, y_fd) plot.plot(vel_list, y_fd)
plot.ylabel("Windwiderstand [%]") plot.ylabel("Windwiderstand ID.3 [%]")
plot.xlabel("Geschwindigkeit [km/h]") plot.xlabel("Geschwindigkeit [km/h]")
plot.title("Windwiderstand vs Geschwindigkeit") plot.title("Windwiderstand vs Geschwindigkeit")
plot.legend(car_list_leg) plot.legend(car_list_leg)
plot.grid() plot.grid()
plot.show()
plot.figure()
y_fd = []
for vel_kmh in vel_list:
fd_t = fd(rho_t, vel_kmh, c_val_id3, area_id3)
y_fd.append(fd_t)
plot.plot(vel_list, y_fd)
plot.ylabel("Windwiderstand [N]")
plot.xlabel("Geschwindigkeit [km/h]")
plot.title("Windwiderstand vs Geschwindigkeit")
plot.legend(car_list_leg)
plot.grid()
plot.show()