revrt.models.routing.TrackedLayer#
- class TrackedLayer(*, layer_name: str, agg_method: str, multiplier_layer: str | None = None, multiplier_scalar: float = 1)[source]#
Bases:
BaseModelConfig for one route-characterization layer
Tracked layers mirror the scaling behavior used by cost layers, but do not contribute to routing cost and do not influence the routing objective. They are only sampled along the chosen route and summarized into additional output columns.
The rest of this docstring is inserted by Pydantic and can be ignored.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
Methods
Attributes
Name of layer in layered file to aggregate along the route
Name of the
dask.arrayaggregation applied to route valuesOptional layer of multipliers to apply before aggregation
Optional scalar multiplier applied before aggregation