План продаж пришёл в тысячах литров, а линия считает бутылки в час. Задача практикума — с Claude перевести план в штуки, посчитать загрузку двух линий, найти дефицит мощности и подготовить к S&OP короткую записку с вариантами решения. В данных спрятаны две ловушки, на которых ошибаются и люди, и Claude.
The sales plan arrives in thousand litres, but a line counts bottles per hour. In this workshop you use Claude to convert the plan into pieces, calculate the loading of two lines, find the capacity gap and prepare a short S&OP note with options. Two traps are hidden in the data — people and Claude both fall for them.
Одна машина делает только маленькие чашки — 120 в час, другая только большие — 60 в час. Хозяин говорит: «Завтра продадим 300 литров кофе». Сколько это чашек — зависит от размера. А если одну машину завтра утром чистят три часа, она сделает меньше. Ровно это мы сейчас и посчитаем, только для линий розлива.
One machine makes only small cups — 120 an hour, the other only large ones — 60 an hour. The owner says: "Tomorrow we'll sell 300 litres of coffee." How many cups that is depends on the size. And if one machine is cleaned for three hours tomorrow morning, it makes fewer. That is exactly what we'll calculate now, only for bottling lines.
На заводе «Долины напитков» две линии: Линия 1 разливает ПЭТ 0,5 л, Линия 2 — ПЭТ 1,5 л. Отдел планирования прислал план на следующий месяц по восьми SKU. К пятнице нужно сдать на S&OP:
The "Valley Beverages" plant has two lines: Line 1 fills 0.5 L PET, Line 2 fills 1.5 L PET. Planning has sent next month's plan for eight SKUs. By Friday you must hand in for S&OP:
Процент по каждой линии с учётом остановок.
A percentage per line, including stops.
Что срезать или куда добавить часы, если не влезаем.
What to cut or where to add hours if it doesn't fit.
Для руководителя: проблема, цифра, варианты, решение, срок.
For the manager: problem, number, options, decision, deadline.
Файл 1. План производства — тысячи литров по SKU, линия и объём упаковки.
File 1. Production plan — thousand litres by SKU, line and pack size.
Файл 2. Линии — скорость, доступные часы и плановые остановки. Режим: 2 смены по 10 часов, 30 дней.
File 2. Lines — speed, available hours and planned stops. Schedule: 2 shifts of 10 hours, 30 days.
В данных две ловушки, как в настоящих выгрузках. Попробуйте найти их глазами до того, как спросите Claude.
The data has two traps, as in real exports. Try to spot them by eye before you ask Claude.
| СитуацияSituation | ИнструментTool |
|---|---|
| Разово, два файла, нужен ответ сегодняOne-off, two files, answer needed today | Чат с файлами (урок 15-11) — так и делаем в этом практикумеChat with files (lesson 15-11) — that's what we do in this workshop |
| План уже лежит в вашей книге ExcelThe plan already sits in your Excel workbook | Claude в Excel (урок 15-13): формулы прямо в книгеClaude in Excel (lesson 15-13): formulas right in the workbook |
| Каждый месяц, файлы в одной папкеEvery month, files in one folder | Cowork (урок 15-20) или Claude Code (урок 15-27) — см. раздел 9Cowork (lesson 15-20) or Claude Code (lesson 15-27) — see section 9 |
Новый чат, приложите оба CSV и отправляйте запросы по очереди. После каждого — сверка с контрольной точкой из раздела 7.
New chat, attach both CSV files and send the requests one by one. After each — check against the checkpoint in section 7.
Я планировщик производства на заводе напитков. В файлах — план на месяц по SKU и параметры двух линий. Ничего пока не считай. Проверь данные: совпадает ли объём упаковки с названием SKU, подходит ли формат SKU к линии, учтены ли плановые остановки в доступных часах. Выведи таблицу найденных странностей и спроси меня, как их исправить.
I am a production planner at a beverage plant. The files contain a monthly plan by SKU and the parameters of two lines. Don't calculate anything yet. Check the data: does the pack size match the SKU name, does the SKU format fit its line, are planned stops deducted from the available hours. Give me a table of the oddities you find and ask me how to fix them.
Исправь: у «Лимонад «Груша» 1,5 л» упаковка 1,5 л; у Линии 2 вычти 3 дня остановки по 20 часов. Посчитай кодом по файлам: штуки = тыс. л × 1000 ÷ упаковка; мощность = скорость × доступные часы; загрузка = штуки ÷ мощность. Дай таблицу по SKU и итог по линиям: план в штуках, мощность, загрузка в %, дефицит или запас в штуках и часах.
Fix: "Pear lemonade 1.5 L" has a 1.5 L pack; for Line 2 deduct 3 days of stop at 20 hours each. Calculate with code from the files: pieces = th. L × 1000 ÷ pack; capacity = speed × available hours; loading = pieces ÷ capacity. Give a table by SKU and totals by line: plan in pieces, capacity, loading in %, shortfall or headroom in pieces and hours.
Линия 1 не может разливать 1,5 л. Предложи три варианта закрыть дефицит Линии 2: доп. смены (сколько часов и смен по 10 часов), срез по одному SKU с наименьшим приоритетом (морс), срез пропорционально по всем SKU Линии 2. Для каждого — штуки, тысячи литров, % от плана SKU, плюсы и риски. Таблицей.
Line 1 cannot fill 1.5 L. Propose three options to close Line 2's gap: extra shifts (how many hours and 10-hour shifts), a cut on one lowest-priority SKU (the berry drink), a pro-rata cut across all Line 2 SKUs. For each — pieces, thousand litres, % of the SKU plan, pros and risks. As a table.
Напиши записку для директора по производству на 5 строк: 1) проблема одной фразой; 2) цифра дефицита в штуках и тыс. л; 3) три варианта по одной строке; 4) моя рекомендация — доп. смены, если их согласуют до 20-го, иначе срез по морсу; 5) какое решение и до какой даты нужно от S&OP. Без вступлений. Цифры — только из твоего расчёта.
Write a 5-line note for the production director: 1) the problem in one sentence; 2) the gap in pieces and thousand litres; 3) three options, one line each; 4) my recommendation — extra shifts if approved by the 20th, otherwise a cut on the berry drink; 5) which decision S&OP must take and by when. No introductions. Numbers only from your calculation.
Сверьте ответ Claude с ключом. Не совпало — спросите «покажи расчёт по строкам» и найдите, где разошлось.
Compare Claude's answer with the key. If it doesn't match, ask "show the calculation row by row" and find where it diverged.
| ПоказательMeasure | Линия 1 (0,5 л)Line 1 (0.5 L) | Линия 2 (1,5 л)Line 2 (1.5 L) |
|---|---|---|
| План, тыс. лPlan, th. L | 3 2003,200 | 5 1005,100 |
| План, штPlan, pcs | 6 400 0006,400,000 | 3 400 0003,400,000 |
| Доступно часовAvailable hours | 600 | 540 |
| Мощность, штCapacity, pcs | 7 200 0007,200,000 | 3 240 0003,240,000 |
| ЗагрузкаLoading | 88,9 %88.9% | 104,9 %104.9% |
| Запас / дефицитHeadroom / gap | +800 000 шт (66,7 ч)+800,000 pcs (66.7 h) | −160 000 шт = 240 тыс. л (26,7 ч)−160,000 pcs = 240 th. L (26.7 h) |
Варианты: доп. смены — 26,7 ч, то есть 3 смены по 10 ч; срез по морсу — 160 000 шт = 240 тыс. л, −40 % от плана морса (600 тыс. л); пропорциональный срез — −4,7 % по каждому SKU Линии 2.
Options: extra shifts — 26.7 h, i.e. 3 shifts of 10 h; berry drink cut — 160,000 pcs = 240 th. L, −40% of its plan (600 th. L); pro-rata cut — −4.7% on every Line 2 SKU.
| ЛовушкаTrap | Что будет, если пропуститьWhat happens if you miss it |
|---|---|
| 1. Упаковка. У «Лимонад «Груша» 1,5 л» в столбце упаковки стоит 0,51. Pack size. "Pear lemonade 1.5 L" shows 0.5 in the pack column | 1 800 000 шт вместо 600 000 — в 3 раза больше. Загрузка Линии 2 — 142 %, ложная паника1,800,000 pcs instead of 600,000 — three times more. Line 2 loading 142%, a false alarm |
| 2. Остановка. У Линии 2 стоит «3 дня остановки», но в часах всё ещё 6002. Stop. Line 2 shows "3 days of stop", yet its hours are still 600 | Загрузка 94,4 % — «всё влезает», и дефицит 160 000 шт всплывёт посреди месяцаLoading 94.4% — "it all fits", and the 160,000-pcs gap surfaces mid-month |
| Обе сразуBoth at once | Загрузка 127,8 % — неверная цифра, неверное решениеLoading 127.8% — wrong number, wrong decision |
Если этот расчёт повторяется каждый месяц, не объясняйте его Claude заново.
If this calculation repeats every month, don't explain it to Claude again.
Папка «Загрузка линий»: план и линии кладёте туда, правила — в инструкциях папки. Claude собирает таблицу и записку, вы проверяете.
A "Line loading" folder: you drop the plan and lines there, the rules live in the folder instructions. Claude builds the table and note, you check.
Скрипт + .bat: двойной щелчок — Excel с загрузкой по линиям. В скрипт зашиты обе проверки: упаковка против названия SKU и вычет остановок.
A script + .bat: double-click — an Excel with loading by line. Both checks are built in: pack size vs SKU name and deducting stops.
Напиши скрипт для этой папки: читает план и линии из input, исходники не меняет. Перед расчётом проверяет: объём упаковки совпадает с объёмом в названии SKU; доступные часы уменьшены на остановки (дни × 20 ч). Если нет — останавливается и пишет, в какой строке ошибка. Считает штуки, мощность и загрузку, сохраняет Excel в output с датой в имени и печатает итог по линиям. Потом сделай RUN_zagruzka.bat.
Write a script for this folder: it reads the plan and lines from input and doesn't change the sources. Before calculating it checks: the pack size matches the size in the SKU name; available hours are reduced by stops (days × 20 h). If not, it stops and says which row is wrong. It calculates pieces, capacity and loading, saves an Excel into output with the date in the name and prints totals by line. Then make RUN_zagruzka.bat.
| ОшибкаMistake | Как правильноDo this instead |
|---|---|
| Сразу просят «посчитай загрузку»Asking "calculate the loading" straight away | Сначала шаг 1: проверить данные. Ошибка в исходнике переживёт любой расчётStep 1 first: check the data. A source error survives any calculation |
| Верят «доступным часам» из файлаTrusting the "available hours" in the file | Сверить с графиком ремонтов и санобработокCheck against the maintenance and sanitation schedule |
| Переносят объём на линию другого форматаMoving volume to a line of another format | Сказать Claude прямо: «Линия 1 не может 1,5 л»Tell Claude plainly: "Line 1 cannot do 1.5 L" |
| Claude сам выбирает, что срезатьLetting Claude choose what to cut | Приоритеты SKU задаёт человек. Claude считает варианты, решает S&OPPeople set SKU priorities. Claude calculates options, S&OP decides |
| В записке цифры «из головы»Numbers in the note "from memory" | «Цифры — только из твоего расчёта» и сверка с ключом"Numbers only from your calculation" and a check against the key |