Skip to content
FlowScript templates

Supply — battery pack supply and service network

Supply network for an electric-vehicle battery pack from component suppliers through pack assembly to the vehicle line and the service network, with lead time and logistics cost on every link and capacity at every node. Typed FlowScript for supply chains. Keywords: supply chain, logistics, network, supplier.

Template previewFlowScript
SUPPLY CHAIN · BATTERY PACK, 75 KWH NMC, 12 MODULES75 kWh battery pack — European programmeΣ link cost: USD 123.80Max lead: 7 daysSUPPLIERFACTORYWAREHOUSEDISTRIBUTORCUSTOMERUSD 14.50 · 3d · truckUSD 16.20 · 4d · truckUSD 3.90 · 7d · airUSD 5.60 · 2d · truckUSD 2.10 · 1d · truckUSD 22.00 · 1d · truckUSD 18.50 · 2d · truckUSD 24.00 · 3d · truckUSD 17.00 · 1d · vanCell plant ADebrecen, HU18,000 u/periodCell plant B (qualifying)Gdańsk, PL5,000 u/periodBMS electronicsPenang, MY30,000 u/periodEnclosure castingsBrescia, IT20,000 u/periodPack assembly plantZwickau, DE16,000 u/periodSequencing bufferZwickau, DE2,000 u/periodService parts centreRotterdam, NL1,500 u/periodRegional service hubsLyon, Madrid, Warsaw900 u/periodVehicle assembly lineBratislava, SKAuthorised repairersEU-27, UK, NO

Make it your own.

// Supply network for an electric-vehicle battery pack from component suppliers through pack assembly to the vehicle line and the service network, with lead time and logistics cost on every link and capacity at every node.
//
// Every string below is EXAMPLE text from a fictional company: replace it.
//
// Units, stated once so the numbers can be compared: capacity is in pack
// equivalents per month; lead_time_days is door to door including customs;
// cost_per_unit is logistics cost per pack equivalent in USD, excluding
// the value of the goods. Nodes sit in columns by role (supplier, factory,
// warehouse, distributor, customer), so read the map left to right.
//
// What the map is for. Cells are the binding constraint: plant A can carry
// 18,000 pack equivalents a month against the pack plant's 16,000, but
// plant B, still in qualification, could carry only 5,000 if plant A
// stopped. Electronics come by air (7 days) because they are the one
// component the plant holds less than a week of. The service path runs
// through a separate parts centre so that a spike in warranty claims never
// draws on line-side stock.

supply_chain ev_pack {
  title: "75 kWh battery pack — European programme"
  product: "Battery pack, 75 kWh NMC, 12 modules"
  currency: "USD"
}

sc_node cells_a {
  name: "Cell plant A"
  role: "supplier"
  location: "Debrecen, HU"
  capacity: 18000
}
sc_node cells_b {
  name: "Cell plant B (qualifying)"
  role: "supplier"
  location: "Gdańsk, PL"
  capacity: 5000
}
sc_node bms {
  name: "BMS electronics"
  role: "supplier"
  location: "Penang, MY"
  capacity: 30000
}
sc_node enclosure {
  name: "Enclosure castings"
  role: "supplier"
  location: "Brescia, IT"
  capacity: 20000
}
sc_node pack_plant {
  name: "Pack assembly plant"
  role: "factory"
  location: "Zwickau, DE"
  capacity: 16000
}
sc_node sequencing {
  name: "Sequencing buffer"
  role: "warehouse"
  location: "Zwickau, DE"
  capacity: 2000
}
sc_node parts_dc {
  name: "Service parts centre"
  role: "warehouse"
  location: "Rotterdam, NL"
  capacity: 1500
}
sc_node service_hubs {
  name: "Regional service hubs"
  role: "distributor"
  location: "Lyon, Madrid, Warsaw"
  capacity: 900
}
sc_node vehicle_plant {
  name: "Vehicle assembly line"
  role: "customer"
  location: "Bratislava, SK"
}
sc_node repairers {
  name: "Authorised repairers"
  role: "customer"
  location: "EU-27, UK, NO"
}

sc_link cells_a_pack {
  from: cells_a
  to: pack_plant
  lead_time_days: 3
  cost_per_unit: 14.50
  mode: "truck"
}
sc_link cells_b_pack {
  from: cells_b
  to: pack_plant
  lead_time_days: 4
  cost_per_unit: 16.20
  mode: "truck"
}
sc_link bms_pack {
  from: bms
  to: pack_plant
  lead_time_days: 7
  cost_per_unit: 3.90
  mode: "air"
}
sc_link enclosure_pack {
  from: enclosure
  to: pack_plant
  lead_time_days: 2
  cost_per_unit: 5.60
  mode: "truck"
}
sc_link pack_sequencing {
  from: pack_plant
  to: sequencing
  lead_time_days: 1
  cost_per_unit: 2.10
  mode: "truck"
}
sc_link sequencing_vehicle {
  from: sequencing
  to: vehicle_plant
  lead_time_days: 1
  cost_per_unit: 22.00
  mode: "truck"
}
sc_link pack_parts {
  from: pack_plant
  to: parts_dc
  lead_time_days: 2
  cost_per_unit: 18.50
  mode: "truck"
}
sc_link parts_hubs {
  from: parts_dc
  to: service_hubs
  lead_time_days: 3
  cost_per_unit: 24.00
  mode: "truck"
}
sc_link hubs_repairers {
  from: service_hubs
  to: repairers
  lead_time_days: 1
  cost_per_unit: 17.00
  mode: "van"
}

view network: supply_map