From 4e8585b369d77c3b1dabeffc3ec4de0269fffff4 Mon Sep 17 00:00:00 2001 From: kbrunik Date: Wed, 21 Aug 2024 15:10:17 -0500 Subject: [PATCH 1/2] battery bug --- hopp/simulation/hybrid_simulation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hopp/simulation/hybrid_simulation.py b/hopp/simulation/hybrid_simulation.py index 87bfcff4a..446c0cfe4 100644 --- a/hopp/simulation/hybrid_simulation.py +++ b/hopp/simulation/hybrid_simulation.py @@ -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 From 7c4305f7065ce7d98d8b54a0d8a903321d738a7e Mon Sep 17 00:00:00 2001 From: kbrunik Date: Wed, 21 Aug 2024 16:47:14 -0500 Subject: [PATCH 2/2] update wind costs --- greenheart/simulation/greenheart_simulation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/greenheart/simulation/greenheart_simulation.py b/greenheart/simulation/greenheart_simulation.py index b664fef2b..bb6ee79e9 100644 --- a/greenheart/simulation/greenheart_simulation.py +++ b/greenheart/simulation/greenheart_simulation.py @@ -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"][