SWHSNoPCM
Loading...
Searching...
No Matches
Calculations.hpp
Go to the documentation of this file.
1
6
7#ifndef Calculations_h
8#define Calculations_h
9
10#include <vector>
11
12#include "ODE.hpp"
13#include "Populate.hpp"
14
15using std::vector;
16
21double func_V_W(double V_tank);
22
28double func_m_W(double rho_W, double V_W);
29
37double func_tau_W(double C_W, double h_C, double A_C, double m_W);
38
49vector<vector<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);
50
51#endif
double func_V_W(double V_tank)
Calculates volume of water (m^3).
vector< vector< 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).
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).
double func_m_W(double rho_W, double V_W)
Calculates mass of water (kg).
Class representing an ODE system.
Class for populating a list during an ODE solution process.