We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f2e5cc commit 883c0b9Copy full SHA for 883c0b9
2 files changed
h2integrate/converters/wind/wind_plant_ard.py
@@ -156,6 +156,10 @@ def initialize(self):
156
self.options.declare("plant_config", types=dict)
157
self.options.declare("tech_config", types=dict)
158
159
+ self.commodity = "electricity"
160
+ self.commodity_rate_units = "kW"
161
+ self.commodity_amount_units = "kW*h"
162
+
163
if set_up_ard_model is None:
164
msg = (
165
"Please install `ard-nrel` or `h2integrate[ard]` to use the"
h2integrate/core/h2integrate_model.py
@@ -1952,7 +1952,7 @@ def _check_tech_connections(self):
1952
if group is None:
1953
continue
1954
1955
- io_params.update(group.get_io_metadata().keys())
+ io_params.update([key.split(".")[-1] for key in group.get_io_metadata().keys()])
1956
1957
tech_io[tech_name] = io_params
1958
0 commit comments