CSV Recorder

General Description

A Recorder that saves Node values to a CSV file.

This class uses the csv package from the Python standard library. API Reference

Attributes

Name
Description
Required

model

The model to record nodes from

Optional

csvfile

The path to the CSV file

Required

scenario_index

The scenario index of the model to save

Required

nodes

An iterable of nodes to save data. It defaults to None which is all nodes in the model

Required

kwargs

Additional keyword arguments to pass to the csv.writer object

Optional

Example

coming soon...

{

}

Last updated