-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vehicle Import Tool #30
Conversation
This enables contacting fueleconomy.gov when under Windows VPN.
Removed hard-coded path and default to relative path to epa data file
This function reads data from a URL. Extracting into a function so that all URL reads are in one spot.
… into feature/vehicle_import
… into feature/vehicle_import
Test the success fraction for vehicle imports to ensure it is high.
add NREL-internal vehicle data repo and make more use of anyhow
@kylecarow Looks great, Kyle. My only comment was I noticed you had commented out the glider_kg calculation on line 1031 of vehicle_utils.rs with a TODO -- is that anything we need to address prior to merging? Otherwise, I think it is ready. |
I'm still a bit hazy on how exactly we match between FE.gov and EPA data, it seems like we narrow down by year/make/model, but there is also some 'scoring' in the code. Would you be able to describe the matching? Or, perhaps better, could you document it in the docstring of |
I noticed that the back-calculation of mass didn't properly add up to the EPA test mass, so I added the EPA test mass as an override and ignored the back-calculated |
@kylecarow |
Awesome, thanks Michael! |
Migrated from https://github.nrel.gov/MBAP/fastsim/pull/237#issuecomment-50921
Migrated also from https://github.nrel.gov/MBAP/fastsim/pull/264
(Apologies for the duplication)
Solves https://github.nrel.gov/MBAP/fastsim/issues/189
Remaining work:
#[allow(dead_code)]
)