BackorderCostCalculator

Per-IHP-backlog cost calculator: observes one BackLogPolicyAbstract and populates the continuous-rate CostLine.Backorder line.

Formula: avgBacklogInQ × backorderRate. Both factors are pure numerics; the framework performs no time-unit conversion (see docs/supply-chain-cost-redesign.md §2). The emitted Response is a rate in the time unit of the modeler's backorderRate.

Tier attribution: NodeTier.IHP. Backlogs live on IHPs in v1 (cross-docks hold no inventory and therefore no backlog).

Parameters

parent

the ModelElement parent

backlog

the policy this calculator observes

params

cost-rate parameters

Constructors

Link copied to clipboard
constructor(parent: ModelElement, backlog: BackLogPolicyAbstract, params: CostParams, name: String? = null)

Properties

Link copied to clipboard
open override val lineResponses: Map<CostLine, ResponseCIfc>

The line-item Responses this calculator produces, keyed by CostLine. A calculator may produce a Response for every line its source can express; values for unproduced lines are absent from the map rather than zero.

Link copied to clipboard
open override val source: ModelElement

The single source ModelElement this calculator observes.

Link copied to clipboard
open override val tier: NodeTier

Tier this calculator's source belongs to. Used by CostFormulation.byTierResponse to partition rollups across IHP / CD / ES. A calculator that attributes to multiple tiers (rare) returns null and is excluded from per-tier rollups.