RoutineBase.export_csv#
- RoutineBase.export_csv(path=None)[source]#
Export dispatch results to a csv file. For multi-period routines, the column "Time" is the time index of
timeslot.v
, which usually comes fromEDTSlot
orUCTSlot
. The rest columns are the variables registered invars
.For single-period routines, the column "Time" have a pseduo value of "T1".
- Parameters:
- pathstr
path of the csv file to save
- Returns:
- str
The path of the exported csv file