arras-energy / gridlabd

Arras Energy simulator
https://www.arras.energy/
BSD 3-Clause "New" or "Revised" License
5 stars 5 forks source link

Column isolation for pandas #165

Closed aivanova5 closed 7 months ago

aivanova5 commented 7 months ago

Background

When dumping csv files, need an option to only dump the columns of interest. Proposed command line implementation below:

gridlabd -C -D csv_save_options='-t pandas -f class=overhead_line|node --columns phases|name' ./input/MODEL_NAME.glm -o MODEL_NAME_feeder1.csv

dchassin commented 7 months ago

The command line syntax for the output type is changed to allow a column list to use, e.g.,

gridlabd -C -D csv_save_options='-t pandas:name,phases -f class=overhead_line|node' ./input/MODEL_NAME.glm -o MODEL_NAME_feeder1.csv