Skip to content

Commit

Permalink
Merge pull request #27 from NREL/release/v1.1.1
Browse files Browse the repository at this point in the history
bump to v1.1.1; add new powertrian type
  • Loading branch information
nreinicke authored Jul 25, 2024
2 parents 7307eb3 + dac5d31 commit 1dd6e84
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions nrel/routee/powertrain/core/powertrain_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class PowertrainType(Enum):
BEV = 3
PHEV_EV_MODE = 4
PHEV_HEV_MODE = 5
HEAVY_DUTY = 6

@classmethod
def from_string(cls, s: Optional[str]) -> PowertrainType:
Expand Down
1 change: 1 addition & 0 deletions nrel/routee/powertrain/core/real_world_adjustments.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
PowertrainType.BEV: 1.3958,
PowertrainType.PHEV_EV_MODE: 1.3958,
PowertrainType.PHEV_HEV_MODE: 1.1252,
PowertrainType.HEAVY_DUTY: 1.0,
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "nrel.routee.powertrain"
version = "1.1.0"
version = "1.1.1"
description = "RouteE-Powertrain is a tool for predicting energy usage over a set of road links."
readme = "README.md"
authors = [{ name = "National Renewable Energy Laboratory" }]
Expand Down

0 comments on commit 1dd6e84

Please sign in to comment.