common_reference_prices

passengersim.transforms.demands.common_reference_prices(cfg: Config, anchor_segment: str, *, inplace: bool = False) Config[source]

Change from setting unique reference prices on demands to scaling them on choice models.

This transform presumes all choice models are PODS choice models. It will fail if reference prices are not currently consistently scaled.

Parameters:
cfg : Config

anchor_segment : str

The name of the passenger segment where the current reference prices are what the resulting reference prices should be (i.e. this choice model will have a reference_price_multiplier of 1.0).

Returns:

Config