Skip to content

Commit

Permalink
Delete warning about timeincrement in EnergySystem
Browse files Browse the repository at this point in the history
The ExperimentalFeatureWarning is only issued in multi-period-mode,
which is experimental anyway. I don't think we need two warnings.
  • Loading branch information
p-snft committed Oct 12, 2023
1 parent 9fe9389 commit 2129b0a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/oemof/solph/_energy_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,6 @@ def __init__(
"conflicting to each other."
)
raise AttributeError(msg)
else:
msg = (
"Ensure that your timeindex and timeincrement are "
"consistent.\nIf you are not considering non-equidistant "
"timeindices, consider only specifying a timeindex."
)
warnings.warn(msg, debugging.ExperimentalFeatureWarning)

elif timeindex is not None and timeincrement is None:
df = pd.DataFrame(timeindex)
Expand Down

0 comments on commit 2129b0a

Please sign in to comment.