Supplier lead time is the elapsed time between placing an order and receiving it. Because delivery is delayed—and may arrive sooner or later than expected—it affects when to reorder and whether inventory will last. section 1.4 section 6.6
Fuel deliveries
A gas station may wait a few days for an order, with delivery sometimes arriving tomorrow and sometimes five days later. During the wait, demand continues; ordering too late risks a stockout, while ordering too early can increase holding costs. section 6.6
Listing 6.4 Environment configuration and state representation
@dataclass
class GasStationConfig:
"""Configuration class for gas station inventory environment parameters."""
max_inventory: int = 10 #A
initial_inventory: int = 4 #B
planning_horizon: int = 30 #C
demand_mean: float = 2.0 #D
demand_std_dev_factor: float = 0.5 #E
demand_min: float = 0.0 #F
demand_max: float = 10.0 #F
delivery_delay_mean: int = 2 #G
min_delivery_delay: int = 1 #H
profit_per_tank: float = 100.0 #I
stockout_penalty: float = 80.0 #J
holding_cost_per_tank: float = 5.0 #K
ordering_cost: float = 20.0 #L
The environment configuration represents delivery delay with an average and a minimum. section 6.6

