sunpeek.components.fluids.WPDFluidPure#

class sunpeek.components.fluids.WPDFluidPure(**kwargs)#

Bases: WPDFluid, Base

WPDFluid subclass for fluids that do not have a variable concentration, so they are either pure fluids or have a fixed concentration.

Variables:

heat_capacity_model (density_model,) – Trained WPDModel objects for density and heat capacity.

Methods

__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

get_density(te)

Calculate density of fluid at given temperature and self.concentration :type te: :param te: Temperature for which density is evaluated.

get_heat_capacity(te)

Calculate heat capacity of fluid at given temperature and self.concentration :type te: :param te: Temperature for which heat cpaacity is evaluated.

get_density(te)#

Calculate density of fluid at given temperature and self.concentration :type te: :param te: Temperature for which density is evaluated. :type te: pd.Series

Return type:

pd.Series

get_heat_capacity(te)#

Calculate heat capacity of fluid at given temperature and self.concentration :type te: :param te: Temperature for which heat cpaacity is evaluated. :type te: pd.Series, scalar or vector

Return type:

pd.Series