Table of Contents
There are five companies developing eVTOL aircrafts. The vehicles produced by each manufacturer have different characteristics. Six distinct properties are laid out in the below table:
A | B | C | D | E | |
---|---|---|---|---|---|
Cruise Speed (mph) | 120 | 100 | 160 | 90 | 30 |
Battery Capacity (kWh) | 320 | 100 | 220 | 120 | 150 |
Time to Charge (hrs) | 0.60 | 0.20 | 0.80 | 0.62 | 0.30 |
Energy use at Cruise (kWh/mile) | 1.6 | 1.5 | 2.2 | 0.8 | 5.8 |
Passenger Count | 4 | 5 | 3 | 2 | 2 |
Probability of fault/hr | 0.25 | 0.10 | 0.05 | 0.22 | 0.61 |
The objective is to run a three minute simulation. For the sake of time, each second that passes in real-time is equivalent to one minute of simulated time. So a three minute simulation will allow three hours of simulated data to be produced. 20 total vehicles should be deployed, a random number of each type of vehicle should be used (with the total between all five types being 20).
There are only three chargers available for all 20 vehicles! A single charger can only be used by one vehicle at a time. Assume the chargers can charge the batteries in the Time to Charge time listed for each vehicle.
At the vehicle type level keep track of: average time in flight, average time charging, average time waiting in line to charge, max number of faults, and total distance traveled by passengers (if there are four passengers on a vehicle that cruises for a hour at 100 mph, total distance traveled by passengers == 400 passenger-miles. If there are six instances of this vehicle in the simulation 400 * 6 is the answer we are looking for).
Assume each vehicle starts the simulation with full battery, that it is airborne for the full use of the battery, that it instantaneously reaches Cruise Speed, and that it instantaneously is in line for the charger right when it runs out of battery.
At the end of the simulation represent the results of the simulation in whatever way you see best.
Clone repository and open in visual studio code. Upon opening visual studio code will build docker container.
Total Simulation Time: 180 mins
Vehicle | Num Vehicles | Avg Flight Time (mins) | Flight Time (%) | Avg Charge Time (mins) | Charge Time (%) | Avg Qing Time (mins) | Qing Time (%) | Max Faults |
---|---|---|---|---|---|---|---|---|
A | 4 | 106 | 59.17 | 21 | 11.94 | 51 | 28.75 | 3.00 |
B | 4 | 87 | 48.75 | 15 | 8.33 | 76 | 42.50 | 1.20 |
C | 2 | 74 | 41.11 | 48 | 26.67 | 58 | 32.22 | 0.30 |
D | 3 | 102 | 57.04 | 19 | 10.93 | 57 | 31.67 | 1.98 |
E | 7 | 100 | 55.87 | 18 | 10.00 | 60 | 33.81 | 12.81 |
Distributed under the MIT License. See LICENSE
for more information.
Your Name - @JosephEMassey
Project Link: https://github.com/JosephEMassey/eVTOL_Simulation