From 03fbefca17431947785b89e1c19d20d751f8274a Mon Sep 17 00:00:00 2001 From: FelixMau Date: Wed, 24 Apr 2024 13:13:46 +0200 Subject: [PATCH] Adjust extra fields for mimo --- data_adapter_oemof/adapters.py | 3 +++ examples/industry/data_adapter_industry.py | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/data_adapter_oemof/adapters.py b/data_adapter_oemof/adapters.py index 0daa693..5173635 100644 --- a/data_adapter_oemof/adapters.py +++ b/data_adapter_oemof/adapters.py @@ -493,6 +493,9 @@ class MIMOAdapter(Adapter): Field(name="capacity_cost", type=float), Field(name="capacity", type=float), Field(name="expandable", type=bool), + Field(name="activity_bound_min", type=float), + Field(name="activity_bound_max", type=float), + Field(name="activity_bound_fix", type=float), ) def default_pre_mapping_calculations(self): diff --git a/examples/industry/data_adapter_industry.py b/examples/industry/data_adapter_industry.py index 0bdd1b1..c126b0b 100644 --- a/examples/industry/data_adapter_industry.py +++ b/examples/industry/data_adapter_industry.py @@ -66,8 +66,6 @@ "MIMOAdapter": { "capacity_cost": "cost_fix_capacity_w", "capacity": "capacity_w_resid", - "max": "activity_bound_max", - "min": "activity_bound_min", "expandable": "capacity_w_abs_new_max", }, "modex_tech_wind_turbine_onshore": {"profile": "onshore"},