SWHSNoPCM
Static Public Member Functions | List of all members
Calculations Class Reference

Static Public Member Functions

static double func_V_W (double V_tank)
 Calculates volume of water (m^3) More...
 
static double func_m_W (double rho_W, double V_W)
 Calculates mass of water (kg) More...
 
static double func_tau_W (double C_W, double h_C, double A_C, double m_W)
 Calculates ODE parameter for water related to decay time (s) More...
 
static List< double > func_T_W (double T_C, double T_init, double t_final, double A_tol, double R_tol, double t_step, double tau_W)
 Calculates temperature of the water (degreeC) More...
 

Member Function Documentation

◆ func_m_W()

static double Calculations.func_m_W ( double  rho_W,
double  V_W 
)
inlinestatic

Calculates mass of water (kg)

Parameters
rho_Wdensity of water (kg/m^3)
V_Wvolume of water (m^3)
Returns
mass of water (kg)

◆ func_T_W()

static List<double> Calculations.func_T_W ( double  T_C,
double  T_init,
double  t_final,
double  A_tol,
double  R_tol,
double  t_step,
double  tau_W 
)
inlinestatic

Calculates temperature of the water (degreeC)

Parameters
T_Ctemperature of the heating coil (degreeC)
T_initinitial temperature (degreeC)
t_finalfinal time (s)
A_tolabsolute tolerance
R_tolrelative tolerance
t_steptime step for simulation (s)
tau_WODE parameter for water related to decay time (s)
Returns
temperature of the water (degreeC)

◆ func_tau_W()

static double Calculations.func_tau_W ( double  C_W,
double  h_C,
double  A_C,
double  m_W 
)
inlinestatic

Calculates ODE parameter for water related to decay time (s)

Parameters
C_Wspecific heat capacity of water (J/(kg degreeC))
h_Cconvective heat transfer coefficient between coil and water (W/(m^2 degreeC))
A_Cheating coil surface area (m^2)
m_Wmass of water (kg)
Returns
ODE parameter for water related to decay time (s)

◆ func_V_W()

static double Calculations.func_V_W ( double  V_tank)
inlinestatic

Calculates volume of water (m^3)

Parameters
V_tankvolume of the cylindrical tank (m^3)
Returns
volume of water (m^3)

The documentation for this class was generated from the following file: