InventoryHoldingPoint

open class InventoryHoldingPoint @JvmOverloads constructor(parent: ModelElement, initialAvailability: Boolean = true, name: String? = null) : InventoryHolderAbstract, NetworkNodeIfc(source)

Concrete InventoryHolderAbstract that holds Inventory instances and delegates incoming demands to them by ItemType. Filled demands are shipped via demandCarrier (if set) or transitioned immediately through ship → deliver.

See sc.inventorylayer.InventoryHoldingPoint

Constructors

Link copied to clipboard
constructor(parent: ModelElement, initialAvailability: Boolean = true, name: String? = null)

Properties

Link copied to clipboard

Delivery endpoint for incoming demands. Default ksl.modeling.supplychain.flow.PassThroughStorageEndpoint — immediate store(). Replace with a Dock to model unload time.

Link copied to clipboard
open override var level: Int

Optional hierarchy-level number. Smaller = upstream.

Functions

Link copied to clipboard
open override fun fillDemand(demand: SupplyChainModel.Demand)

Fill a previously received demand. Must be called at the same simulation time as the receipt — no time may elapse between receive and fillDemand.

Link copied to clipboard
protected open fun internalDemandFilled(demand: SupplyChainModel.Demand)

Hook fired when an internal inventory fills the demand.

Link copied to clipboard

If demandPreparer is set, asks it to prepare; otherwise no-op.

Link copied to clipboard
open override fun receive(demand: SupplyChainModel.Demand)

Subclasses define how demands are received and filled.

Link copied to clipboard
protected open fun shipDemandToCustomer(demand: SupplyChainModel.Demand)

Hands off to demandCarrier or transitions through ship+deliver.