StateOutputConfig

class passengersim.config.outputs.StateOutputConfig[source]

Bases: PrettyModel

Attributes:

save

Save the state of the simulation after each trial.

filename

Save the state of the simulation to this file after each trial.

include_trials

Include trials when saving dynamic state.

save : bool

Save the state of the simulation after each trial.

filename : str

Save the state of the simulation to this file after each trial.

Accepts fields basename and trial, use double square brackets to insert these values.

include_trials : list[int] | None

Include trials when saving dynamic state.

If left empty, all trials will be included.