sweep output as csv, simulate() accept parameter