Coverage for backend/django/core/auxiliary/enums/unitOpData.py: 100%
5 statements
« prev ^ index » next coverage.py v7.10.7, created at 2026-07-22 05:22 +0000
« prev ^ index » next coverage.py v7.10.7, created at 2026-07-22 05:22 +0000
1"""Historical import path for unit-op object type constants."""
3from core.auxiliary.unit_op_object_types import (
4 load_heat_exchange_object_types,
5 load_unit_op_object_types,
6)
9SimulationObjectClass = load_unit_op_object_types()
10turbine_configs = [
11 SimulationObjectClass.Turbine,
12 SimulationObjectClass.WillansTurbine,
13 SimulationObjectClass.PlTurbine,
14 SimulationObjectClass.DtsTurbine,
15 SimulationObjectClass.BsTurbine,
16 SimulationObjectClass.CsTurbine,
17]
18hx_configs = [
19 SimulationObjectClass.HeatExchanger,
20 SimulationObjectClass.NTUHeatExchanger,
21 SimulationObjectClass.LumpedCapacitanceHeatExchanger,
22 SimulationObjectClass.PlateHeatExchanger,
23]
24heat_exchange_ops = load_heat_exchange_object_types()