Skip to content

Commit

Permalink
Tell about need for timeincrement in MP models
Browse files Browse the repository at this point in the history
As described in #979, timeincrement currently needs to be set for
multi period optimisation models.
  • Loading branch information
p-snft committed Oct 16, 2023
1 parent 321a35a commit 561688d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/oemof/solph/_energy_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,7 @@ def __init__(
else:
msg = (
"Ensure that your timeindex and timeincrement are "
"consistent.\nIf you are not considering non-equidistant "
"timeindices, consider only specifying a timeindex."
"consistent."
)
warnings.warn(msg, debugging.ExperimentalFeatureWarning)

Expand Down

0 comments on commit 561688d

Please sign in to comment.