|
Harmony
HARMONic stabilitY assessment of PE-penetrated power systems
|
Implementation of CSV file output for time-series simulation data. More...
#include "Writer.h"
Functions | |
| void | write_file (const std::vector< double > &time, const std::vector< Eigen::MatrixXd > &values, const std::vector< std::string > &headers, const std::string &filename) |
| Writes time-series matrix data to a CSV file. | |
Implementation of CSV file output for time-series simulation data.
| void write_file | ( | const std::vector< double > & | time, |
| const std::vector< Eigen::MatrixXd > & | values, | ||
| const std::vector< std::string > & | headers, | ||
| const std::string & | filename | ||
| ) |
Writes time-series matrix data to a CSV file.
| time | Time axis values (one per row). |
| values | One matrix per column group; row count must match time. |
| headers | Column header strings (one per column in each matrix block). |
| filename | Output file path. |
Referenced by example_DQsym_DSSS2(), example_DQsym_RLC(), and DQsym::exportCSV().