CommoditySingleSourceSink.get_scaled_copy

CommoditySingleSourceSink.get_scaled_copy(scale_factor: float = 1) paminco.net.demand.CommoditySingleSourceSink[source]

Get a copy of commodity with rate scaled by scale_factor.

Parameters
scale_factorfloat, default=1

Scale rate from source to sink by scale_factor.

Returns
CommoditySingleSourceSink

Commodity with rate scaled by scale_factor.