Skip to content

Commit

Permalink
Fix issue with missing battery cell in FCEV vehicles.
Browse files Browse the repository at this point in the history
  • Loading branch information
romainsacchi committed Feb 11, 2024
1 parent 0174017 commit e6aef75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion carculator_utils/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -1273,7 +1273,7 @@ def add_battery(self):
for pwt in [
p
for p in self.scope["powertrain"]
if p in ["ICEV-p", "ICEV-d", "ICEV-g", "HEV-p", "HEV-d"]
if p in ["ICEV-p", "ICEV-d", "ICEV-g", "HEV-p", "HEV-d", "FCEV"]
]:
for size in self.scope["size"]:
for year in self.scope["year"]:
Expand Down

0 comments on commit e6aef75

Please sign in to comment.