Remove outdated regional scaling factors files and generate new ones using code implemented in #333, #335, #337 and #342. Also the fuel efficiency file has been updated
What the code is doing
Use if __name__ == '__main__' code block in the generate_scaling_factors to be able to generate the regional scaling factors files for urban and rural areas for all 32 years (64 files) in the top level environment. Also update the generate_BEV_vehicle_profiles module to use state abbreviation in both urban and rural and update tests following changes in fuel efficiency file.
Testing
Existing unit tests
Where to look
Very little code. Just using existing code in `if name == 'main' code block to write files on disk
Pull Request doc
Purpose
Remove outdated regional scaling factors files and generate new ones using code implemented in #333, #335, #337 and #342. Also the fuel efficiency file has been updated
What the code is doing
Use
if __name__ == '__main__'
code block in thegenerate_scaling_factors
to be able to generate the regional scaling factors files for urban and rural areas for all 32 years (64 files) in the top level environment. Also update thegenerate_BEV_vehicle_profiles
module to use state abbreviation in both urban and rural and update tests following changes in fuel efficiency file.Testing
Existing unit tests
Where to look
Very little code. Just using existing code in `if name == 'main' code block to write files on disk
Usage Example/Visuals
N/A
Time estimate
10min