oemof/oemof-solph

View on GitHub
examples/storage_level_constraint/storage_level_constraint.py

Summary

Maintainability
A
1 hr
Test Coverage

Function storage_level_constraint_example has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

def storage_level_constraint_example():
    es = EnergySystem(
        timeindex=pd.date_range("2022-01-01", freq="1H", periods=24),
        infer_last_interval=True,
    )
Severity: Minor
Found in examples/storage_level_constraint/storage_level_constraint.py - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status