17 #ifndef _FUELCELL__EXPERIMENTAL_DATA_H
18 #define _FUELCELL__EXPERIMENTAL_DATA_H
33 using namespace dealii;
58 void parse_data_names()
const;
63 void print_data()
const;
68 void extract_vector(std::string label, std::vector<double>& data_vector);
73 void get_experimental_values(std::vector<std::string>& name_OC, std::vector< std::vector<double> >& value_OC)
const;
91 return experimental_values.size();
98 return experimental_values[0].size();
107 void read_data_file();
std::vector< std::vector< double > > experimental_values
array of experimental values used in NLS parameter study
Definition: experimental_data.h:112
int get_num_rows() const
function that gets the string vector and value array
Definition: experimental_data.h:89
std::vector< std::vector< double > > OCV_conditions
Definition: experimental_data.h:126
const std::string data_file
String specifying the data file to be read.
Definition: experimental_data.h:120
Description: Used to read in an array of experimental data with column headers.
Definition: experimental_data.h:41
std::vector< std::string > data_names
names of operating conditions for experimental values used in NLS parameter study ...
Definition: experimental_data.h:116
~ExperimentalData()
Destructor.
Definition: experimental_data.h:52
int get_num_columns() const
function that returns the number of data points (rows) in the data file
Definition: experimental_data.h:96
std::vector< double > OCV_list
vector of values holding the open circuit voltage for the data provided
Definition: experimental_data.h:124