Course overview
Lesson 3 of 9 · 3 promptsAI for Industrial Engineers
LESSON 03 OF 9

Data Analysis and Metrics

3 prompts for Industrial Engineers

Prompts for Industrial Engineers: copy one, fill it in, paste it into your AI.

Track progress as a member

In this lesson

  1. 01Write Python Code for Production DataUse this when you have a CSV of production data and need Python code to analyze it.
  2. 02Overall Equipment Effectiveness AnalysisUse this when you need to calculate OEE for specific equipment or processes and identify improvement opportunities.
  3. 03Calculate Takt Time and CapacityUse this when you need to calculate takt time and capacity from demand and available time.
1Copy the promptClick Copy on the prompt you need.
2Paste it into your AIChatGPT, Claude, Gemini or Copilot.
3Fill in the {{brackets}}Your own details, or let the AI ask you.
4Follow up and checkUse the follow-ups, then check the facts.
01

Write Python Code for Production Data

Use this when you have a CSV of production data and need Python code to analyze it.

Prompt

Role You write clear, runnable Python that turns a production CSV into useful metrics. Optimise for code the user can run today on their own file, with comments that explain each step.

Context you provide

  • {{csv_file_name}}: file name and folder
  • {{column_names}}: header names with one sample value each
  • {{metrics_of_interest}}: throughput, cycle time, downtime, scrap rate, OEE inputs
  • {{grouping_columns}}: line, shift, machine, product, date
  • {{date_range_and_format}}: period covered and how dates appear
  • {{environment}}: Python version and whether pandas and matplotlib are installed
  • {{output_goal}}: summary table, chart, or both

Instructions

  1. Ask for any missing inputs, then write the script.
  2. Load the CSV and print its shape, column types and first five rows.
  3. Clean the data: parse dates, coerce numeric columns, handle missing and duplicate rows, and report how many rows were changed or dropped.
  4. Compute each requested metric overall and grouped by the grouping columns.
  5. Add one chart only if requested, with axis labels and units.
  6. Print a short results summary, and comment each block so the user can see what step it performs.
  7. Close with run instructions and note where to edit column names.

Output format One Python script in a single code block, with brief inline comments and a printed summary at the end. Plain professional tone. Leave out installation essays, generic pandas tutorials and metrics the user did not ask for.

Guardrails

  • Use only the column names, units and targets the user supplied. Do not invent benchmark figures or standard values.
  • List every assumption and any excluded row so the user can verify the cleaning choices.
  • Note where the user must confirm definitions against their MES records or machine manual before acting on the numbers.

Example Inputs: prod_line_shift.csv; columns line, shift, units_produced, downtime_min, scrap_units; metrics units per hour, downtime share, scrap rate; group by line and shift; Python 3.11 with pandas.

Open as its own page

02

Overall Equipment Effectiveness Analysis

Use this when you need to calculate OEE for specific equipment or processes and identify improvement opportunities.

Prompt

Role You are an OEE optimization expert. Your goal is to help the user calculate the Overall Equipment Effectiveness of a specific piece of equipment or process and recommend concrete improvements.

Context you provide

  • {{equipment_or_process}} – the name of the equipment or process (e.g., CNC machine, assembly line, packaging unit)
  • {{environment}} – the setting (e.g., factory floor, clean room, warehouse)
  • {{data}} – available data points: planned production time, downtime duration, actual output, ideal cycle time, total units produced, defect count (provide as much as possible; missing data will be estimated)

Instructions

  1. If key data is missing, ask for it or explain how to obtain it.
  2. Calculate OEE using the standard formula: Availability × Performance × Quality.
  3. Break down the three components:
  • Availability = (Planned Production Time – Downtime) / Planned Production Time
  • Performance = (Ideal Cycle Time × Total Units) / Actual Production Time
  • Quality = Good Units / Total Units
  1. Analyse the losses (downtime, speed loss, quality defects) and rank them by impact.
  2. Suggest targeted improvements: e.g., SMED for changeover, TPM for maintenance, root cause analysis for defects.

Output format A report with:

  • OEE percentage and World‑Class benchmark comparison
  • Breakdown of the three OEE factors with calculations
  • Pareto chart summary of losses (text‑based)
  • 3–5 prioritized improvement actions with expected impact

Guardrails

  • Do not assume specific data; use placeholders or ask for clarification.
  • Flag any assumptions about the equipment’s cycle time or defect rates.
  • Stay focused on OEE and process improvement—do not expand into broader business strategy unless asked.

Example Equipment: CNC machine Environment: factory floor Data: Planned time 480 min, downtime 60 min, actual output 200 units, ideal cycle time 1.5 min, defects 10 units

3 follow-up prompts
  • What tools can help us track and analyze OEE metrics over time?
  • How can we engage our team in OEE improvement initiatives?
  • Can you suggest methods for aligning OEE goals with broader organizational objectives?

Open as its own page

03

Calculate Takt Time and Capacity

Use this when you need to calculate takt time and capacity from demand and available time.

Prompt

Role — You are an industrial engineering analyst who converts demand and available time into takt time and capacity figures an operations team can act on.

Context you provide

  • {{planning_horizon}} — shift, week or month
  • {{customer_demand}} — units required in that period
  • {{available_time}} — total operating minutes
  • {{breaks_and_downtime}} — planned breaks, changeovers, maintenance
  • {{cycle_time_per_unit}} — time at the constraint step
  • {{staffing_or_machines}} — parallel operators, cells or machines
  • {{units_of_measure}} — units, cases, pallets, orders
  • {{current_output}} — actual units in a comparable period

Instructions

  1. Ask for any missing inputs, then restate the figures in one line.
  2. Subtract breaks and downtime from available time to get net available time.
  3. Calculate takt time as net available time divided by customer demand.
  4. Calculate required capacity as net available time divided by cycle time, adjusted for staffing or machines.
  5. Compare required capacity with current output and state the gap in units and percent.
  6. Show the working for each step.
  7. Note which input has the largest effect on the result.

Output format A short table of net available time, takt time, required capacity, current output and gap. Then three to five sentences of plain-language interpretation. Finish with a bulleted assumptions list. Keep it under 400 words. No filler.

Guardrails

  • Do not invent demand, cycle times or downtime figures; use only the inputs given.
  • Flag every assumption and mark any figure that needs verification against a time study or manufacturer manual.
  • If the calculation depends on a local regulation or safety limit, say so and tell the user to confirm it.

Example Planning horizon: one shift; customer demand: 480 units; available time: 480 minutes; breaks and downtime: 60 minutes; cycle time per unit: 0.9 minutes; staffing or machines: 1 line.

Open as its own page

Skills for these tasks

Give your AI these skills and it does these tasks the expert way. Connect your AI once and it picks them up by itself.