ACOPF1.export_csv#

ACOPF1.export_csv(path=None)#

Export scheduling results to a csv file. For multi-period routines, the column "Time" is the time index of timeslot.v, which usually comes from EDTSlot or UCTSlot. The rest columns are the variables registered in vars.

For single-period routines, the column "Time" have a pseduo value of "T1".

Parameters:
pathstr, optional

Path of the csv file to export.

Returns:
str

The exported csv file name