Breakthrough-Energy / PreREISE

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

feat: state demand profile interface function #327

Closed dmuldrew closed 1 year ago

dmuldrew commented 1 year ago

Pull Request doc

Purpose

Create an interface function to simplify generating profiles by state. Also, finished merging the LDV/HDV smart charging functions into one common function.

What the code is doing

This function generates a dictionary of vehicle miles traveled (bev_vmt) for a specific geographic regions within a given state. It then outputs a demand profile for each geographic region. The state function input is also mapped to a census region which loads the appropriate vehicle census data.

Testing

manual testing so far, would like to eventually add an automated integration test

Time estimate

~30min

dmuldrew commented 1 year ago

Looks like prereise/gather/flexibilitydata/doe/tests/test_bus_data.py::test_get_bus_fips is failing in PR test workflows