Skip to content

Commit

Permalink
Add capacity_cost field to MIMO adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
henhuy committed Mar 4, 2024
1 parent 9222548 commit c469230
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions data_adapter_oemof/adapters.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ class MIMOAdapter(Adapter):
Field(name="region", type=str),
Field(name="year", type=int),
Field(name="groups", type=dict),
Field(name="capacity_cost", type=dict),
)

def get_default_parameters(self) -> dict:
Expand Down
1 change: 1 addition & 0 deletions examples/industry/data_adapter_industry.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"inflow_conversion_factor": "input_ratio",
"outflow_conversion_factor": "output_ratio",
},
"MIMOAdapter": {"capacity_cost": "cost_fix_capacity_w"},
"modex_tech_wind_turbine_onshore": {"profile": "onshore"},
}

Expand Down

0 comments on commit c469230

Please sign in to comment.