edisgo.opf.results.opf_result_class
¶
Module Contents¶
Classes¶
- class edisgo.opf.results.opf_result_class.OPFResults[source]¶
- to_csv(directory, attributes=None)[source]¶
Exports OPF results data to csv files.
The following attributes can be exported:
‘lines_t’ : The results of the three variables in attribute
lines_t
are saved to lines_t_p.csv, lines_t_p.csv, and lines_t_ccm.csv.‘slack_generator_t’ : Attribute
slack_generator_t
is saved to slack_generator_t.csv.‘heat_storage_t’ : The results of the two variables in attribute
heat_storage_t
are saved to heat_storage_t_p.csv and heat_storage_t_e.csv.‘hv_requirement_slacks_t’ : Attribute
hv_requirement_slacks_t
is saved to hv_requirement_slacks_t.csv.‘grid_slacks_t’ : The results of the five variables in attribute
grid_slacks_t
are saved to dispatchable_gen_crt.csv, non_dispatchable_gen_crt.csv, load_shedding.csv, cp_load_shedding.csv and hp_load_shedding.csv.‘overlying_grid’ : Attribute
overlying_grid
is saved to overlying_grid.csv.