DemandLoadBuilder

constructor(supplyChainModel: SupplyChainModel, parent: ModelElement = supplyChainModel, name: String? = null, itemTypes: Collection<ItemType> = emptyList())(source)

Parameters

supplyChainModel

model that owns the created SupplyChainModel.DemandLoads

parent

parent model element; defaults to supplyChainModel

name

optional model-element name

itemTypes

item types this builder may carry; required for per-item on-hand TWResponse tracking. Pre-create them at construction time because KSL forbids adding stats elements once the simulation is running.

See sc.transportlayer.DemandLoadBuilder