Skip to content

ENH:binary decomposition_type option #45

Description

@dalyw

Use Case

If using eeco with an existing MILP, it would be useful to be able to create a MILP rather than a MINLP when callingcalculate_cost with a decomposition_type

Solution

In addition to absolute_value option for decomposition_type, can add "binary", making a binary variable indicating when exporting vs importing, and creating the import and export consumption variables based on that

Then add support for "binary" as an argument to ut.decompose_consumption()

Alternatives

Could consider other decomposition strategies as well or different means of creating binary variable

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestneeds triageIssue that has not been reviewed by `electric-emission-cost` team member

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions