Small script, that allows to do the back of the napkin math if an electric vehicle is cheaper than a combustion car.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
638 B

{
"kwh_price_home": 0.2,
"kwh_price_commercial": 0.5,
"petrol_litre_price": 1.75,
"kilometers_per_year": 20000.0,
"years": 3,
"ecar": {
"label": "Nissan Leaf",
"price": 7600,
"taxes": 0,
"insurance": 354,
"kwh_per_kilometer": 0.16,
"maintenance": 200,
"charging_behaviour": {
"percent_free_charges": 80,
"percent_home_charges": 10,
"percent_commercial_charges": 10
}
},
"ccar": {
"label": "Suzuki Grand Vitara",
"price": 7000,
"taxes": 350,
"insurance": 362,
"litre_per_kilometer": 0.08,
"maintenance": 1000
}
}