|
Harmony
HARMONic stabilitY assessment of PE-penetrated power systems
|
CSV file output for time-series simulation data. More...
#include "../../Constants.h"

Go to the source code of this file.
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. | |
CSV file output for time-series simulation data.
|
extern |
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().