Home / Articles

Articles

Notes and insights on AI, data science, enterprise architecture and software.

Downtime Pareto in Python: From a Messy Stop Log to the Few Reasons That Eat Your Hours (Google Colab, Step by Step)

A free, step-by-step tutorial: turn a messy machine stop log into a downtime Pareto chart with Python and pandas in Google Colab, no install needed. Clean the reasons, sum minutes, find the few causes. By Faramarz Ahmadi.

Read more

Order-Level Profit in Manufacturing: Why Some Production Orders Lose Money While the Monthly P&L Looks Fine

The monthly P&L looks fine, yet some production orders quietly lose money. Why averages hide it, plan vs actual cost per order, four warning signs and a first look you can do this month. By Faramarz Ahmadi.

Read more

Power Query Tutorial: Reconcile the Planner’s Excel Sheet with the ERP, Step by Step

The ERP says one thing, the planner’s Excel sheet says another. A free, step-by-step Power Query tutorial to reconcile the two every week: clean the order key, full outer join, flag the differences. By Faramarz Ahmadi.

Read more

SAP PP T-Codes for Manufacturers (Part 3): What a Production Manager Should Check

When SAP PP “gives nonsense”, the system is usually doing what it was told. The SAP PP T-codes a production manager should check, in order: master data, demand, MRP and execution. By Faramarz Ahmadi.

Read more

Process Mining on Production Orders, Step by Step: Your First Event Log from ERP

A free, hands-on tutorial: turn the status history of your production orders into a three-column event log, check the timestamps, measure the waits between steps and count the paths orders really take, in Excel and a free tool....

Read more

AI News for Manufacturers: Planning Agents, Robots That See, and the Data Check That Comes First

Siemens planning agents, Claude for Manufacturing, AWS robot cell design, vision-guided cobots and humanoid pilots: what this month’s AI news really means for a normal plant, and the three questions to ask before any pilot. By ...

Read more

AI in Excel: Let Agent Mode Build Your Production Dashboard (Then Check It)

Excel Agent Mode built my production dashboard in ninety seconds. Line 2 showed 104% of plan. A step-by-step guide to letting AI in Excel build your dashboard, and the three checks before you trust it. By Faramarz Ahmadi.

Read more

AI Agents in Manufacturing: The Data an Agent Needs Before It Can Help

The AI agent answered in eight seconds and read every number correctly. The numbers were wrong. What an AI agent in a factory needs from your MRP and shop-floor data before it can help, and three levels of trust. By Faramarz Ah...

Read more

SAP SD T-Codes for Manufacturers: From Sales Order to Invoice (Part 2)

The truck was at the gate, the pallets were packed, and the delivery did not exist. Part 2 of my SAP T-code series: the SD transaction codes a manufacturer uses from sales order to invoice, and the checks that explain why an or...

Read more

Inventory Accuracy in Manufacturing: Why the System Says 500 and the Shelf Has 320

The system said 500, the shelf had 320, and the line stopped. Why inventory accuracy is a planning problem, how I measure it honestly, where the gaps come from and why the annual stocktake does not fix them. By Faramarz Ahmadi.

Read more

Plan vs Actual in Power BI: A Production Dashboard, Step by Step

The total said 95% and looked green; the product the customer needed was at 48%. How I build a first plan vs actual dashboard in Power BI: two fact tables, shared dimensions, three DAX measures and the traps. By Faramarz Ahmadi.

Read more

Process Mining on Production Orders: Where Released Orders Really Get Stuck

Three days of work, nine days on the calendar. The seven ERP events I ask for first, the four patterns that show where production orders really wait, and the traps that make a first process mining analysis lie. By Faramarz Ahmadi.

Read more

Turn Your Machine Manuals into an AI Notebook: NotebookLM, ChatGPT or Claude for Maintenance (Step by Step)

A press stopped at 2:40 a.m. and the answer sat on page 212 of a 380-page manual. A step-by-step first pass for loading your own manuals and work instructions into NotebookLM, ChatGPT or Claude, the old-revision trap, a 10-ques...

Read more

SAP PP and AI: MRP, MD04 and Where AI Really Helps the Production Planner

A line stopped for a bracket that MD04 showed as covered: the purchase order was 11 days late, hidden among 1,400 MRP exception messages. How to read MD04, where AI really helps the SAP PP planner (triage, explanation, patterns...

Read more

Weekly Management Report with ChatGPT, Copilot or Claude: From Four Excel Files to One Page Your Manager Actually Reads

A weekly report written with ChatGPT in 25 minutes, and a headline number that was wrong. A step-by-step tutorial: the five-block one-page shape, one clean table, a data-check prompt before writing, which tool fits (ChatGPT, Co...

Read more

Business Capability Map for a Manufacturer: The One-Page Enterprise Architecture Tool That Shows Where Money Should Go

Three investment requests, one Monday meeting, and a one-page capability map that showed two of them on the same box while the red one had no request. What a business capability map is, a first-level example for a manufacturer ...

Read more

BOM and Routing Master Data Check in Excel: Find the Errors That Wreck Costing and Planning

Our product cost dropped 9% and MRP proposed 400 kilos of a resin we use in grams. A hands-on way to check BOM and routing master data in Excel, the five error families to look for first and a five-minute self-check. By Faramar...

Read more

Feasibility Study for a Production Line: Size It From Real Demand, Not the Machine Catalogue

The catalogue said 12,000 a day; customers had committed to about 4,000. Why a production line feasibility study must start from real demand, what separates nameplate from real capacity, and a five-minute self-check. By Faramar...

Read more

SAP MM T-Codes for Manufacturers: The Transaction Codes Your Team Uses Every Day (Part 1)

The planner showed 800 in stock; the rack was empty. Both were right. The SAP MM T-codes a manufacturer uses every day for purchasing, goods movements, stock and master data, and the screen most people misread. By Faramarz Ahmadi.

Read more

Why AI Projects Fail in Manufacturing: Five Mistakes That Kill Factory AI Before It Pays Back

The demo was perfect. Six months later the operators had taped paper over the screen. Five mistakes I keep seeing that kill factory AI projects, and none of them is about the model. By Faramarz Ahmadi.

Read more

Engineering Change vs Open Orders: Find the Orders Still Built on the Old Revision (A First Pass in Excel and SQL)

Engineering released the new revision three weeks ago, yet 40 brackets with the old hole pattern just came off the line. A practical first pass in Excel and SQL to find open orders that never got the change. By Faramarz Ahmadi.

Read more

This Week’s AI News for Manufacturers: Humanoids on the Line, Open Robot Models and the Factory Agent That Matters Most

A production director sent me a video of a humanoid on a car line and asked: should we buy one? What was really announced this week (Gemini Robotics 2.5, Praxis-1, NVIDIA factory agents) and what a mid-size plant should do firs...

Read more

Order-to-Cash Process Mining: Find Where Your Orders Really Wait (A First Pass in Excel)

Sales said delivery takes three days. The event log showed customers waiting up to six more days for an invoice, and a quarter of orders stuck on credit blocks. A first, hands-on pass at order-to-cash process mining in Excel. B...

Read more

SAP Implementation: 7 Mistakes That Derail the Project (and the Order That Prevents Them)

The slide said the SAP project was ninety percent done. Three weeks after go-live, planners were back in Excel. Seven mistakes, in the order that actually matters, mapped to SAP Activate. By Faramarz Ahmadi.

Read more

Feasibility Study Sample: 7 Questions a Bank Asks First (and Why Downloaded Samples Fail)

A 140-page feasibility study built from a downloaded sample was sent back in 15 minutes. The seven questions a bank or investor really asks, the red flags I see most, and a five-minute self-check. By Faramarz Ahmadi.

Read more

Best AI for Excel? ChatGPT vs Claude vs Copilot on a Factory Report (3-Way Test)

I gave one factory Excel report to ChatGPT, Claude and Copilot. Each got one answer wrong with full confidence. The test, the mistakes, and the checking habits that made all three right. By Faramarz Ahmadi.

Read more

TOGAF in Practice for a Manufacturer: Enterprise Architecture Without the 600-Page Binder

How to use TOGAF ADM on a real manufacturing floor without turning architecture into a 600-page binder: vision before tools, a capability sketch, honest systems-and-Excel maps, and owned migration. By Faramarz Ahmadi.

Read more

Project Control in Excel with AI: Weighted Progress, SPI and an Honest Finish Date, Step by Step

A step-by-step tutorial: build a project control sheet in Excel with AI, see why a simple average of task percentages lies, calculate weighted progress with SUMPRODUCT, compare it with the plan, read SPI and make a rough finish...

Read more

SAP S/4HANA Migration Before 2027: Greenfield, Brownfield, and the Decision That Is Really About Your Data

SAP ECC 6.0 mainstream maintenance ends on 31 December 2027. What really ends, the three migration paths to SAP S/4HANA (greenfield, brownfield, selective data transition), what a readiness check usually reveals, and five thing...

Read more

How to Calculate OEE in Excel with AI: A Step-by-Step Guide for the Shop Floor

A practical tutorial: build an honest first OEE in Excel from one week of shift data, let ChatGPT or Claude group the stop reasons, check every formula by hand, and see why the board often shows a much higher number. Illustrati...

Read more

Solar Power Plant for a Factory: Feasibility, Right-Sizing and Payback Period

A first feasibility look at a factory solar plant: start from the daytime load, not the roof; check roof, land and grid connection; compare a few sizes; and judge payback with the real price of the power you replace. Hypothetic...

Read more

Building a Trading Bot in Python: How to Backtest a Strategy Before Risking Real Money

How a rule-based trading bot is built in Python and what an honest backtest must include: no look-ahead, real fees and slippage, the overfitting trap, paper trading and loss limits. No profit promises, by Faramarz Ahmadi.

Read more

Text Mining Customer Complaints and Maintenance Logs with Python to Find Recurring Failures

A practical first pass at text mining with Python: clean free-text maintenance notes and customer complaints, group them into failure themes with your technicians, rank them by downtime and read the notes behind the top three, ...

Read more

AI Visual Quality Inspection on the Production Line: From Camera Image to Decision

A practical path for AI visual inspection on a production line: one costly defect at one station, lighting and camera first, labeled images, the trade-off between false rejects and misses, and shadow mode before going live, by ...

Read more

Dealer Network Evaluation: A Scorecard to See Who to Grow and Who to Fix

Ranking dealers by sales alone rewards the wrong ones. The six-dimension scorecard I use to evaluate a dealer network: sales against area potential, payment discipline, customer experience, standards and reporting, then four gr...

Read more

Factory CEO Dashboard in Power BI with AI: One Page, Five Numbers

The managing director opens a 9-page report, closes it and calls the plant manager. How I build a one-page factory CEO dashboard in Power BI: five numbers, 13-week trends, owners, and an AI-drafted comment that never invents a ...

Read more

KPI Owner Responsibilities: Who Should Own Each KPI in Your Plant

A KPI turns red and three people explain why it is not theirs. Five rules for KPI ownership, how to split compound KPIs like OEE, a one-page KPI ownership matrix and a two-week setup — by Faramarz Ahmadi.

Read more

Claude for Excel on Factory Data: A Step-by-Step Guide for Production Managers

Claude for Excel read a messy monthly production workbook in seconds, and the old report was still wrong. Six steps I use: map the workbook, clean in a new sheet, calculate KPIs from totals, build the pivot and check three numb...

Read more

Geomarketing with Power BI: Where to Open Your Next Sales Point

The biggest bubble on the sales map was the wrong place for a new sales point. A simple Power BI method: sales per 1,000 residents, distance to the nearest point, gap against a realistic benchmark and competitors — by Faramarz ...

Read more

Weekly Production Plan in Excel with ChatGPT: Start From the Bottleneck

ChatGPT balanced the week at 304 pieces a day. At the welding bottleneck it asked for 88 hours from a station with 75. A simple Excel method: load per step in hours, close the gap with a real decision, sequence only the bottlen...

Read more

Feasibility Study for a Manufacturing Investment: A One-Page Go/No-Go in Five Checks

A $420,000 machine looked like a 2.4-year payback. With signed volume and a 5% price cut it was 3.9 years. A light feasibility study for plant investments: demand, capacity, cost, payback and risk on one page, with a go/no-go r...

Read more

Resource Allocation in Manufacturing: A Weekly Capacity Board That Shows Who Is Really Overloaded

A plant average of 88% load can hide two teams at 140% and 190%. A simple resource allocation method: real available hours, one demand list, an 85% ceiling and four answers to every overload — by Faramarz Ahmadi.

Read more

Project Control for Factory Improvement Programs: A One-Page Roadmap and a Weekly Check That Doesn’t Lie

Your status reports say 46% done, but closed milestones say 37.5%. A light project control method: a one-page roadmap, progress counted only by finished milestones, and one weekly number — by Faramarz Ahmadi.

Read more

Value Chain Mapping for Manufacturers: Find Where Your Margin Leaks Before You Write the Strategy

Before you decide where to grow, map where each product family makes and loses money from supplier to warranty. A practical value chain method for strategic planning — by Faramarz Ahmadi.

Read more

Manual Planner Overrides: What They Reveal About Your Bottleneck and Master Data

Planners change the ERP plan by hand every week. Log the reason for four weeks and each override points to a bottleneck rule or a master data fix — by Faramarz Ahmadi.

Read more

Downtime Data and ChatGPT: Why the First Answer Is Usually Wrong

Ask ChatGPT for the main cause of downtime and it counts stops. Five questions that clean the log, rank by minutes and find the loss that really costs output — by Faramarz Ahmadi.

Read more

5 ChatGPT Prompts for a Production Manager: From Shift Report to Bottleneck

Five practical ChatGPT prompts that turn a messy shift report into the real bottleneck, the losses that cost output and three owned actions — by Faramarz Ahmadi.

Read more

20 Questions Before Buying an ERP

Before you sign an ERP deal: 20 practical questions on process scope, master data, owners, shop-floor integration, cost and risk — by Faramarz Ahmadi.

Read more

Getting Bad News to Management Early

Green averages hide trouble until Friday. How an exception (alerting) dashboard surfaces owned, aged breaches early—with an illustrative example and a two-week starter path.

Read more

Why AI Pilots Stall Before the Shop Floor

The demo worked, but nobody on the line uses it. Seven gaps between an AI pilot and production—data plumbing, ownership, process change, trust, metrics, MLOps, MES/ERP integration—with an illustrative example and a production r...

Read more

Master Data Ownership Before ERP–MES Integration

ERP–MES projects stall when nobody owns BOM, routing and work centers. Name a RACI and system of record, score mismatches, control changes—then connect the pipe. Illustrative example with mismatch counts and rework hours.

Read more

KPI Dictionary: One Definition Across Plants

Plants argue in meetings because OEE, OTIF and scrap mean different things in each system. Build a one-page KPI dictionary—formula, source, owner, exclusions—and a worked example where shared rules make two plants comparable.

Read more

Predictive Maintenance Without the Hype: Start With One Critical Asset

Plants buy sensors and drown in alerts, or wait forever for plant-wide PdM. How to run a practical one-asset pilot: failure modes, 1–2 signals, baseline before ML, and a worked example with numbers.

Read more

An AI Assistant for Your Procedures and Manuals: A Practical RAG Pilot for Manufacturing

Your people lose time searching manuals and procedures. How a document assistant (RAG) answers only from your own files with sources, a worked example with numbers, and a six-step pilot plan.

Read more

Process Mining in Practice: Read Your Real Process from the Event Log and Run a First Pilot

Your process chart says one thing, your ERP timestamps say another. What process mining is, a worked order-to-cash example with an event log and variants, and a six-step plan for a first pilot.

Read more

Why Enterprise Architecture Matters: The Cost of No Capability Map and a 30-Day Start

Three systems doing one job, data copied by hand, projects that break things nobody expected. What enterprise architecture really does, an illustrative cost of overlapping systems, a one-page capability map template and a 30-da...

Read more

Applied AI in Manufacturing: 5 Use Cases That Pay and How to Pick Your First

More AI ideas than AI results? Five practical AI use cases for manufacturers, a one-hour scoring method, an illustrative payback calculation, a one-page use-case card and a 90-day plan that ends in a clear decision.

Read more

AI in Enterprise Architecture: From Static Diagrams to Living Models

Planning ERP or AI projects on a landscape slide nobody trusts? A practical 7-step method to turn static EA diagrams into a living, automatically fed model that AI can query, with an illustrative example and a checklist.

Read more

From Spreadsheet Chaos to One Live Dashboard: a shop-floor visualization starter

Managers drowning in Excel and late decisions? A practical starter to build one live operations dashboard at the bottleneck — with an illustrative worked example, five KPIs and a 7-day checklist.

Read more

OEE Went Up, Profit Didn’t: Why Your Efficiency Gains Don’t Reach EBITDA

Your OEE dashboard is green, but EBITDA hasn’t moved? Here is why efficiency gains away from the bottleneck don’t reach profit, with a loss tree, a worked example and a 5-step method to fix it.

Read more

How to Find and Open a Production Bottleneck with Data

Find the real production constraint with WIP, throughput and Little’s Law—then exploit it before buying new capacity.

Read more

Harnessing the Power of Neural Networks and Stochastic Programming for Optimal Decision-Making

The advent of machine learning and stochastic optimization has revolutionized operations research. This article explains how neural networks and stochastic programming work together for better, data-driven decisions under uncer...

Read more
👁 Views: 6