enex_analysis.visualization

Visualization and summary output functions.

Functions

plot_ph_diagram(ax, result, refrigerant[, ...])

Plot P-h diagram on given axis.

plot_th_diagram(ax, result, refrigerant[, ...])

Plot T-h diagram on given axis.

plot_ts_diagram(ax, result, refrigerant[, ...])

Plot T-s diagram on given axis with super heating/cooling considered.

print_simulation_summary(df, ...)

Print a comprehensive summary of simulation results.

enex_analysis.visualization.print_simulation_summary(df, simulation_time_step, dV_ou_a_design)[source]

Print a comprehensive summary of simulation results.

Parameters:
  • df (pd.DataFrame) – Simulation result DataFrame.

  • simulation_time_step (int) – Time step [s].

  • dV_ou_a_design (float) – Design airflow rate of outdoor unit [m3/s].

Return type:

None

enex_analysis.visualization.plot_th_diagram(ax, result, refrigerant, T_cond_bound=None, T_evap_bound=None, fontsize=None, tick_pad=None)[source]

Plot T-h diagram on given axis.

Parameters:
  • ax (Axes)

  • result (dict[str, float])

  • refrigerant (str)

  • T_cond_bound (dict[str, float | str] | None)

  • T_evap_bound (dict[str, float | str] | None)

  • fontsize (float | None)

  • tick_pad (float | None)

Return type:

None

enex_analysis.visualization.plot_ph_diagram(ax, result, refrigerant, fontsize=None, tick_pad=None)[source]

Plot P-h diagram on given axis.

Parameters:
  • ax (Axes)

  • result (dict[str, float])

  • refrigerant (str)

  • fontsize (float | None)

  • tick_pad (float | None)

Return type:

None

enex_analysis.visualization.plot_ts_diagram(ax, result, refrigerant, T_cond_bound=None, T_evap_bound=None)[source]

Plot T-s diagram on given axis with super heating/cooling considered.

Parameters:
  • ax (Axes)

  • result (dict[str, float])

  • refrigerant (str)

  • T_cond_bound (dict[str, float | str] | None)

  • T_evap_bound (dict[str, float | str] | None)

Return type:

None