Breakthrough-Energy / PreREISE

Generate input data for scenario framework
https://breakthrough-energy.github.io/docs/
MIT License
21 stars 28 forks source link

Smart LDV: implement functions to load in scaling factors #303

Open isond opened 2 years ago

isond commented 2 years ago

:rocket:

Describe the workflow you want to enable

Currently, the smart charging code for light-duty vehicles uses a constant value called emfacvmt in order to scale the charging profiles. However, emfacvmt needs to be updated so that its value is based on the type of area that the user would like to generate profiles for.

Describe your proposed implementation, if applicable

Similar to what's already implemented in PR #301 and PR #302, we can create functions load_urbanized_scaling_factor and load_rural_scaling_factor to load values for urbanized and rural areas in order to generate the appropriate the charging profiles.

Function: load_urbanized_scaling_factor

Function: load_rural_scaling_factor

Describe alternatives you've considered, if relevant

Open to alternate solutions on how Breakthrough would like to integrate the scaling factors for the charging profiles.

Additional context