Inventory modeling