Skip to content

Commit

Permalink
Add math for volatile component
Browse files Browse the repository at this point in the history
  • Loading branch information
simnh committed Jun 13, 2019
1 parent 0c71626 commit 36eb028
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion src/oemof/tabular/facades.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,9 @@ def build_solph_components(self):


class Volatile(Source, Facade):
""" Volatile element with one output, for example a wind turbine
"""Volatile element with one output. This class can be used to model
PV oder Wind power plants.
Parameters
----------
Expand Down Expand Up @@ -338,6 +340,35 @@ class Volatile(Source, Facade):
If False, the output may be curtailed when optimizing dispatch.
Default: True
The mathematical representations for this components are dependent on the
user defined attributes. If the capacity is fixed before (**dispatch mode**)
the following equation holds:
.. math::
x_{volatile}^{flow}(t) = c_{volatile}^{capacity} \cdot c_{volatile}^{profile}(t) \
\\qquad \\forall t \in T
Where :math:`x_{volatile}^{flow}` denotes the production (endogenous variable)
of the volatile object to the bus.
If `expandable` is set to `True` (**investment mode**), the equation
changes slightly:
.. math::
x_{volatile}^{flow}(t) = (x_{volatile}^{capacity} + c_{volatile}^{capacity}) \
\cdot c_{volatile}^{profile}(t) \\qquad \\forall t \in T
Where the bounded endogenous variable of the volatile component is added:
.. math::
x_{volatile}^{capacity} \leq c_{volatile}^{capacity\_potential}
Examples
---------
Expand Down Expand Up @@ -566,6 +597,8 @@ class BackpressureTurbine(Transformer, Facade):
If capacity is not set, this value will be used for optimizing the
chp capacity.
Examples
---------
Expand Down Expand Up @@ -848,6 +881,7 @@ class Storage(GenericStorage, Facade):
more information on possible parameters)
Examples
---------
Expand Down

0 comments on commit 36eb028

Please sign in to comment.