improved luftwiderstand.py
This commit is contained in:
+16
-2
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user