From 02b324a5e0b9a6ac073cd96d7dd61b505e9a1b56 Mon Sep 17 00:00:00 2001 From: lensum <80690396+lensum@users.noreply.github.com> Date: Fri, 10 Jan 2025 09:25:46 +0100 Subject: [PATCH] fixed latex code of the storage balance equation in the GenericStorageBlock to make it renderable again --- src/oemof/solph/components/_generic_storage.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/oemof/solph/components/_generic_storage.py b/src/oemof/solph/components/_generic_storage.py index d12ae3c02..49b969f87 100644 --- a/src/oemof/solph/components/_generic_storage.py +++ b/src/oemof/solph/components/_generic_storage.py @@ -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::