ygoralmeida1993 / Group-4-project

2 stars 0 forks source link

Creating an algorithm for calculating the budget of trip based on weather and gas price. (Transportation mode:car) #33

Closed vidhi281796 closed 4 years ago

vidhi281796 commented 4 years ago

The calculation of the trip budget will be based on various filters which can be type of weather snowy,windy,sunny etc. It would also depend on gas price ,type and brand of car.

vidhi281796 commented 4 years ago

I am trying to find out how temperature affects the fuel consumption of car.

According to official fuel economy website ,a conventional gasoline car's gas mileage is about 12% lower at 20°F than it would be at 77°F. It can drop as much as 22% for very short trips (3 to 4 miles). Reference: https://www.fueleconomy.gov/feg/coldweather.shtml

vidhi281796 commented 4 years ago

I am also searching for any dataset which can be used for getting the mileage of car based on car type and brand. Below link provides the csv file for the car mileage based on various filters.

https://www.fueleconomy.gov/feg/download.shtml

ygoralmeida1993 commented 4 years ago

I am also looking for this API, and so far this is the only one that I found. The problem is: it only brings the values using the US forms of measurement, such as gallon, miles, etc. Also it only has vehicles that exist in the US, so if we are in another part of the world, it would be a problem to find the vehicle that the person will use. Another thing is, in our application, we only allow the user to chose between car categories and not car models. Why do we have to calculate the cost based on the car model and not car category?

vidhi281796 commented 4 years ago

This is not API,actually I am searching for the data first and for our project ,to make it more realistic I am trying to add more filters ,I am searching for car models.

patelshikha commented 4 years ago

@vidhi281796 I successfully retrived the data from JSON Array. Now you can start implementing the logic for calculating the transportation cost (car)

vidhi281796 commented 4 years ago

I have created an algorithm for calculating the mileage . CalculatingMileage

vidhi281796 commented 4 years ago

Formula for travel cost. Travel Cost

vidhi281796 commented 4 years ago

This task has been completed