Skip to content

Commit 883c0b9

Browse files
committed
ard.
1 parent 1f2e5cc commit 883c0b9

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

h2integrate/converters/wind/wind_plant_ard.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ def initialize(self):
156156
self.options.declare("plant_config", types=dict)
157157
self.options.declare("tech_config", types=dict)
158158

159+
self.commodity = "electricity"
160+
self.commodity_rate_units = "kW"
161+
self.commodity_amount_units = "kW*h"
162+
159163
if set_up_ard_model is None:
160164
msg = (
161165
"Please install `ard-nrel` or `h2integrate[ard]` to use the"

h2integrate/core/h2integrate_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1952,7 +1952,7 @@ def _check_tech_connections(self):
19521952
if group is None:
19531953
continue
19541954

1955-
io_params.update(group.get_io_metadata().keys())
1955+
io_params.update([key.split(".")[-1] for key in group.get_io_metadata().keys()])
19561956

19571957
tech_io[tech_name] = io_params
19581958

0 commit comments

Comments
 (0)