Skip to content

Commit 71df19c

Browse files
authored
Create Vehicles
1 parent af9657f commit 71df19c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/source/schemas/request/Vehicles

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// VEHICLE
2+
{
3+
"id": "ICEVehicle1",
4+
"vehicleType": "gasoline", //("electric" | "gasoline" | "hybrid" | "plug-in hybrid")??
5+
"vehicleBody": ("coupe" | "sedan" | "crossover" | "minivan" | "SUV" | "pickup truck" | "other")??
6+
"annualMiles": 4500,
7+
"vehicleEfficiency": 32,
8+
"vehicleEfficiencyUnits": "miles per gallon", ("miles per gallon" | "miles per kwh")
9+
"chargerEfficiency": 0.9, //only applicable to electric vehicles
10+
"batteryEfficiency": 0.9, //only applicable to electric vehicles
11+
"chargingPattern": "", //list of premade schedules only applicable to electric vehicles
12+
"chargingScheduleFractions": {
13+
"weekday": [], //size 24 array for user-defined fractions of weekday hourly charging
14+
"weekend": [], //size 24 array for user-defined fractions of weekend hourly charging
15+
"monthly": [] // size 12 array for user-defined fractions of monthly charging
16+
}

0 commit comments

Comments
 (0)