enex_analysis.components package

Submodules

enex_analysis.components.electric_heater module

class enex_analysis.components.electric_heater.ElectricHeater[source]

Bases: object

system_update()[source]
__init__()

enex_analysis.components.fan module

class enex_analysis.components.fan.Fan[source]

Bases: object

get_efficiency(fan, dV_fan)[source]
get_pressure(fan, dV_fan)[source]
get_power(fan, dV_fan)[source]
show_graph()[source]

Plot flow-rate vs pressure and efficiency curves for all fans.

Raw datapoints are shown as dots; cubic curve fits as lines.

Raises:

ImportError – If dartwork_mpl is not installed.

__init__()

enex_analysis.components.pump module

class enex_analysis.components.pump.Pump[source]

Bases: object

Pump performance dataclass with curve-fit interpolation.

Stores flow-rate vs efficiency data for two reference pumps. Provides cubic curve-fit prediction of efficiency and power draw.

__post_init__()[source]

Store flow-rate and efficiency data for two reference pumps.

get_efficiency(pump, dV_pmp)[source]

Return pump efficiency via cubic curve fit.

Parameters:
  • pump (dict) – Reference pump data (self.pump1 or self.pump2).

  • dV_pmp (float) – Volume flow rate [m³/s].

get_power(pump, V_pmp, dP_pmp)[source]

Compute pump power consumption.

Parameters:
  • pump (dict) – Reference pump data.

  • V_pmp (float) – Volume flow rate [m³/s].

  • dP_pmp (float) – Pressure rise [Pa].

Returns:

Electrical power draw [W].

Return type:

float

show_graph()[source]

Plot flow-rate vs efficiency curves for all pumps.

Raw datapoints are shown as dots; cubic curve fits as lines.

Raises:

ImportError – If dartwork_mpl is not installed.

__init__()

Module contents