From c5b75de5cddc9a5d4521428715d985ff0fb477e0 Mon Sep 17 00:00:00 2001
From: "christoph.von.oy" <christoph.von.oy@rwth-aachen.de>
Date: Tue, 16 Apr 2024 11:44:08 +0200
Subject: [PATCH] Fixed cost vs costs

---
 Model_Library                      | 2 +-
 examples/BusChargingDepot/runme.py | 2 +-
 examples/BusChargingHPC/runme.py   | 2 +-
 examples/BusChargingIMC/runme.py   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Model_Library b/Model_Library
index e81644a46e..2ac4c168d2 160000
--- a/Model_Library
+++ b/Model_Library
@@ -1 +1 @@
-Subproject commit e81644a46e73d1a7148f9c4ab8c95b44b25545fb
+Subproject commit 2ac4c168d26b456070b6dbda1a8fe150fe870f76
diff --git a/examples/BusChargingDepot/runme.py b/examples/BusChargingDepot/runme.py
index 8d88fba458..28d70cf638 100644
--- a/examples/BusChargingDepot/runme.py
+++ b/examples/BusChargingDepot/runme.py
@@ -75,6 +75,6 @@ prosumer_json["additional_model_logic"]["charger_2_enable"]["enable"] = input_pr
 
 prosumer = Prosumer("LaTrielle", prosumer_json, dynamic)
 
-prosumer.optimize_sizing("sized", ["annuity", "peak_power_costs"])
+prosumer.optimize_sizing("sized", ["annuity", "peak_power_cost"])
 
 prosumer.save_results("output_files")
diff --git a/examples/BusChargingHPC/runme.py b/examples/BusChargingHPC/runme.py
index 788897f1f9..2ca85a2133 100644
--- a/examples/BusChargingHPC/runme.py
+++ b/examples/BusChargingHPC/runme.py
@@ -93,6 +93,6 @@ prosumer_json["additional_model_logic"]["HPC_3_bus_2_enable"][
 
 prosumer = Prosumer("LaTreille", prosumer_json, dynamic)
 
-prosumer.optimize_sizing("sized", ["annuity", "peak_power_costs"])
+prosumer.optimize_sizing("sized", ["annuity", "peak_power_cost"])
 
 prosumer.save_results("output_files")
diff --git a/examples/BusChargingIMC/runme.py b/examples/BusChargingIMC/runme.py
index 13b73a45f7..13e3c50168 100644
--- a/examples/BusChargingIMC/runme.py
+++ b/examples/BusChargingIMC/runme.py
@@ -97,6 +97,6 @@ prosumer_json["components"]["bus_2_motor_inverter"][
 
 prosumer = Prosumer("LaTreille", prosumer_json, dynamic)
 
-prosumer.optimize_sizing("sized", ["annuity", "peak_power_costs"])
+prosumer.optimize_sizing("sized", ["annuity", "peak_power_cost"])
 
 prosumer.save_results("output_files")
-- 
GitLab