17 #ifndef _FUELCELL__EXPERIMENTAL_DATA_H
18 #define _FUELCELL__EXPERIMENTAL_DATA_H
32 using namespace dealii;
57 void parse_data_names()
const;
62 void print_data()
const;
67 void extract_vector(std::string label, std::vector<double>& data_vector);
72 void get_experimental_values(std::vector<std::string>& name_OC, std::vector< std::vector<double> >& value_OC)
const;
90 return experimental_values.size();
97 return experimental_values[0].size();
106 void read_data_file();
std::vector< std::vector< double > > experimental_values
array of experimental values used in NLS parameter study
Definition: experimental_data.h:111
int get_num_rows() const
function that gets the string vector and value array
Definition: experimental_data.h:88
std::vector< std::vector< double > > OCV_conditions
Definition: experimental_data.h:125
const std::string data_file
String specifying the data file to be read.
Definition: experimental_data.h:119
Description: Used to read in an array of experimental data with column headers.
Definition: experimental_data.h:40
std::vector< std::string > data_names
names of operating conditions for experimental values used in NLS parameter study ...
Definition: experimental_data.h:115
~ExperimentalData()
Destructor.
Definition: experimental_data.h:51
int get_num_columns() const
function that returns the number of data points (rows) in the data file
Definition: experimental_data.h:95
std::vector< double > OCV_list
vector of values holding the open circuit voltage for the data provided
Definition: experimental_data.h:123