What is the larger goal of this change?
To add the Python translation of the smart charging HDV code
What the code is doing
How is the purpose executed?
Similar to the smart charging code for LDVs and LDTs, this code iterates through the HDV vehicle data to determine the optimized charging while taking into consideration dwelling activity and charging costs.
Testing
How did you test this change (unit/functional testing, manual testing, etc.)?
Output from this code was compared against the MATLAB output.
Where to look
It's helpful to clarify where your new code lives if you moved files around or there could be confusion/
The new code can be found in the transportation_electrification folder, "PreREISE/prereise/gather/demanddata/transportation_electrification/".
What files are most important?
smart_charging_HDV.py which contains the main algorithm
dwelling.py which has additional helper functions specific to the HDV code
fdata_v10st.mat which is a new dataset with HDV vehicles
Usage Example/Visuals
How the code can be used and/or images of any graphs, tables or other visuals (not always applicable).
Time estimate
How long will it take for reviewers and observers to understand this code change?
It can take a few days to go over the code change.
Pull Request doc
Purpose
What is the larger goal of this change? To add the Python translation of the smart charging HDV code
What the code is doing
How is the purpose executed? Similar to the smart charging code for LDVs and LDTs, this code iterates through the HDV vehicle data to determine the optimized charging while taking into consideration dwelling activity and charging costs.
Testing
How did you test this change (unit/functional testing, manual testing, etc.)? Output from this code was compared against the MATLAB output.
Where to look
It's helpful to clarify where your new code lives if you moved files around or there could be confusion/ The new code can be found in the transportation_electrification folder, "PreREISE/prereise/gather/demanddata/transportation_electrification/".
What files are most important?
smart_charging_HDV.py
which contains the main algorithmdwelling.py
which has additional helper functions specific to the HDV codefdata_v10st.mat
which is a new dataset with HDV vehiclesUsage Example/Visuals
How the code can be used and/or images of any graphs, tables or other visuals (not always applicable).
Time estimate
How long will it take for reviewers and observers to understand this code change? It can take a few days to go over the code change.