Skip to content

Commit

Permalink
Merge pull request #1149 from lensum/docs/fix_storage_balance_equatio…
Browse files Browse the repository at this point in the history
…n_rendering

Fix LaTeX code in docstring of GenericStorageBlock
  • Loading branch information
p-snft authored Jan 11, 2025
2 parents c516a6b + 02b324a commit 718b377
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/oemof/solph/components/_generic_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,9 @@ class GenericStorageBlock(ScalarBlock):
&- \delta(t) \cdot {\tau(t)/(t_u)}
Storage balance :attr:`om.Storage.balance[n, t]`
.. math:: E(t) = &E(t-1) - E_{loss}(t)
&- \frac{\dot{E}_o(p, t)}{\eta_o(t)} \cdot \tau(t)
+ \dot{E}_i(p, t) \cdot \eta_i(t) \cdot \tau(t)
.. math:: E(t) = &E(t-1) - E_{loss}(t)\\
&- \frac{\dot{E}_o(p, t)}{\eta_o(t)} \cdot \tau(t)\\
&+ \dot{E}_i(p, t) \cdot \eta_i(t) \cdot \tau(t)
Connect the invest variables of the input and the output flow.
.. math::
Expand Down

0 comments on commit 718b377

Please sign in to comment.