From dac5d31def83bbd1937245013fd22721f977858c Mon Sep 17 00:00:00 2001 From: Nicholas Reinicke Date: Thu, 25 Jul 2024 14:38:45 -0600 Subject: [PATCH] bump to v1.1.1; add new powertrian type --- nrel/routee/powertrain/core/powertrain_type.py | 1 + nrel/routee/powertrain/core/real_world_adjustments.py | 1 + pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/nrel/routee/powertrain/core/powertrain_type.py b/nrel/routee/powertrain/core/powertrain_type.py index 0d84775..3d00930 100644 --- a/nrel/routee/powertrain/core/powertrain_type.py +++ b/nrel/routee/powertrain/core/powertrain_type.py @@ -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: diff --git a/nrel/routee/powertrain/core/real_world_adjustments.py b/nrel/routee/powertrain/core/real_world_adjustments.py index 5f87907..dcab3fc 100644 --- a/nrel/routee/powertrain/core/real_world_adjustments.py +++ b/nrel/routee/powertrain/core/real_world_adjustments.py @@ -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, } diff --git a/pyproject.toml b/pyproject.toml index ca2cf57..4c7b3ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" }]