ESCostCalculator

constructor(parent: ModelElement, esCarrier: TimeBasedDemandCarrier, destinations: List<DemandSenderIfc>, paramsProvider: () -> CostParams, name: String? = null)(source)

Parameters

parent

the ModelElement parent

esCarrier

the ES outbound carrier this calculator observes

destinations

every node currently attached to the ES; the calculator sums per-destination shipment counts

paramsProvider

supplies the cost-rate parameters, resolved at each replication end so rate changes made between replications (e.g. via controls on the owning formulation) take effect