Back to guides
5
8 min

Supply Chain & Logistics

Semiconductor Shortage Forecasting, JIT Optimization, FAME II Demand Modeling, and Supplier Risk

The Supply Chain Is the Competitive Moat

The automotive supply chain is a multi-tier network with interdependencies that are not visible from any single OEM's vantage point. The 2021–2023 semiconductor shortage cost the global automotive industry $210 billion in lost revenue. Indian OEMs were disproportionately affected because the domestic semiconductor ecosystem is nascent and import dependency for MCUs (microcontroller units) and power electronics runs above 95%. The companies that recovered fastest were those that had invested in supply chain visibility and ML-driven demand forecasting — not those with the largest safety stock.

FAME II (Faster Adoption and Manufacturing of Hybrid and Electric Vehicles Phase II) has injected ₹10,000 crore into the EV supply chain, creating a government-demand signal that is programmable and forecastable in ways that private demand is not. This chapter covers ML applications across the supply chain stack, with specific attention to Indian policy-driven demand dynamics.

Semiconductor Shortage Forecasting

The semiconductor supply problem for automotive is structural: automotive-grade chips (AEC-Q100 qualified) are manufactured at trailing-edge nodes (28–90nm) that are less profitable for fabs than consumer 5G and AI chips at leading-edge nodes. Capacity allocation decisions at TSMC, Samsung, and Renesas prioritise higher-margin products.

Building a Semiconductor Supply Risk Model

The inputs to a supply risk forecasting model for automotive semiconductors:

Signal CategoryData SourceUpdate Frequency
Fab capacity utilizationEarnings calls, IPC quarterly reportsQuarterly
Lead time trendsComponent distributors (Arrow, Avnet APIs)Weekly
Spot market priceSpot market data feedsDaily
Geopolitical riskNews NLP, export control databasesDaily
OEM production schedule changesInternal BOM/production dataWeekly
PMIC / MCU demand pipelineDesign win data from IC vendorsQuarterly
# Semiconductor lead time anomaly detection
# Open data/semiconductor-lead-times.json for 24 months of lead time data
# across 180 part numbers for a Tier-1 automotive supplier

import json
import pandas as pd
from sklearn.ensemble import IsolationForest

with open("data/semiconductor-lead-times.json") as f:
    raw = json.load(f)

df = pd.DataFrame(raw["lead_time_records"])
# Columns: part_number, supplier, lead_time_weeks, quote_date, spot_premium_pct

# Pivot to time series per part number
# Fit isolation forest on historical distribution
# Flag parts with lead_time > 2σ from trailing 6-month mean as supply risk

pivot = df.pivot_table(index="quote_date", columns="part_number", values="lead_time_weeks")
pivot_filled = pivot.fillna(method="ffill")

iso_forest = IsolationForest(contamination=0.05, random_state=42)
anomaly_labels = iso_forest.fit_predict(pivot_filled.values)

risk_dates = pivot_filled.index[anomaly_labels == -1]
print(f"Supply risk events detected: {len(risk_dates)}")
print(f"Most recent: {risk_dates[-1] if len(risk_dates) > 0 else 'None'}")

Multi-Tier Visibility

The deeper problem is that Tier-2 and Tier-3 suppliers are invisible to OEMs in most supply chains. A casting supplier in Rajkot might source machining from a shop that uses a CNC controller with a chip sourced from a Tier-4 electronic distributor — and the OEM has no visibility into that dependency chain. Graph neural networks on supply chain relationship data can propagate risk signals up the tier hierarchy, flagging OEM exposure to Tier-3 shortages before they manifest as Tier-1 delivery failures.

JIT Optimization with ML

Just-in-Time (JIT) manufacturing — pioneered by Toyota and adopted across Indian automotive — synchronises parts delivery to the production sequence to minimise inventory carrying cost. The ML enhancement is sequencing and delivery timing optimization:

Sequence Optimization for Assembly

A vehicle assembly line builds mixed models in a sequence. The sequence determines which parts are needed when and in what order at each station. Bad sequencing concentrates body-colour changes (requires paint booth purging), overloads stations with high-content variants, or creates spikes in component delivery volumes. ML sequence optimizers (constraint programming + NN heuristics, genetic algorithms + ML fitness function) outperform rule-based sequencers on real-world mixed-model lines.

Prompt: "I operate a 40 jobs-per-hour assembly line building 6 vehicle variants.
Constraints:
- Maximum 3 consecutive high-content (petrol turbo) variants before a low-content unit
- Colour change penalty: back-to-back white→black costs 12 minutes paint purge
- Chassis variants must alternate to balance line loading at Station 18
- JIT parts window: ±15 minutes from planned sequence position

I have 8 hours of production orders (320 vehicles) to sequence.
Current rule-based sequencer achieves 87% schedule adherence.

Formulate this as an optimization problem. Which solver class handles this best
(CP-SAT, genetic algorithm, learned heuristic)? What training data do I need
to bootstrap a learned sequencer?"

Inbound Logistics Optimization

Indian automotive logistics has a distinctive challenge: Maruti Suzuki's Gurugram and Manesar plants source from 300+ Tier-1 suppliers across India. A dedicated supply chain coordination team manages milk runs (multi-stop supplier pickup routes) that must be re-optimised daily as production schedules change. ML route optimisation — a variant of the vehicle routing problem with time windows (VRPTW) — reduces milk run distances by 8–15% compared to static routes, directly reducing logistics cost.

FAME II Demand Modeling

FAME II subsidises EV purchase at the point of sale (₹10,000–15,000 per kWh for two-wheelers, ₹20,000 per kWh for buses capped at 40%). The scheme has a programmatic demand signal: subsidy utilisation rate, remaining budget, and policy renewal timeline are all observable inputs that ML demand models can incorporate.

EV Demand Forecast Structure

Traditional demand model: GDP growth + fuel price + consumer sentiment → sales forecast

FAME II-augmented model:
- FAME II subsidy budget remaining (Ministry of Heavy Industries dashboard)
- Subsidy utilisation velocity (weekly disbursals → forecast exhaustion date)
- Policy renewal probability (Bayesian update from parliamentary session signals)
- Charging infrastructure density (EVSE density per district from NPCS data)
- Fleet operator procurement pipeline (direct B2B signals — Ola, Yulu, state bus corporates)
→ EV sales forecast by segment, district, quarter

This model is valuable for:

  • Ola Electric's production planning (how many S1 Pro units to build in Q2 FY26?)
  • Lithium-ion cell import planning (6-month lead time for cell procurement)
  • Charging infrastructure operators planning EVSE deployment
  • Open data/fame2-subsidy-utilization.json — quarterly FAME II disbursement data by vehicle category and state, usable as a training signal for EV demand forecasting.

    Supplier Risk Scoring

    Supplier financial and operational risk is a persistent problem for Indian OEMs. The MSME (Micro, Small & Medium Enterprise) tier of the automotive supply chain has thin margins, limited working capital, and high concentration risk — many Tier-2 suppliers have 60–80% revenue from a single OEM.

    Building a Supplier Risk Scorecard

    Risk DimensionData SourceML Task
    Financial healthGST filing regularity, MCA filings, credit bureauClassification: healthy/watch/distress
    Delivery performanceOEM ERP: on-time delivery %, quantity accuracyTime series regression
    Quality performanceWarranty returns, PPM (parts per million defects)Anomaly detection
    Capacity utilizationSupplier self-reported + inference from delivery patternsRegression
    Geopolitical/geographic concentrationSingle-site suppliers, flood/drought zone proximityRule-based + NLP news

    A composite supplier risk score, updated weekly, enables proactive dual-sourcing decisions. Maruti Suzuki has published on using analytics for supply chain resilience in the post-COVID era; the methodology is supplier risk scoring of exactly this type.

    Prompt: "I want to build a supplier risk early warning system for 400 Tier-1 and Tier-2 suppliers.
    Available data: 3 years of on-time delivery rates (weekly), quality PPM (monthly),
    GST filing dates, MCA annual return dates, credit rating (quarterly where available),
    news mentions (through Google Alerts RSS).
    
    Design the feature engineering pipeline:
    1. What rolling window statistics to compute from delivery and quality data
    2. How to encode GST filing regularity as a financial health proxy
    3. How to weight news sentiment for a supplier operating in a geopolitically sensitive region
    4. What threshold triggers a 'dual source' recommendation to procurement"

    Key Takeaways

  • Semiconductor risk modelling requires Tier-N visibility — OEM-level ML without Tier-2/3 data will miss the actual point of concentration risk. Invest in supply chain graph data before building the model.
  • FAME II creates a modelable policy demand signal — unlike private consumer demand, government subsidy programmes have structured disbursement data. Build FAME II utilisation into EV demand forecasts.
  • JIT sequence optimisation compounds with logistics optimisation — getting the production sequence right reduces both station overload and inbound delivery spike risk. Solve them jointly, not in sequence.
  • Supplier risk scoring must be acted upon — a model that generates risk scores nobody acts on creates liability without value. Pair the model with a procurement workflow that converts risk alerts into dual-sourcing decisions within 30 days.
  • This is chapter 5 of AI for Automotive & EV.

    Get the full hands-on course — free during early access. Build the complete system. Your projects become your portfolio.

    View course details