Skip to content

Integrate TSAM mode in oemof.solph #1135

Integrate TSAM mode in oemof.solph

Integrate TSAM mode in oemof.solph #1135

GitHub Actions / Black failed Nov 1, 2023 in 0s

1 error

Black found 1 error

Annotations

Check failure on line 526 in /home/runner/work/oemof-solph/oemof-solph/src/oemof/solph/processing.py

See this annotation in the file changed.

@github-actions github-actions / Black

/home/runner/work/oemof-solph/oemof-solph/src/oemof/solph/processing.py#L513-L526

                     accumulate(
                         (
                             (1 - storage.loss_rate[t])
                             for t in range(
                                 t0,
-                                t0
-                                + tsa_period["timesteps_per_period"]
-                                - 1,
+                                t0 + tsa_period["timesteps_per_period"] - 1,
                             )
                         ),
                         operator.mul,
                         initial=1,
                     )