Coverage report: 66%

Files Functions Classes

coverage.py v7.10.7, created at 2026-05-13 02:47 +0000

File class statements missing excluded branches partial coverage
backend/ahuora-builder/src/ahuora_builder/__init__.py (no class) 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/arc_manager.py ArcManager 9 0 0 2 0 100%
backend/ahuora-builder/src/ahuora_builder/arc_manager.py (no class) 7 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/build_state.py (no class) 36 3 0 4 1 90%
backend/ahuora-builder/src/ahuora_builder/custom/PIDController.py PIDController2Data 129 129 0 76 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/PIDController.py (no class) 19 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/PySMOModel.py PySMOModelData 59 7 0 16 1 84%
backend/ahuora-builder/src/ahuora_builder/custom/PySMOModel.py (no class) 45 2 0 4 2 92%
backend/ahuora-builder/src/ahuora_builder/custom/SimpleEffectivenessHX_DH.py HXEFFInitializer 23 23 0 2 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/SimpleEffectivenessHX_DH.py HeatExchangerEFFData 147 6 0 8 3 94%
backend/ahuora-builder/src/ahuora_builder/custom/SimpleEffectivenessHX_DH.py (no class) 37 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/__init__.py (no class) 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/add_initial_dynamics.py (no class) 14 10 0 2 1 31%
backend/ahuora-builder/src/ahuora_builder/custom/custom_compressor.py CustomCompressorData 27 3 0 8 4 80%
backend/ahuora-builder/src/ahuora_builder/custom/custom_compressor.py (no class) 17 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/custom_cooler.py CustomCoolerData 13 0 0 6 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/custom_cooler.py (no class) 7 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/custom_heat_exchanger.py CustomHeatExchangerData 73 17 0 34 11 68%
backend/ahuora-builder/src/ahuora_builder/custom/custom_heat_exchanger.py (no class) 23 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/custom_heat_exchanger_1d.py CustomHX1DInitializer 1 1 0 0 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/custom_heat_exchanger_1d.py CustomHeatExchanger1DData 66 66 0 22 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/custom_heat_exchanger_1d.py (no class) 36 16 0 6 0 48%
backend/ahuora-builder/src/ahuora_builder/custom/custom_heater.py DynamicHeaterData 10 0 0 6 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/custom_heater.py (no class) 8 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/custom_pump.py CustomPumpData 11 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/custom_pump.py (no class) 15 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/custom_separator.py CustomSeparatorData 89 35 0 72 13 59%
backend/ahuora-builder/src/ahuora_builder/custom/custom_separator.py (no class) 19 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/custom_tank.py DynamicTankData 36 3 0 6 1 90%
backend/ahuora-builder/src/ahuora_builder/custom/custom_tank.py (no class) 17 0 0 2 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/custom_turbine.py CustomTurbineData 14 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/custom_turbine.py (no class) 22 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/custom_valve.py ValveFunctionType 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/custom_valve.py ValveData 52 34 0 32 3 32%
backend/ahuora-builder/src/ahuora_builder/custom/custom_valve.py (no class) 62 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/custom_variable.py CustomVariableData 2 2 0 0 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/custom_variable.py (no class) 13 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/direct_steam_injection.py dsiData 67 5 0 2 0 93%
backend/ahuora-builder/src/ahuora_builder/custom/direct_steam_injection.py (no class) 22 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/energy/__init__.py (no class) 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/energy/acBus.py SplittingType 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/energy/acBus.py acBusData 57 57 0 8 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/energy/acBus.py (no class) 34 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/energy/ac_property_package.py acParameterData 19 11 0 6 0 32%
backend/ahuora-builder/src/ahuora_builder/custom/energy/ac_property_package.py _acStateBlock 15 15 0 14 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/energy/ac_property_package.py acStateBlockData 13 13 0 0 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/energy/ac_property_package.py (no class) 33 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/energy/battery.py SolarData 20 20 0 0 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/energy/battery.py (no class) 20 20 0 0 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/energy/bus.py BusData 31 12 0 10 0 51%
backend/ahuora-builder/src/ahuora_builder/custom/energy/bus.py (no class) 22 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/energy/energy_mixer.py EnergyMixerData 35 7 0 12 2 77%
backend/ahuora-builder/src/ahuora_builder/custom/energy/energy_mixer.py (no class) 22 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/energy/energy_splitter.py EnergySplitterData 45 45 0 14 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/energy/energy_splitter.py (no class) 23 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/energy/grid.py gridData 23 23 0 4 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/energy/grid.py (no class) 20 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/energy/hydro.py HydroData 21 21 0 0 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/energy/hydro.py (no class) 20 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/energy/link.py LinkData 18 1 0 4 1 91%
backend/ahuora-builder/src/ahuora_builder/custom/energy/link.py (no class) 17 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/energy/load.py loadData 21 21 0 4 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/energy/load.py (no class) 20 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/energy/mainDistributionBoard.py MDBData 59 11 0 16 0 75%
backend/ahuora-builder/src/ahuora_builder/custom/energy/mainDistributionBoard.py (no class) 24 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/energy/power_property_package.py PowerParameterData 15 7 0 6 1 43%
backend/ahuora-builder/src/ahuora_builder/custom/energy/power_property_package.py _PowerStateBlock 15 15 0 14 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/energy/power_property_package.py PowerStateBlockData 7 3 0 0 0 57%
backend/ahuora-builder/src/ahuora_builder/custom/energy/power_property_package.py (no class) 33 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/energy/solar.py SolarData 20 5 0 0 0 75%
backend/ahuora-builder/src/ahuora_builder/custom/energy/solar.py (no class) 20 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/energy/storage.py StorageData 55 55 0 8 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/energy/storage.py (no class) 21 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/energy/transformer.py TransformerData 25 25 0 6 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/energy/transformer.py (no class) 18 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/energy/transformer_property_package.py transformerParameterData 17 11 0 6 0 26%
backend/ahuora-builder/src/ahuora_builder/custom/energy/transformer_property_package.py _transformerStateBlock 15 15 0 14 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/energy/transformer_property_package.py transformerStateBlockData 10 10 0 0 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/energy/transformer_property_package.py (no class) 33 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/energy/transmissionLine.py SplittingType 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/energy/transmissionLine.py transmissionLineData 21 21 0 4 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/energy/transmissionLine.py (no class) 37 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/energy/wind.py WindData 29 29 0 0 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/energy/wind.py (no class) 22 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/hda_ideal_VLE.py HDAInitializer 26 26 0 14 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/hda_ideal_VLE.py HDAParameterData 60 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/hda_ideal_VLE.py _IdealStateBlock 4 4 0 4 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/hda_ideal_VLE.py IdealStateBlockData 227 227 0 78 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/hda_ideal_VLE.py (no class) 65 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/hda_reaction.py HDAReactionParameterData 14 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/hda_reaction.py ReactionBlock 2 2 0 2 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/hda_reaction.py HDAReactionBlockData 7 7 0 0 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/hda_reaction.py (no class) 17 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/heat_exchanger_1d_wrapper.py (no class) 14 10 0 6 0 20%
backend/ahuora-builder/src/ahuora_builder/custom/integration_block.py IntegrationBlockData 7 7 0 0 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/integration_block.py (no class) 20 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/inverted.py (no class) 30 0 0 6 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/performance_curves.py (no class) 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/reactions/__init__.py (no class) 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/reactions/hda_stoich.py HDAStoichiometricReactorData 2 2 0 0 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/reactions/hda_stoich.py (no class) 6 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/salt/__init__.py (no class) 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/salt/crystallizer.py CrystallizerData 168 51 0 56 14 59%
backend/ahuora-builder/src/ahuora_builder/custom/salt/crystallizer.py (no class) 35 0 2 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/simple_separator.py SplittingType 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/simple_separator.py EnergySplittingType 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/simple_separator.py SimpleSeparatorInitializer 28 28 0 18 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/simple_separator.py SimpleSeparatorData 154 76 0 80 4 46%
backend/ahuora-builder/src/ahuora_builder/custom/simple_separator.py (no class) 53 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/thermal_utility_systems/desuperheater.py DesuperheaterScaler 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/thermal_utility_systems/desuperheater.py DesuperheaterData 132 17 0 26 8 83%
backend/ahuora-builder/src/ahuora_builder/custom/thermal_utility_systems/desuperheater.py (no class) 36 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/thermal_utility_systems/header.py SimpleHeaderInitializer 43 4 0 20 5 86%
backend/ahuora-builder/src/ahuora_builder/custom/thermal_utility_systems/header.py SimpleHeaderData 139 17 0 32 4 84%
backend/ahuora-builder/src/ahuora_builder/custom/thermal_utility_systems/header.py (no class) 49 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/thermal_utility_systems/heat_user.py HeatUserScaler 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/thermal_utility_systems/heat_user.py HeatUserData 202 45 0 52 5 71%
backend/ahuora-builder/src/ahuora_builder/custom/thermal_utility_systems/heat_user.py (no class) 37 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/thermal_utility_systems/simple_heat_pump.py SimpleHeatPumpInitializer 27 27 0 8 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/thermal_utility_systems/simple_heat_pump.py SimpleHeatPumpData 98 24 0 22 5 68%
backend/ahuora-builder/src/ahuora_builder/custom/thermal_utility_systems/simple_heat_pump.py (no class) 32 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/thermal_utility_systems/steam_header.py SteamHeaderData 98 10 0 14 1 87%
backend/ahuora-builder/src/ahuora_builder/custom/thermal_utility_systems/steam_header.py (no class) 31 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/thermal_utility_systems/steam_user.py SteamUserInitializer 57 2 0 28 9 87%
backend/ahuora-builder/src/ahuora_builder/custom/thermal_utility_systems/steam_user.py SteamUserData 154 15 0 28 2 87%
backend/ahuora-builder/src/ahuora_builder/custom/thermal_utility_systems/steam_user.py (no class) 44 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/thermal_utility_systems/willans_turbine.py TurbineBaseData 181 50 0 94 11 60%
backend/ahuora-builder/src/ahuora_builder/custom/thermal_utility_systems/willans_turbine.py (no class) 43 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/translator.py TranslatorType 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/translator.py GenericTranslatorData 21 4 0 6 2 78%
backend/ahuora-builder/src/ahuora_builder/custom/translator.py (no class) 20 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/updated_pressure_changer.py ThermodynamicAssumption 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/updated_pressure_changer.py IsentropicPressureChangerInitializer 62 62 0 38 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/updated_pressure_changer.py IsentropicPerformanceCurveData 23 23 0 10 0 0%
backend/ahuora-builder/src/ahuora_builder/custom/updated_pressure_changer.py PressureChangerData 268 127 0 176 20 43%
backend/ahuora-builder/src/ahuora_builder/custom/updated_pressure_changer.py TurbineData 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/updated_pressure_changer.py CompressorData 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/updated_pressure_changer.py PumpData 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/updated_pressure_changer.py (no class) 78 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/valve_pressure_changer.py ValvePressureChangerData 18 2 0 6 3 79%
backend/ahuora-builder/src/ahuora_builder/custom/valve_pressure_changer.py (no class) 9 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/valve_wrapper.py (no class) 19 3 0 8 3 78%
backend/ahuora-builder/src/ahuora_builder/custom/water_tank_with_units.py WaterTankData 85 24 0 28 9 67%
backend/ahuora-builder/src/ahuora_builder/custom/water_tank_with_units.py (no class) 27 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/watertap/pressure_exchanger.py PressureExchangerData 1 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/watertap/pressure_exchanger.py (no class) 5 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/custom/watertap/reverse_osmosis_0d.py ReverseOsmosis0DData 53 4 0 52 5 88%
backend/ahuora-builder/src/ahuora_builder/custom/watertap/reverse_osmosis_0d.py (no class) 12 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/diagnostics/__init__.py (no class) 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/diagnostics/infeasibilities.py (no class) 18 0 0 6 1 96%
backend/ahuora-builder/src/ahuora_builder/flowsheet_manager.py FlowsheetManager 251 55 0 96 13 77%
backend/ahuora-builder/src/ahuora_builder/flowsheet_manager.py (no class) 64 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/flowsheet_manager_type.py (no class) 2 0 2 0 0 100%
backend/ahuora-builder/src/ahuora_builder/methods/BlockContext.py BlockContext 23 0 0 6 0 100%
backend/ahuora-builder/src/ahuora_builder/methods/BlockContext.py (no class) 12 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/methods/__init__.py (no class) 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/methods/adapter.py (no class) 159 15 0 60 6 89%
backend/ahuora-builder/src/ahuora_builder/methods/adapter_library.py (no class) 61 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/methods/adapter_methods.py (no class) 36 9 0 16 1 69%
backend/ahuora-builder/src/ahuora_builder/methods/build_custom_package.py (no class) 34 4 0 16 4 84%
backend/ahuora-builder/src/ahuora_builder/methods/expression_parsing.py ExpressionParsingError 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/methods/expression_parsing.py PyomoSympyMap 7 2 0 2 0 78%
backend/ahuora-builder/src/ahuora_builder/methods/expression_parsing.py (no class) 57 6 0 14 4 86%
backend/ahuora-builder/src/ahuora_builder/methods/load_unit_model.py (no class) 56 1 0 20 1 97%
backend/ahuora-builder/src/ahuora_builder/methods/property_map_manipulation.py (no class) 41 13 0 14 4 65%
backend/ahuora-builder/src/ahuora_builder/methods/scaling_suffix.py (no class) 18 6 0 14 3 66%
backend/ahuora-builder/src/ahuora_builder/methods/slice_manipulation.py (no class) 3 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/methods/units_handler.py (no class) 63 7 0 28 4 86%
backend/ahuora-builder/src/ahuora_builder/ml_wizard.py TrainingOutput 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/ml_wizard.py (no class) 54 1 0 2 0 98%
backend/ahuora-builder/src/ahuora_builder/model_statistics_optimizations.py DegreesOfFreedomInfo 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/model_statistics_optimizations.py VariableUsageInfo 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/model_statistics_optimizations.py (no class) 130 14 0 32 7 86%
backend/ahuora-builder/src/ahuora_builder/port_manager.py PortManager 6 2 0 0 0 67%
backend/ahuora-builder/src/ahuora_builder/port_manager.py (no class) 6 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/properties_manager.py PropertyComponent 4 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/properties_manager.py PropertiesManager 7 1 0 0 0 86%
backend/ahuora-builder/src/ahuora_builder/properties_manager.py (no class) 12 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/property_package_manager.py PropertyPackageManager 18 2 0 10 2 86%
backend/ahuora-builder/src/ahuora_builder/property_package_manager.py (no class) 21 0 0 2 0 100%
backend/ahuora-builder/src/ahuora_builder/solver.py SolveModelResult 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/solver.py (no class) 35 1 0 2 1 95%
backend/ahuora-builder/src/ahuora_builder/state_args.py (no class) 16 3 0 12 2 75%
backend/ahuora-builder/src/ahuora_builder/tear_manager.py TearManager 33 0 0 20 1 98%
backend/ahuora-builder/src/ahuora_builder/tear_manager.py (no class) 12 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/timing.py TimingDebugHandler 19 0 0 4 0 100%
backend/ahuora-builder/src/ahuora_builder/timing.py (no class) 18 1 0 0 0 94%
backend/ahuora-builder/src/ahuora_builder/types/__init__.py (no class) 0 0 0 0 0 100%
backend/ahuora-builder/src/ahuora_builder/unit_model_manager.py UnitModelManager 20 2 0 8 1 89%
backend/ahuora-builder/src/ahuora_builder/unit_model_manager.py (no class) 11 0 0 0 0 100%
Total   6662 1880 4 1756 209 66%

No items found using the specified filter.