DEV Community

Isaac Mwendwa Muthui
Isaac Mwendwa Muthui

Posted on Originally published at factoraerp.com

Modelling a Peak-Season Production Plan: Capacity Calendars, Recipe Explosion and Shelf-Life Constraints

By Isaac Muthui, CEO, Tamalaki Business Network Ltd. Originally published at factoraerp.com.

If you build planning or ERP software for food factories, the December peak is where your data model gets tested. Demand rises, but the plan is bounded by four things at once: line capacity, materials (including packaging), shelf life and cash. A spreadsheet can hold any one of those. Getting all four to agree, week by week, is a data-modelling problem.

The business context this year comes from the Central Bank of Kenya's CEOs Survey of September 2026: firms expected demand orders, sales and production to rise in the fourth quarter on festive spending, while purchase prices were expected to rise and selling prices to stay broadly stable. Across sectors, 44.5% of respondents expected some difficulty meeting a sudden increase in demand because they were near full capacity, and manufacturing had the highest share expecting some difficulty (PDF).

Here is how I would model a peak-season plan so the constraints can be checked instead of guessed.

1. Plan in weekly buckets with a working-day calendar

Store the plan as plan_line(week_start, product_id, pack_id, qty) and keep a separate work_calendar(site_id, date, is_working, shifts) table. Public holidays (12, 25 and 26 December, 1 January) and planned shutdowns live in the calendar, not in someone's head. Capacity for a week is then a query, not an assumption.

2. Capacity from actuals, not nameplate

Keep line_rate(line_id, product_id, units_per_hour, measured_from, measured_to) derived from recorded batch output, including changeover and cleaning time. Required hours per line per week are sum(qty / units_per_hour) + changeovers * changeover_minutes / 60. Flag any line where required hours exceed available shift hours from the calendar.

select p.week_start, r.line_id,
       sum(p.qty / r.units_per_hour) as required_hours,
       max(c.available_hours)        as available_hours
from plan_line p
join line_rate r on r.product_id = p.product_id
join weekly_line_hours c on c.line_id = r.line_id and c.week_start = p.week_start
group by p.week_start, r.line_id
having sum(p.qty / r.units_per_hour) > max(c.available_hours);
Enter fullscreen mode Exit fullscreen mode

3. Material requirements from versioned recipes with yield

Explode each plan line through a versioned bom(product_id, version, component_id, qty_per_unit, expected_yield) and net against stock_on_hand plus open purchase orders by expected receipt date. Packaging components belong in the same BOM as ingredients, with a lead_time_days on the supplier-item record, because printed labels and films often have the longest lead times.

4. Shelf life as a hard constraint on build-ahead

For each product store shelf_life_days and the customer's min_remaining_days. The latest production date for a delivery is delivery_date - (shelf_life_days - min_remaining_days). A plan that pre-builds outside that window should fail validation, and dispatch should allocate lots first-expiry, first-out.

5. Cash as a time series, not a total

Derive a weekly cash view from the same plan: material and packaging payments by supplier terms, overtime from the shift plan, receipts by customer terms. The output is the week where cumulative cash is lowest, which is usually the real constraint on how big the December plan can be.

Below is the full operational checklist I wrote for factory teams, which is what this model has to support.

The 12 checks

1. Build the December forecast from orders, not hope. Start with last December's sales by product and pack size, then adjust for what you actually know today: confirmed orders, distributor and supermarket commitments, hotel and institutional contracts, and new listings or lost listings. Write the forecast by week, not by month. Mark the public holidays (Jamhuri Day on 12 December, Christmas Day, Boxing Day and New Year's Day), because they move both production days and customer ordering.

2. Cut the product list for the peak. Every changeover costs time, cleaning and line clearance. Decide which products and pack sizes you will run in December and which you will pause. Fewer, longer runs of your fast movers usually beat trying to make everything. Agree the list with sales before the first December order is promised.

3. Measure real capacity per line and per shift. Nameplate capacity is not a plan. Use what each line actually produced per shift over the last few months, including changeovers, cleaning and breakdowns, and find the bottleneck (often the filler, the oven, the pasteuriser or the packing table). Compare it with the weekly forecast. The gap tells you whether you need extra shifts, weekend runs or a shorter product list.

4. Do the maintenance now, not on 20 December. Service critical machines, check spares for the parts that fail most often, and agree emergency contacts with technicians who may be away over the holidays. The CBK survey lists ageing machinery among the main reasons firms struggle to scale up. See our guide to preventive maintenance basics for food and agro factories.

5. Turn the plan into a raw material requirement. Multiply the weekly production plan by your recipes or bills of materials, including realistic yields and losses, to get kilograms and litres of each input per week. Compare that with stock on hand and open purchase orders. Talk to your key suppliers now about volumes and delivery dates, and agree what happens if weather cuts supply. Keep receiving checks in place even when trucks queue: our supplier intake checklist still applies in December.

6. Check packaging and labels with the longest lead times. Printed films, labels, bottles, caps and cartons often have longer lead times than ingredients, and imported items can be delayed. List every packaging item each December product needs, the weeks of cover you hold and the supplier's lead time. Approve any artwork changes early. See our packaging material control checklist and label control checklist.

7. Put the cash plan next to the production plan. You pay for raw materials, packaging, overtime and fuel weeks before customers pay you. Map those payments by week against expected collections, so you know when the gap is widest. The CBK survey names working capital as one of the main limits on responding to higher demand. If the gap is too big, it is better to shrink the plan now than to stop a line mid-December.

8. Plan people, shifts and leave together. Agree the shift pattern, overtime and leave calendar with supervisors before staff book their holidays. If you bring in casual workers, train them before the peak on hygiene and their exact task, and record the training. See our food safety training checklist and personal hygiene checklist.

9. Build stock ahead only within shelf life. Producing early smooths the peak, but only for products whose shelf life and storage allow it. For each product, work out the latest production date that still leaves customers enough remaining shelf life, and dispatch first-expiry, first-out. Read more on FEFO and expiry tracking and shelf-life validation.

10. Check storage space, including cold storage. Pre-built stock, extra raw materials and packaging all need space at the same time. Count pallet positions and chiller or freezer capacity against the plan, week by week. Do not overload cold rooms: an overfilled chiller is a temperature problem waiting to happen. See our cold chain temperature monitoring checklist.

11. Keep QA release and dispatch rules unchanged. Peak pressure is when batches are most likely to leave before results are in, or when the wrong lot goes on the wrong truck. Keep the hold-and-release step and dispatch checks exactly as they are, and plan transport around the holidays and customer receiving cut-offs. See our QA hold checklist and finished goods dispatch checklist.

12. Review plan against actual every week, and plan the year-end close. Each week, compare what you planned with what you produced, sold and dispatched, and adjust the next week. Decide early when production stops for the year, when the stock take happens and who counts. That makes the year-end stock take and month-end close far easier in January. Use the same weekly numbers to check your batch costing and yields, because rising input prices with flat selling prices squeeze margins.

A simple test

Pick your best-selling product. Can you say, today, how many units you plan to make in each week of December, which line and shift will make them, what raw materials and packaging that needs, whether they are on site or on order, and when the cash for them goes out? If yes, you have a plan. If not, start with that one product this week, then repeat for the next.

How FactoraERP helps

FactoraERP keeps recipes, stock, purchase orders, production batches, lots and expiry dates in one system, so planners can check a production plan against materials, packaging and shelf life using the same data the factory runs on, and review plan against actual each week. See factoraerp.com.

Free download: eTIMS readiness checklist for factories

If you want a free eTIMS readiness checklist for factories, sign up for the FactoraERP Insights newsletter at https://isaacmuthui.substack.com. You will get practical operations notes for food and agro manufacturers. No spam; unsubscribe anytime. For background, read our guide to eTIMS for food and agro manufacturers in Kenya.

FAQ

What is festive season production planning?

It is the process of turning expected December demand into a week-by-week plan for what to make, on which line and shift, with which raw materials, packaging, people, storage and cash, before the peak arrives.

When should a food processor start planning for December?

As early as possible, and at the latest once you can see confirmed orders. Packaging and imported inputs usually have the longest lead times, so check those first.

Is it better to build stock ahead or add shifts in December?

It depends on shelf life, storage space and cash. Building ahead works for products with long shelf life and space to store them; short-life products such as fresh dairy or bread usually need extra shifts or a shorter product list instead.

What does the CBK survey say about capacity this season?

In the CEOs Survey of September 2026, 44.5% of respondents across sectors expected some difficulty meeting a sudden increase in demand because they were near full capacity, and 14.6% expected significant difficulty. Manufacturing had the highest proportion expecting some difficulty.

Why will margins be tight even if sales rise?

The same survey found firms expected purchase prices to rise on input, fuel, transport and shipping costs, while selling prices were expected to stay broadly stable because weak demand and competition limit pass-through.

Which raw materials are under price pressure?

The CBK Agriculture Sector Survey of September 2026 reported that monthly price increases were particularly pronounced for milk products, wheat flour and edible oils. Check your own supplier quotes, as prices change quickly.

How do I avoid expired stock in January?

Only build ahead within shelf life, set a latest production date per product, dispatch first-expiry, first-out, and review slow-moving stock weekly during December.

What should happen after the peak?

Stop production on a planned date, run the year-end stock take, reconcile stock with the books and compare actual December yields and costs with the plan, so next year's plan starts from real numbers.


Isaac Muthui, CEO, Tamalaki Business Network Ltd

Top comments (0)