IDAES / idaes-pse

The IDAES Process Systems Engineering Framework
https://idaes-pse.readthedocs.io/
Other
218 stars 235 forks source link

Unleash pylint #82

Closed ksbeattie closed 3 years ago

ksbeattie commented 4 years ago

We currently have pylint -E ... || true running in circleci, etc. which means it can never fail.

Goal: Get all the findings of pylint -E fixed and remove the || true. Do this by opening an issue for each file currently reported in pylint's output.

lbianchi-lbl commented 4 years ago

Some more info about the current status:

Errors by Pylint symbol (error category)

symbol size
17 undefined-variable 605
7 no-member 464
9 no-self-argument 259
8 no-name-in-module 235
3 bad-super-call 27
19 unsubscriptable-object 25
0 assigning-non-slot 15
5 import-error 11
11 not-an-iterable 11
4 function-redefined 6
12 not-callable 5
16 undefined-all-variable 5
10 no-value-for-parameter 4
1 assignment-from-no-return 3
13 raising-non-exception 3
14 too-few-format-args 3
15 too-many-format-args 3
2 assignment-from-none 3
18 unexpected-keyword-arg 2
6 invalid-unary-operand-type 1

Errors by module

module size
47 idaes.generic_models.properties.core.eos.ceos 182
15 idaes.core.tests.test_control_volume_1d 129
14 idaes.core.tests.test_control_volume_0d 108
136 idaes.generic_models.unit_models.tests.test_separator 78
49 idaes.generic_models.properties.core.eos.ideal 74
23 idaes.core.tests.test_unit_model 60
16 idaes.core.tests.test_control_volume_base 52
89 idaes.generic_models.properties.cubic_eos.cubic_prop_pack 51
60 idaes.generic_models.properties.core.generic.tests.test_generic_property 36
22 idaes.core.tests.test_reaction_base 36
21 idaes.core.tests.test_property_base 30
66 idaes.generic_models.properties.core.phase_equil.bubble_dew 28
48 idaes.generic_models.properties.core.eos.eos_base 21
103 idaes.generic_models.unit_models 20
34 idaes.gas_solid_contactors.properties.methane_iron_OC_reduction.solid_phase_thermo 17
93 idaes.generic_models.properties.examples.saponification_thermo 17
72 idaes.generic_models.properties.core.pure.Perrys 16
73 idaes.generic_models.properties.core.pure.RPP 16
131 idaes.generic_models.unit_models.tests.test_mixer 16
39 idaes.gas_solid_contactors.unit_models.bubbling_fluidized_bed 15
67 idaes.generic_models.properties.core.phase_equil.henry 15
71 idaes.generic_models.properties.core.pure.NIST 15
2 idaes.core 14
32 idaes.gas_solid_contactors.properties.methane_iron_OC_reduction.gas_phase_thermo 14
133 idaes.generic_models.unit_models.tests.test_pressure_changer 12
33 idaes.gas_solid_contactors.properties.methane_iron_OC_reduction.hetero_reactions 12
143 idaes.power_generation.properties.flue_gas_ideal 12
163 idaes.power_generation.unit_models.helm.turbine_inlet 12
9 idaes.core.process_base 12
167 idaes.power_generation.unit_models.turbine_inlet 11
90 idaes.generic_models.properties.cubic_eos.tests.test_BT_example 11
27 idaes.core.util.testing 11
13 idaes.core.tests.test_components 10
46 idaes.generic_models.properties.activity_coeff_models.activity_coeff_prop_pack 10
169 idaes.power_generation.unit_models.turbine_outlet 9
58 idaes.generic_models.properties.core.generic.generic_property 9
147 idaes.power_generation.unit_models.helm 9
19 idaes.core.tests.test_process_base 9
84 idaes.generic_models.properties.core.state_definitions.tests.test_FPhx 8
140 idaes.logger 8
86 idaes.generic_models.properties.core.state_definitions.tests.test_FcPh 8
144 idaes.power_generation.unit_models 8
77 idaes.generic_models.properties.core.reactions.rate_constant 7
128 idaes.generic_models.unit_models.tests.test_heat_exchanger 7
85 idaes.generic_models.properties.core.state_definitions.tests.test_FTPx 7
87 idaes.generic_models.properties.core.state_definitions.tests.test_FcTP 7
88 idaes.generic_models.properties.core.state_definitions.tests.test_FpcTP 7
75 idaes.generic_models.properties.core.reactions.equilibrium_constant 7
0 idaes 7
168 idaes.power_generation.unit_models.turbine_multistage 7
173 idaes.surrogate.alamopy.doalamo 7
165 idaes.power_generation.unit_models.helm.turbine_outlet 7
20 idaes.core.tests.test_process_block 6
3 idaes.core.components 6
96 idaes.generic_models.properties.helmholtz.helmholtz 6
7 idaes.core.flowsheet_model 6
129 idaes.generic_models.unit_models.tests.test_heat_exchanger_1D 6
24 idaes.core.unit_model 6
69 idaes.generic_models.properties.core.phase_equil.tests.test_forms 6
31 idaes.gas_solid_contactors.properties.methane_iron_OC_reduction 6
117 idaes.generic_models.unit_models.mixer 6
179 idaes.surrogate.my_surrogate_base 5
172 idaes.surrogate.alamopy.allcard 5
132 idaes.generic_models.unit_models.tests.test_pfr 5
141 idaes.power_generation.flowsheets.supercritical_steam_cycle.supercritical_steam_cycle 5
99 idaes.generic_models.properties.interrogator.properties_interrogator 5
122 idaes.generic_models.unit_models.tests.test_cstr 5
123 idaes.generic_models.unit_models.tests.test_equilibrium_reactor 5
134 idaes.generic_models.unit_models.tests.test_product 5
135 idaes.generic_models.unit_models.tests.test_rstoic 5
137 idaes.generic_models.unit_models.tests.test_statejunction 5
120 idaes.generic_models.unit_models.separator 4
118 idaes.generic_models.unit_models.pressure_changer 4
11 idaes.core.property_base 4
124 idaes.generic_models.unit_models.tests.test_feed 4
125 idaes.generic_models.unit_models.tests.test_feed_flash 4
126 idaes.generic_models.unit_models.tests.test_flash 4
4 idaes.core.control_volume0d 4
92 idaes.generic_models.properties.examples.saponification_reactions 4
5 idaes.core.control_volume1d 4
148 idaes.power_generation.unit_models.helm.compressor 4
187 idaes.surrogate.ripe.write 4
146 idaes.power_generation.unit_models.feedwater_heater_0D 4
8 idaes.core.phases 4
138 idaes.generic_models.unit_models.tests.test_translator 4
12 idaes.core.reaction_base 4
164 idaes.power_generation.unit_models.helm.turbine_multistage 4
171 idaes.power_generation.unit_models.valve_steam 4
59 idaes.generic_models.properties.core.generic.generic_reaction 4
30 idaes.gas_solid_contactors.flowsheets.ss_BFB_methane_combustion 4
40 idaes.gas_solid_contactors.unit_models.tests.test_BFB 4
70 idaes.generic_models.properties.core.phase_equil.tests.test_smooth_VLE 4
26 idaes.core.util.dyn_utils 4
74 idaes.generic_models.properties.core.reactions.dh_rxn 4
76 idaes.generic_models.properties.core.reactions.equilibrium_forms 4
153 idaes.power_generation.unit_models.helm.pump 4
78 idaes.generic_models.properties.core.reactions.rate_forms 4
18 idaes.core.tests.test_phases 4
130 idaes.generic_models.unit_models.tests.test_heater 4
162 idaes.power_generation.unit_models.helm.turbine 4
155 idaes.power_generation.unit_models.helm.tests.test_compare_to_generic 4
182 idaes.surrogate.pysmo.tests.test_radial_basis_function 3
105 idaes.generic_models.unit_models.distillation 3
175 idaes.surrogate.helmet.GAMSDataWrite 3
127 idaes.generic_models.unit_models.tests.test_gibbs 3
94 idaes.generic_models.properties.examples.tests.test_saponification_reaction 3
188 idaes.ui.flowsheet_comparer 3
36 idaes.gas_solid_contactors.properties.methane_iron_OC_reduction.tests.test_CLC_rxn_prop 3
95 idaes.generic_models.properties.examples.tests.test_saponification_thermo 3
97 idaes.generic_models.properties.iapws95 3
100 idaes.generic_models.properties.interrogator.reactions_interrogator 3
61 idaes.generic_models.properties.core.generic.tests.test_generic_reaction 3
102 idaes.generic_models.properties.swco2 3
42 idaes.generic_models.control.pid_controller 3
17 idaes.core.tests.test_flowsheet_model 3
10 idaes.core.process_block 3
176 idaes.surrogate.helmet.Helmet 2
158 idaes.power_generation.unit_models.helm.tests.test_turbine_inlet 2
145 idaes.power_generation.unit_models.boiler_heat_exchanger 2
107 idaes.generic_models.unit_models.distillation.tests.test_feed_tray 2
51 idaes.generic_models.properties.core.eos.tests.test_ideal 2
150 idaes.power_generation.unit_models.helm.convergence.heater 2
152 idaes.power_generation.unit_models.helm.mixer 2
50 idaes.generic_models.properties.core.eos.tests.test_ceos_PR 2
156 idaes.power_generation.unit_models.helm.tests.test_mixer 2
184 idaes.surrogate.pysmo.tests.test_sampling_modified 2
186 idaes.surrogate.ripe.read 2
25 idaes.core.util.convergence.mpi_utils 2
160 idaes.power_generation.unit_models.helm.tests.test_turbine_outlet 2
161 idaes.power_generation.unit_models.helm.tests.test_turbine_stage 2
166 idaes.power_generation.unit_models.helm.turbine_stage 2
178 idaes.surrogate.main 2
177 idaes.surrogate.helmet.Plotting 2
29 idaes.dmf.tests.test_commands 2
142 idaes.power_generation.properties 2
106 idaes.generic_models.unit_models.distillation.tests.test_conventional_tray 2
52 idaes.generic_models.properties.core.examples.reactions.tests.test_reaction_example 2
91 idaes.generic_models.properties.cubic_eos.tests.test_cubic_prop_pack 2
1 idaes.commands.base 2
83 idaes.generic_models.properties.core.reactions.tests.test_rate_forms 2
82 idaes.generic_models.properties.core.reactions.tests.test_rate_constant 2
116 idaes.generic_models.unit_models.heat_exchanger_1D 2
81 idaes.generic_models.properties.core.reactions.tests.test_equilibrium_forms 2
113 idaes.generic_models.unit_models.distillation.tray 2
80 idaes.generic_models.properties.core.reactions.tests.test_equilibrium_constant 2
112 idaes.generic_models.unit_models.distillation.tests.test_tray_side_vap_draw 2
111 idaes.generic_models.unit_models.distillation.tests.test_tray_side_liq_draw 2
98 idaes.generic_models.properties.interrogator 2
110 idaes.generic_models.unit_models.distillation.tests.test_total_condenser 2
109 idaes.generic_models.unit_models.distillation.tests.test_reboiler 2
104 idaes.generic_models.unit_models.convergence.pressure_changer.pressure_changer_conv_eval 2
108 idaes.generic_models.unit_models.distillation.tests.test_partial_condenser 2
101 idaes.generic_models.properties.interrogator.tests.test_properties_interrogator 2
35 idaes.gas_solid_contactors.properties.methane_iron_OC_reduction.tests.test_CLC_gas_prop 1
170 idaes.power_generation.unit_models.turbine_stage 1
28 idaes.dmf.magics 1
114 idaes.generic_models.unit_models.feed 1
174 idaes.surrogate.helmet.BasisFunctions 1
115 idaes.generic_models.unit_models.flash 1
38 idaes.gas_solid_contactors.unit_models 1
180 idaes.surrogate.pysmo.polynomial_regression 1
181 idaes.surrogate.pysmo.tests.test_polynomial_regression 1
183 idaes.surrogate.pysmo.tests.test_sampling 1
185 idaes.surrogate.ripe 1
6 idaes.core.control_volume_base 1
37 idaes.gas_solid_contactors.properties.methane_iron_OC_reduction.tests.test_CLC_solid_prop 1
63 idaes.generic_models.properties.core.generic.tests.test_noncondense_PR 1
119 idaes.generic_models.unit_models.product 1
41 idaes.generic_models.control 1
64 idaes.generic_models.properties.core.generic.tests.test_nonvap 1
139 idaes.generic_models.unit_models.translator 1
57 idaes.generic_models.properties.core.examples.tests.test_BT_PR 1
56 idaes.generic_models.properties.core.examples.tests.test_BTIdeal_FcTP 1
65 idaes.generic_models.properties.core.generic.tests.test_nonvap_PR 1
55 idaes.generic_models.properties.core.examples.tests.test_BTIdeal_FcPh 1
54 idaes.generic_models.properties.core.examples.tests.test_BTIdeal_FPhx 1
68 idaes.generic_models.properties.core.phase_equil.tests.test_bubble_dew 1
53 idaes.generic_models.properties.core.examples.tests.test_BTIdeal 1
79 idaes.generic_models.properties.core.reactions.tests.test_dh_rxn 1
149 idaes.power_generation.unit_models.helm.convergence.compressor 1
151 idaes.power_generation.unit_models.helm.convergence.turbine 1
154 idaes.power_generation.unit_models.helm.splitter 1
45 idaes.generic_models.flowsheets.tests.test_demo_flowsheet 1
157 idaes.power_generation.unit_models.helm.tests.test_splitter 1
159 idaes.power_generation.unit_models.helm.tests.test_turbine_multistage 1
121 idaes.generic_models.unit_models.statejunction 1
62 idaes.generic_models.properties.core.generic.tests.test_noncondense 1
43 idaes.generic_models.control.tests.test_steam_tank 1
44 idaes.generic_models.flowsheets.demo_flowsheet 1

By Pylint symbol and message

count count_is_test count_by_module frac
symbol_with_count message
undefined-variable (count=605) Undefined variable 'Flowsheet' 275 275 [125, 105, 27, 10, 7, 1] 0.162722
Undefined variable 'DummyParameterBlock' 72 72 [32, 7, 7, 7, 7, 7, 2, 2, 1] 0.042604
Undefined variable 'SeparatorFrame' 41 41 [41] 0.024260
Undefined variable 'Unit' 32 32 [31, 1] 0.018935
Undefined variable 'IdealTestBlock' 29 29 [29] 0.017160
Undefined variable 'CVFrame' 25 25 [24, 1] 0.014793
Undefined variable 'PropertyParameterBlock' 17 17 [9, 8] 0.010059
Undefined variable 'ParameterBlock' 15 15 [15] 0.008876
Undefined variable 'ReactionBlock' 7 4 [4, 1, 1, 1] 0.004142
Undefined variable 'config' 7 0 [7] 0.004142
Undefined variable 'MyBlock' 6 6 [6] 0.003550
Undefined variable 'TestStateBlock' 5 4 [2, 2, 1] 0.002959
Undefined variable 'NoPressureTestBlock' 4 4 [4] 0.002367
Undefined variable 'Parameters' 4 4 [3, 1] 0.002367
Undefined variable 'ReactionParameterTestBlock' 4 4 [2, 2] 0.002367
Undefined variable 'ReactionParameterBlock6' 3 3 [3] 0.001775
Undefined variable 'outlvl' 3 0 [3] 0.001775
Undefined variable 'Iapws95StateBlock' 2 0 [2] 0.001183
Undefined variable 'SWCO2StateBlock' 2 0 [2] 0.001183
Undefined variable 'StateTest' 2 2 [2] 0.001183
Undefined variable 'TestStateBlock2' 2 2 [2] 0.001183
Undefined variable 'ActivityCoeffStateBlock' 1 0 [1] 0.000592
Undefined variable 'Anion' 1 0 [1] 0.000592
Undefined variable 'Cation' 1 0 [1] 0.000592
Undefined variable 'Component' 1 0 [1] 0.000592
Undefined variable 'CubicStateBlock' 1 0 [1] 0.000592
Undefined variable 'FWHCondensing0D' 1 0 [1] 0.000592
Undefined variable 'FlueGasStateBlock' 1 0 [1] 0.000592
Undefined variable 'GasPhaseThermoStateBlock' 1 0 [1] 0.000592
Undefined variable 'GenericReactionBlock' 1 0 [1] 0.000592
Undefined variable 'GenericStateBlock' 1 0 [1] 0.000592
Undefined variable 'Iapws95ParameterBlock' 1 0 [1] 0.000592
Undefined variable 'IdealStateBlock' 1 1 [1] 0.000592
Undefined variable 'InterrogatorReactionBlock' 1 0 [1] 0.000592
Undefined variable 'InterrogatorStateBlock' 1 0 [1] 0.000592
Undefined variable 'Ion' 1 0 [1] 0.000592
Undefined variable 'LiquidPhase' 1 0 [1] 0.000592
Undefined variable 'MPI' 1 0 [1] 0.000592
Undefined variable 'MixerFrame' 1 1 [1] 0.000592
Undefined variable 'NoPressureStateBlock' 1 1 [1] 0.000592
Undefined variable 'Phase' 1 0 [1] 0.000592
Undefined variable 'Reaction' 1 1 [1] 0.000592
Undefined variable 'ReactionBlock2' 1 1 [1] 0.000592
Undefined variable 'ReactionParameterBlock2' 1 1 [1] 0.000592
Undefined variable 'ReactionParameterBlock3' 1 1 [1] 0.000592
Undefined variable 'ReactionParameterBlock4' 1 1 [1] 0.000592
Undefined variable 'ReactionParameterBlock5' 1 1 [1] 0.000592
Undefined variable 'RunTimeError' 1 0 [1] 0.000592
Undefined variable 'SWCO2ParameterBlock' 1 0 [1] 0.000592
Undefined variable 'SaponificationStateBlock' 1 0 [1] 0.000592
Undefined variable 'SolidPhase' 1 0 [1] 0.000592
Undefined variable 'SolidPhaseThermoStateBlock' 1 0 [1] 0.000592
Undefined variable 'Solute' 1 0 [1] 0.000592
Undefined variable 'Solvent' 1 0 [1] 0.000592
Undefined variable 'State' 1 1 [1] 0.000592
Undefined variable 'VaporPhase' 1 0 [1] 0.000592
Undefined variable '_b_built' 1 0 [1] 0.000592
Undefined variable 'basis_constraints' 1 0 [1] 0.000592
Undefined variable 'd2rdt_vals' 1 0 [1] 0.000592
Undefined variable 'debug' 1 0 [1] 0.000592
Undefined variable 'equal_percentage_rule' 1 0 [1] 0.000592
Undefined variable 'get_ipython' 1 0 [1] 0.000592
Undefined variable 'global_data_list_of_lists' 1 0 [1] 0.000592
Undefined variable 'group_constraints' 1 0 [1] 0.000592
Undefined variable 'self' 1 0 [1] 0.000592
Undefined variable 'units' 1 1 [1] 0.000592
Undefined variable 'varname' 1 0 [1] 0.000592
Undefined variable 'writethis' 1 0 [1] 0.000592
Undefined variable 'y' 1 0 [1] 0.000592
no-member (count=464) Instance of 'Var' has no 'fix' member 71 0 [10, 9, 7, 6, 6, 5, 4, 4, 4, 3, 3, 3, 2, 2, 2, 1] 0.042012
Instance of 'Cubic' has no 'params' member 61 0 [61] 0.036095
Module 'idaes.generic_models.properties.iapws95' has no 'Iapws95ParameterBlock' member 40 33 [5, 4, 3, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] 0.023669
Instance of 'Cubic' has no 'add_component' member 17 0 [17] 0.010059
Instance of 'Cubic' has no 'name' member 15 0 [15] 0.008876
Instance of 'Cubic' has no 'temperature' member 15 0 [15] 0.008876
Instance of 'Var' has no 'unfix' member 15 0 [5, 3, 2, 2, 2, 1] 0.008876
Instance of 'Ideal' has no 'params' member 12 0 [12] 0.007101
Instance of 'Ideal' has no 'name' member 11 0 [11] 0.006509
Instance of 'Var' has no 'lb' member 11 0 [2, 2, 2, 2, 2, 1] 0.006509
Instance of 'Var' has no 'ub' member 11 0 [2, 2, 2, 2, 2, 1] 0.006509
Module 'idaes.generic_models.properties.cubic_eos.BT_PR' has no 'BTParameterBlock' member 11 11 [11] 0.006509
Instance of 'Cubic' has no 'pressure' member 10 0 [10] 0.005917
Instance of 'Ideal' has no 'temperature' member 9 0 [9] 0.005325
Instance of 'IdealBubbleDew' has no 'params' member 8 0 [8] 0.004734
Instance of 'Ideal' has no 'mole_frac_phase_comp' member 7 0 [7] 0.004142
Instance of 'Cubic' has no 'mole_frac_phase_comp' member 6 0 [6] 0.003550
Instance of 'Cubic' has no 'mole_frac_comp' member 4 0 [4] 0.002367
Instance of 'Ideal' has no 'components_in_phase' member 4 0 [4] 0.002367
Instance of 'IdealBubbleDew' has no 'del_component' member 4 0 [4] 0.002367
Instance of 'LogBubbleDew' has no 'del_component' member 4 0 [4] 0.002367
Instance of 'LogBubbleDew' has no 'params' member 4 0 [4] 0.002367
Instance of 'Var' has no 'value' member; maybe 'values'? 4 0 [2, 2] 0.002367
Instance of '_FlueGasStateBlock' has no 'temperature' member 4 0 [4] 0.002367
Instance of 'enth_mol_ig_comp' has no 'params' member 4 0 [2, 2] 0.002367
Instance of 'Cubic' has no 'components_in_phase' member 3 0 [3] 0.001775
Instance of 'Cubic' has no 'temperature_bubble' member 3 0 [3] 0.001775
Instance of 'Cubic' has no 'temperature_dew' member 3 0 [3] 0.001775
Instance of 'Ideal' has no 'pressure' member 3 0 [3] 0.001775
Instance of '_TagFilter' has no 'levelno' member 3 0 [3] 0.001775
Instance of 'arrhenius' has no 'name' member 3 0 [3] 0.001775
Instance of 'entr_mol_ig_comp' has no 'params' member 3 0 [2, 1] 0.001775
Module 'matplotlib.cm' has no 'coolwarm' member 3 0 [2, 1] 0.001775
Instance of 'Cubic' has no 'config' member 2 0 [2] 0.001183
Instance of 'Cubic' has no 'pressure_bubble' member 2 0 [2] 0.001183
Instance of 'Cubic' has no 'pressure_dew' member 2 0 [2] 0.001183
Instance of 'DummyEoS' has no 'x' member 2 2 [2] 0.001183
Instance of 'Expression' has no 'fix' member 2 0 [2] 0.001183
Instance of 'TestRadialBasisFunction' has no 'x_data' member 2 2 [2] 0.001183
Instance of 'Var' has no 'fixed' member 2 0 [2] 0.001183
Instance of 'constant_dh_rxn' has no 'parent_block' member 2 0 [2] 0.001183
Instance of 'cp_mol_ig_comp' has no 'params' member 2 0 [1, 1] 0.001183
Instance of 'enth_mol_liq_comp' has no 'params' member 2 0 [2] 0.001183
Instance of 'entr_mol_liq_comp' has no 'params' member 2 0 [2] 0.001183
Instance of 'pressure_sat_comp' has no 'params' member 2 0 [2] 0.001183
Instance of 'van_t_hoff' has no 'name' member 2 0 [2] 0.001183
Class 'EnergyBalanceType' has no 'foo' member 1 1 [1] 0.000592
Class 'FlowDirection' has no 'foo' member 1 1 [1] 0.000592
Class 'MaterialBalanceType' has no 'foo' member 1 1 [1] 0.000592
Class 'MomentumBalanceType' has no 'foo' member 1 1 [1] 0.000592
Class 'ProcessBlock' has no '_orig_module' member 1 0 [1] 0.000592
Class 'ProcessBlock' has no '_orig_name' member 1 0 [1] 0.000592
Instance of 'Cubic' has no '_mole_frac_pbub' member 1 0 [1] 0.000592
Instance of 'Cubic' has no '_mole_frac_pdew' member 1 0 [1] 0.000592
Instance of 'Cubic' has no '_mole_frac_tbub' member 1 0 [1] 0.000592
Instance of 'Cubic' has no '_mole_frac_tdew' member 1 0 [1] 0.000592
Instance of 'Cubic' has no 'always_flash' member 1 0 [1] 0.000592
Instance of 'Cubic' has no 'mw_phase' member 1 0 [1] 0.000592
Instance of 'Cubic' has no 'parent_block' member 1 0 [1] 0.000592
Instance of 'EoSBase' has no 'params' member 1 0 [1] 0.000592
Instance of 'Hcp_constant' has no 'add_component' member 1 0 [1] 0.000592
Instance of 'Hcp_constant' has no 'config' member 1 0 [1] 0.000592
Instance of 'Hcp_constant' has no 'dens_mol_phase' member 1 0 [1] 0.000592
Instance of 'Hcp_constant' has no 'mole_frac_phase_comp' member 1 0 [1] 0.000592
Instance of 'Hcp_constant' has no 'params' member 1 0 [1] 0.000592
Instance of 'Hcp_constant' has no 'temperature' member 1 0 [1] 0.000592
Instance of 'HelmholtzThermoExpressions' has no 'mw' member 1 0 [1] 0.000592
Instance of 'Hxp_constant' has no 'add_component' member 1 0 [1] 0.000592
Instance of 'Hxp_constant' has no 'config' member 1 0 [1] 0.000592
Instance of 'Hxp_constant' has no 'mole_frac_phase_comp' member 1 0 [1] 0.000592
Instance of 'Hxp_constant' has no 'params' member 1 0 [1] 0.000592
Instance of 'Hxp_constant' has no 'temperature' member 1 0 [1] 0.000592
Instance of 'Ideal' has no '_teq' member 1 0 [1] 0.000592
Instance of 'Ideal' has no 'mw_phase' member 1 0 [1] 0.000592
Instance of 'KrigingModel' has no 'kriging_generate_expression' member 1 0 [1] 0.000592
Instance of 'RadialBasisFunctions' has no 'rbf_generate_expression' member 1 0 [1] 0.000592
Instance of 'RadialBasisFunctions' has no 'rbf_training' member 1 1 [1] 0.000592
Instance of 'RangeSet' has no 'first' member 1 0 [1] 0.000592
Instance of 'RangeSet' has no 'last' member 1 0 [1] 0.000592
Instance of 'Surrogate' has no '_vdata' member 1 0 [1] 0.000592
Instance of 'arrhenius' has no 'parent_block' member 1 0 [1] 0.000592
Instance of 'arrhenius' has no 'reaction_order' member 1 0 [1] 0.000592
Instance of 'cp_mol_liq_comp' has no 'params' member 1 0 [1] 0.000592
Instance of 'dens_mol_liq_comp' has no 'params' member 1 0 [1] 0.000592
Instance of 'enth_mol_ig_comp' has no 'parent_block' member 1 0 [1] 0.000592
Instance of 'enth_mol_liq_comp' has no 'parent_block' member 1 0 [1] 0.000592
Instance of 'entr_mol_ig_comp' has no 'parent_block' member 1 0 [1] 0.000592
Instance of 'entr_mol_liq_comp' has no 'parent_block' member 1 0 [1] 0.000592
Instance of 'power_law_equil' has no 'k_eq' member 1 0 [1] 0.000592
Instance of 'power_law_equil' has no 'state_ref' member 1 0 [1] 0.000592
Instance of 'power_law_rate' has no 'k_rxn' member 1 0 [1] 0.000592
Instance of 'power_law_rate' has no 'state_ref' member 1 0 [1] 0.000592
Instance of 'test_class' has no 'config' member 1 1 [1] 0.000592
Instance of 'van_t_hoff' has no 'dh_rxn' member 1 0 [1] 0.000592
Instance of 'van_t_hoff' has no 'parent_block' member 1 0 [1] 0.000592
Instance of 'van_t_hoff' has no 'reaction_order' member 1 0 [1] 0.000592
Module 'idaes.dmf.commands' has no 'find_html_docs' member 1 1 [1] 0.000592
Module 'idaes.surrogate.helmet.Plotting' has no 'multSSECombo' member 1 0 [1] 0.000592
no-self-argument (count=259) Method should have "self" as first argument 259 9 [44, 20, 20, 20, 10, 9, 9, 9, 9, 9, 8, 8, 6, 5, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1] 0.153254
no-name-in-module (count=235) No name 'PhysicalParameterTestBlock' 36 36 [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] 0.021302
No name 'BTXParameterBlock' 20 19 [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] 0.011834
No name 'SaponificationParameterBlock' 16 16 [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] 0.009467
No name 'GenericParameterBlock' 13 13 [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] 0.007692
No name 'Component' 6 2 [1, 1, 1, 1, 1, 1] 0.003550
No name 'GenericReactionParameterBlock' 6 6 [1, 1, 1, 1, 1, 1] 0.003550
No name 'Phase' 6 3 [1, 1, 1, 1, 1, 1] 0.003550
No name 'ReactionParameterTestBlock' 6 6 [1, 1, 1, 1, 1, 1] 0.003550
No name 'GasPhaseThermoParameterBlock' 5 3 [1, 1, 1, 1, 1] 0.002959
No name 'SaponificationReactionParameterBlock' 5 5 [1, 1, 1, 1, 1] 0.002959
No name 'SolidPhaseThermoParameterBlock' 5 3 [1, 1, 1, 1, 1] 0.002959
No name 'HeteroReactionParameterBlock' 4 2 [1, 1, 1, 1] 0.002367
No name 'LiquidPhase' 4 2 [1, 1, 1, 1] 0.002367
No name 'PressureChanger' 4 2 [1, 1, 1, 1] 0.002367
No name 'Separator' 4 2 [1, 1, 1, 1] 0.002367
No name 'BubblingFluidizedBed' 3 1 [1, 1, 1] 0.001775
No name 'SolidPhase' 3 2 [1, 1, 1] 0.001775
No name 'VaporPhase' 3 2 [1, 1, 1] 0.001775
No name 'Anion' 2 1 [1, 1] 0.001183
No name 'CSTR' 2 1 [1, 1] 0.001183
No name 'Cation' 2 1 [1, 1] 0.001183
No name 'Compressor' 2 1 [1, 1] 0.001183
No name 'EquilibriumReactor' 2 1 [1, 1] 0.001183
No name 'Feed' 2 1 [1, 1] 0.001183
No name 'FeedFlash' 2 1 [1, 1] 0.001183
No name 'Flash' 2 1 [1, 1] 0.001183
No name 'GibbsReactor' 2 1 [1, 1] 0.001183
No name 'HeatExchanger' 2 1 [1, 1] 0.001183
No name 'HeatExchanger1D' 2 1 [1, 1] 0.001183
No name 'Ion' 2 1 [1, 1] 0.001183
No name 'Mixer' 2 1 [1, 1] 0.001183
No name 'PFR' 2 1 [1, 1] 0.001183
No name 'Product' 2 1 [1, 1] 0.001183
No name 'Pump' 2 1 [1, 1] 0.001183
No name 'ReactionBlock' 2 1 [1, 1] 0.001183
No name 'Solute' 2 1 [1, 1] 0.001183
No name 'Solvent' 2 1 [1, 1] 0.001183
No name 'StateJunction' 2 1 [1, 1] 0.001183
No name 'StoichiometricReactor' 2 1 [1, 1] 0.001183
No name 'TestStateBlock' 2 2 [1, 1] 0.001183
No name 'Translator' 2 1 [1, 1] 0.001183
No name 'Turbine' 2 1 [1, 1] 0.001183
No name 'BalanceBlock' 1 0 [1] 0.000592
No name 'Condenser' 1 0 [1] 0.000592
No name 'ControlVolume0DBlock' 1 0 [1] 0.000592
No name 'ControlVolume1DBlock' 1 0 [1] 0.000592
No name 'CubicParameterBlock' 1 1 [1] 0.000592
No name 'CubicStateBlock' 1 1 [1] 0.000592
No name 'FWH0D' 1 0 [1] 0.000592
No name 'FWHCondensing0D' 1 0 [1] 0.000592
No name 'FlowsheetBlock' 1 0 [1] 0.000592
No name 'FlueGasParameterBlock' 1 0 [1] 0.000592
No name 'FlueGasStateBlock' 1 0 [1] 0.000592
No name 'GasPhaseThermoStateBlock' 1 0 [1] 0.000592
No name 'GenericStateBlock' 1 1 [1] 0.000592
No name 'Heater' 1 0 [1] 0.000592
No name 'HelmIsentropicCompressor' 1 0 [1] 0.000592
No name 'HelmIsentropicTurbine' 1 0 [1] 0.000592
No name 'HelmMixer' 1 0 [1] 0.000592
No name 'HelmPump' 1 0 [1] 0.000592
No name 'HelmSplitter' 1 0 [1] 0.000592
No name 'HelmTurbineInletStage' 1 0 [1] 0.000592
No name 'HelmTurbineMultistage' 1 0 [1] 0.000592
No name 'HelmTurbineOutletStage' 1 0 [1] 0.000592
No name 'HelmTurbineStage' 1 0 [1] 0.000592
No name 'MethaneParameterBlock' 1 1 [1] 0.000592
No name 'PIDBlock' 1 0 [1] 0.000592
No name 'ProcessBaseBlock' 1 1 [1] 0.000592
No name 'PropertyInterrogatorBlock' 1 0 [1] 0.000592
No name 'ReactionInterrogatorBlock' 1 0 [1] 0.000592
No name 'Reboiler' 1 0 [1] 0.000592
No name 'SaponificationStateBlock' 1 1 [1] 0.000592
No name 'SolidPhaseThermoStateBlock' 1 0 [1] 0.000592
No name 'SteamValve' 1 0 [1] 0.000592
No name 'Tray' 1 0 [1] 0.000592
No name 'TurbineInletStage' 1 0 [1] 0.000592
No name 'TurbineMultistage' 1 0 [1] 0.000592
No name 'TurbineOutletStage' 1 0 [1] 0.000592
No name 'TurbineStage' 1 0 [1] 0.000592
No name 'UnitModelBlock' 1 0 [1] 0.000592
bad-super-call (count=27) Bad first argument 'ReactionParameterBlock' given to super() 10 8 [7, 1, 1, 1] 0.005917
Bad first argument 'StateBlockData' given to super() 4 4 [3, 1] 0.002367
Bad first argument 'ReactionBlockDataBase' given to super() 3 2 [2, 1] 0.001775
Bad first argument 'ControlVolumeBlockData' given to super() 2 2 [1, 1] 0.001183
Bad first argument 'FlowsheetBlockData' given to super() 2 2 [1, 1] 0.001183
Bad first argument 'MixerData' given to super() 2 2 [2] 0.001183
Bad first argument 'Block' given to super() 1 0 [1] 0.000592
Bad first argument 'ControlVolume1DBlockData' given to super() 1 1 [1] 0.000592
Bad first argument 'SeparatorData' given to super() 1 1 [1] 0.000592
Bad first argument 'UnitModelBlockData' given to super() 1 1 [1] 0.000592
unsubscriptable-object (count=25) Value 'performance' is unsubscriptable 6 0 [6] 0.003550
Value 'blk.compress_fact_phase' is unsubscriptable 5 0 [5] 0.002959
Value 'b.enth_mol_phase_comp' is unsubscriptable 3 0 [2, 1] 0.001775
Value 'b.entr_mol_phase_comp' is unsubscriptable 3 0 [2, 1] 0.001775
Value 'b.dens_mol_phase' is unsubscriptable 2 0 [1, 1] 0.001183
Value 'b.compress_fact_phase' is unsubscriptable 1 0 [1] 0.000592
Value 'b.enth_mol_phase' is unsubscriptable 1 0 [1] 0.000592
Value 'b.entr_mol_phase' is unsubscriptable 1 0 [1] 0.000592
Value 'b.fug_coeff_phase_comp' is unsubscriptable 1 0 [1] 0.000592
Value 'b.fug_phase_comp' is unsubscriptable 1 1 [1] 0.000592
Value 'b.gibbs_mol_phase_comp' is unsubscriptable 1 0 [1] 0.000592
assigning-non-slot (count=15) Assigning to attribute 'dynamic' not defined in class slots 3 0 [2, 1] 0.001775
Assigning to attribute 'num_inlets' not defined in class slots 2 0 [1, 1] 0.001183
Assigning to attribute 'num_outlets' not defined in class slots 2 0 [1, 1] 0.001183
Assigning to attribute 'property_package' not defined in class slots 2 0 [2] 0.001183
Assigning to attribute 'time' not defined in class slots 2 0 [2] 0.001183
Assigning to attribute 'transformation_scheme' not defined in class slots 2 0 [2] 0.001183
Assigning to attribute 'has_holdup' not defined in class slots 1 0 [1] 0.000592
Assigning to attribute 'time_set' not defined in class slots 1 0 [1] 0.000592
not-an-iterable (count=11) Non-iterable value self.inlet_stage_idx is used in an iterating context 11 0 [7, 4] 0.006509
import-error (count=11) Unable to import 'ripe' 5 0 [3, 2] 0.002959
Unable to import 'cvalsim' 3 0 [3] 0.001775
Unable to import 'alamopy' 1 0 [1] 0.000592
Unable to import 'alamopy.writethis' 1 0 [1] 0.000592
Unable to import 'almsim' 1 0 [1] 0.000592
function-redefined (count=6) function already defined line 176 3 0 [3] 0.001775
method already defined line 1080 1 1 [1] 0.000592
method already defined line 1280 1 1 [1] 0.000592
method already defined line 1505 1 1 [1] 0.000592
not-callable (count=5) almerror is not callable 3 0 [3] 0.001775
self.reaction_block_class is not callable 1 0 [1] 0.000592
self.state_block_class is not callable 1 0 [1] 0.000592
undefined-all-variable (count=5) Undefined variable name 'FlowsheetBlock' in __all__ 1 0 [1] 0.000592
Undefined variable name 'ReactionBlock' in __all__ 1 0 [1] 0.000592
Undefined variable name 'ReactionBlockData' in __all__ 1 0 [1] 0.000592
Undefined variable name 'UnitModelBlock' in __all__ 1 0 [1] 0.000592
Undefined variable name 'massact' in __all__ 1 0 [1] 0.000592
no-value-for-parameter (count=4) No value for argument 'type' in function call 2 0 [2] 0.001183
No value for argument 'quiet' in function call 1 0 [1] 0.000592
No value for argument 'verbose' in function call 1 0 [1] 0.000592
assignment-from-no-return (count=3) Assigning result of a function call, where the function has no return 3 0 [2, 1] 0.001775
assignment-from-none (count=3) Assigning result of a function call, where the function returns None 3 0 [2, 1] 0.001775
raising-non-exception (count=3) Raising a new style class which doesn't inherit from BaseException 3 0 [3] 0.001775
too-few-format-args (count=3) Not enough arguments for format string 3 0 [3] 0.001775
too-many-format-args (count=3) Too many arguments for format string 3 0 [1, 1, 1] 0.001775
unexpected-keyword-arg (count=2) Unexpected keyword argument 'html_paths' in function call 1 1 [1] 0.000592
Unexpected keyword argument 'tolerance' in constructor call 1 1 [1] 0.000592
invalid-unary-operand-type (count=1) bad operand type for unary -: NoneType 1 0 [1] 0.000592