Skip to content

Commit

Permalink
Change default decision variables.
Browse files Browse the repository at this point in the history
Change default decision variables to the more common set of {'Cost',
'Time'}. Users who need to include 'Carbon' and 'Energy' should
manually set the decision variables when defining their assessment
objects.
  • Loading branch information
ioannis-vm committed Nov 6, 2024
1 parent 91a4d71 commit 736b573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pelicun/model/loss_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class LossModel(PelicunModel):
def __init__(
self,
assessment: AssessmentBase,
decision_variables: tuple[str, ...] = ('Carbon', 'Cost', 'Energy', 'Time'),
decision_variables: tuple[str, ...] = ('Cost', 'Time'),
dv_units: dict[str, str] | None = None,
) -> None:
"""
Expand Down

0 comments on commit 736b573

Please sign in to comment.