message_ix_models.model.transport.vehicle.stock

message_ix_models.model.transport.vehicle.stock(c: Computer, mode: str, *, margin: float = 0.2) None[source]

Prepare c to compute base-period stock and historical sales for mode.

Parameters:

margin – Fractional margin by which to increase the resulting sales values. Because these values are used to compute historical_new_capacity and bound_new_capacity_{lo,up}, this relaxes the resulting constraints on LDV technologies in the first model period.