oemof/oemof-solph

View on GitHub
examples/invest_nonconvex_flow_examples/diesel_genset_nonconvex_investment.py

Summary

Maintainability
C
1 day
Test Coverage

File diesel_genset_nonconvex_investment.py has 369 lines of code (exceeds 250 allowed). Consider refactoring.
Open

# -*- coding: utf-8 -*-

"""
General description
-------------------

    Function main has 93 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    def main():
        ##########################################################################
        # Initialize the energy system and calculate necessary parameters
        ##########################################################################
    
    

      There are no issues that match your filters.

      Category
      Status