demand_multiplier¶ passengersim.transforms.demands.demand_multiplier(cfg: Config, multiplier: float | None = None, *, inplace: bool = False) → Config[source]¶ Scale the demand by a given multiplier. Parameters: cfg : Config¶The configuration object containing demands. multiplier : float, optional¶The multiplier to apply to the base demand. If None, scaling is taken from the configuration’s simulation_controls.demand_multiplier. Returns: Config – The configuration object with scaled demands.