Code

Rating   Name Duplication Size Complexity
F solph.flows._flow.Flow.__init__() 0 104 33
F dispatch.create_nodes() 0 103 24
F solph.flows._investment_flow_block.InvestmentFlowBlock._create_constraints() 0 164 32
F solph.components._generic_storage.GenericInvestmentStorageBlock._create() 25 354 52
F solph.processing.__separate_attrs() 0 81 23
F solph._energy_system.EnergySystem.__init__() 0 86 22
F solph.components._generic_storage.GenericInvestmentStorageBlock._objective_expression() 14 120 22
F solph.components._generic_storage.GenericStorageBlock._create() 70 189 23
F solph.flows._investment_flow_block.InvestmentFlowBlock._objective_expression() 25 121 18
F solph.flows._simple_flow_block.SimpleFlowBlock._create_constraints() 0 111 16
F solph.components._offset_converter.OffsetConverter.__init__() 0 71 16
F solph.flows._simple_flow_block.SimpleFlowBlock._objective_expression() 18 55 16
F solph.processing.results() 0 51 14
F solph.constraints.storage_level.storage_level_constraint() 143 196 11
D solph.views.node() 0 71 12