Skip to content

Commit

Permalink
Add multi-period parameters to dispatchable
Browse files Browse the repository at this point in the history
  • Loading branch information
nailend committed Jul 13, 2023
1 parent 83137f0 commit 63743c1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/oemof/tabular/facades/dispatchable.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@ class Dispatchable(Source, Facade):
Max install capacity if capacity is to be expanded
capacity_minimum: numeric
Minimum install capacity if capacity is to be expanded
lifetime: int (optional)
Lifetime of the component in years. Necessary for multi-period
investment optimization.
Note: Only applicable for a multi-period model. Default: None.
age : int (optional)
The initial age of a flow (usually given in years);
once it reaches its lifetime (considering also
an initial age), the flow is forced to 0.
Note: Only applicable for a multi-period model. Default: None.
fixed_costs : numeric (iterable or scalar) (optional)
The fixed costs associated with a flow.
Note: Only applicable for a multi-period model. Default: None.
The mathematical representations for these components are dependent on the
Expand Down Expand Up @@ -109,6 +121,12 @@ class Dispatchable(Source, Facade):

capacity_cost: float = None

lifetime: int = None

age: int = None

fixed_costs: Union[float, Sequence[float]] = None

capacity_minimum: float = None

expandable: bool = False
Expand Down

0 comments on commit 63743c1

Please sign in to comment.