CoolProp.Plots.ConsistencyPlots module

class CoolProp.Plots.ConsistencyPlots.ConsistencyAxis(axis, fig, pair, fluid, backend, state1, state2, state3, p_limits_1phase=None, T_limits_1phase=None, NT_1phase=40, Np_1phase=40, NT_2phase=20, NQ_2phase=20)

Bases: object

consistency_check_singlephase()
consistency_check_twophase()
cross_out_axis()
label_axes()

Label the axes for the given pair

plot_Tmax_curve()
plot_melting_curve()
plot_saturation_curves()
to_axis_units(label, vals)

Convert to the units used in the plot

class CoolProp.Plots.ConsistencyPlots.ConsistencyFigure(fluid, figsize=(15, 23), backend='HEOS', additional_skips=[], mole_fractions=None, p_limits_1phase=None, T_limits_1phase=None, NT_1phase=40, Np_1phase=40, NT_2phase=20, NQ_2phase=20)

Bases: object

add_to_pdf(pdf)

Add this figure to the pdf instance

calc_Tmax_curve()
calc_melting_curve()
calc_saturation_curves()

Calculate all the saturation curves in one shot using the state class to save computational time

plot_Tmax_curve()
plot_melting_curve()
plot_saturation_curves()
savefig(fname, **kwargs)
tight_layout()
CoolProp.Plots.ConsistencyPlots.myprint(level, *args, **kwargs)
CoolProp.Plots.ConsistencyPlots.split_pair(pair)
CoolProp.Plots.ConsistencyPlots.split_pair_xy(pair)