Function swifco_rs::systems::reporters::time_series::csv_writer
source · [−]fn csv_writer(
observer: TimeSeriesObserverWrapper<'_>,
path: String,
sep: Option<String>,
append: Option<(String, String)>
) -> SystemWrapper
Expand description
csv_writer(observer, path, sep=“;”)
Write CSV files of time series
Parameters:
observer - a time series observer to get data from the model
path - path for the output CSV file
sep - column separator
append - optional pair of key column name and value to append rows to an existing CSV file