Skip to content

Commit

Permalink
Fix sum typo in opex expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
simnh committed Jun 17, 2019
1 parent 81140a8 commit 17b1808
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions src/oemof/tabular/facades.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ class Dispatchable(Source, Facade):
.. math::
\sum_t x^{opex} = x^{flow}(t) \cdot c^{marginal\_cost}(t)
x^{opex} = \sum_t x^{flow}(t) \cdot c^{marginal\_cost}(t)
For constraints set through `output_parameters` see oemof.solph.Flow class.
Expand Down Expand Up @@ -430,7 +430,7 @@ class Volatile(Source, Facade):
.. math::
\sum_t x^{opex} = x^{flow}(t) \cdot c^{marginal\_cost}(t)
x^{opex} = \sum_t (x^{flow}(t) \cdot c^{marginal\_cost}(t))
Examples
---------
Expand Down Expand Up @@ -550,9 +550,8 @@ class ExtractionTurbine(ExtractionTurbineCHP, Facade):
.. math::
\sum_t \
x^{opex} = x^{flow, out}(t) \cdot c^{marginal\_cost}(t) \
+ x^{flow, carrier} \cdot c^{carrier\_cost}(t)
x^{opex} = \sum_t (x^{flow, out}(t) \cdot c^{marginal\_cost}(t) \
+ x^{flow, carrier} \cdot c^{carrier\_cost}(t))
Examples
Expand Down Expand Up @@ -711,9 +710,8 @@ class BackpressureTurbine(Transformer, Facade):
.. math::
\sum_t \
x^{opex} = x^{flow, out}(t) \cdot c^{marginal\_cost}(t) \
+ x^{flow, carrier} \cdot c^{carrier\_cost}(t)
x^{opex} = \sum_t (x^{flow, out}(t) \cdot c^{marginal\_cost}(t) \
+ x^{flow, carrier} \cdot c^{carrier\_cost}(t))
Examples
---------
Expand Down Expand Up @@ -847,9 +845,8 @@ class Conversion(Transformer, Facade):
.. math::
\sum_t \
x^{opex} = x^{flow, out}(t) \cdot c^{marginal\_cost}(t) \
+ x^{flow, carrier} \cdot c^{carrier\_cost}(t)
x^{opex} = \sum_t (x^{flow, out}(t) \cdot c^{marginal\_cost}(t) \
+ x^{flow, carrier} \cdot c^{carrier\_cost}(t))
Examples
Expand Down Expand Up @@ -1040,7 +1037,7 @@ class Storage(GenericStorage, Facade):
.. math::
\sum_t x^{opex} = x^{flow, out}(t) \cdot c^{marginal\_cost}(t)
x^{opex} = \sum_t (x^{flow, out}(t) \cdot c^{marginal\_cost}(t))
Examples
Expand Down

0 comments on commit 17b1808

Please sign in to comment.