Skip to content

Commit

Permalink
Merge pull request #340 from kbrunik/cost_bug
Browse files Browse the repository at this point in the history
OM Cost bug
  • Loading branch information
kbrunik authored Aug 27, 2024
2 parents eed2fdb + 7c4305f commit 93ae382
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion greenheart/simulation/greenheart_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def setup_greenheart_simulation(config: GreenHeartSimulationConfig):
)
):
config.hopp_config["technologies"]["wind"]["fin_model"]["system_costs"][
"om_fixed"
"om_capacity"
][i] = config.hopp_config["config"]["cost_info"]["wind_om_per_kw"]

om_fixed_wind_fin_model = config.hopp_config["technologies"]["wind"][
Expand Down
2 changes: 1 addition & 1 deletion hopp/simulation/hybrid_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def set_om_costs(self, pv_om_per_kw=None, wind_om_per_kw=None,
if battery_om_per_kw:
self.battery.om_capacity = battery_om_per_kw
if battery_om_per_mwh:
self.pv.om_production = battery_om_per_mwh
self.battery.om_production = battery_om_per_mwh

if hybrid_om_per_kw:
self.grid.om_capacity = hybrid_om_per_kw
Expand Down

0 comments on commit 93ae382

Please sign in to comment.