PFlow1.export_csv#

PFlow1.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 EDSlot or UCSlot. The rest columns are the variables registered in vars.

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

Values are clipped to 6 decimals on export by gather_results() — round-trips through load_csv() are accurate at the 1e-6 level, fine for inspection but not for bit-exact replay.

Parameters:
pathstr, optional

Path of the csv file to export.

Returns:
str

The exported csv file name