Skip to content

Commit

Permalink
Adjust extra fields for mimo
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixMau committed Apr 24, 2024
1 parent 78600e5 commit 03fbefc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions data_adapter_oemof/adapters.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 0 additions & 2 deletions examples/industry/data_adapter_industry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down

0 comments on commit 03fbefc

Please sign in to comment.