CloudSketch AI Logo
FeaturesTemplatesPricingEnterpriseAboutContactLog in
🌙☀️
Log inStart free
Home/Templates/Automotive

🚗 Automotive · C4 Architecture · Pro

EV Charging Network Architecture

A charge point operator's platform: chargers speaking OCPP, a central management system, driver app, payments and roaming.

More Automotive templates

C4 Architecture diagrams are part of Pro. Anyone can view this one; generating and editing it needs Pro.

Drawing diagram…

What this diagram shows

  • Chargers connect to the CSMS over OCPP
  • Drivers start sessions from the app or RFID
  • Roaming lets other networks' drivers charge

Prompt used

EV charging network: AC and DC chargers connect over OCPP 1.6/2.0.1 WebSockets to the charging station management system (CSMS), which handles sessions, pricing and charger health. Drivers use a mobile app to find chargers, start sessions and pay; a billing service charges via a payment gateway. Roaming through an OCPI hub allows other networks' drivers. Load management limits total site power.

Mermaid code
C4Container
title EV Charging Network
Person(driver, "EV Driver", "Finds and pays for charging")
System_Ext(chargers, "Charge Points", "AC and DC chargers")
System_Ext(roam, "Roaming Hub", "OCPI")
System_Ext(pay, "Payment Gateway", "Cards and UPI")
System_Boundary(cpo, "Charge Point Operator") {
  Container(csms, "CSMS", "Java", "OCPP server, sessions")
  Container(load, "Load Management", "Go", "Site power limits")
  Container(app, "Driver App", "Flutter", "Map, start, pay")
  Container(api, "App API", "Node.js", "App backend")
  Container(bill, "Billing Service", "Node.js", "Tariffs and invoices")
  ContainerDb(db, "Sessions DB", "PostgreSQL", "Sessions and chargers")
}
Rel(chargers, csms, "OCPP WebSocket")
Rel(csms, load, "Asks limits")
Rel(driver, app, "Uses")
Rel(app, api, "Calls")
Rel(api, csms, "Start / stop")
Rel(csms, db, "Stores")
Rel(csms, bill, "Session ends")
Rel(bill, pay, "Charges")
Rel(csms, roam, "Roaming sessions")

Related templates

State MachineAutomotive

EV Charging Session State Machine

Every state of an electric vehicle charging session at a public charger, from plug-in to payment, including faults and idle fees.

C4 ArchitectureProAutomotive

Connected Car Platform Architecture

A connected vehicle platform: the telematics unit in the car, the cloud services that collect data and send commands, and the owner's mobile app.

SequenceAutomotive

Vehicle Software OTA Update

How a carmaker updates vehicle software over the air: campaign targeting, owner consent, download, safe installation and reporting.

DeploymentProAutomotive

Fleet Management Deployment

Where each part of a fleet management system runs: GPS devices in trucks, cloud services for tracking and analytics, and apps for managers and drivers.

SequenceAutomotive

Ride-Hailing Booking Sequence

What happens when a rider books a cab: fare estimate, driver matching, pickup, the trip and payment.

Database ERDAutomotive

Car Dealer Management Schema

A database schema for a car dealership: vehicles in stock, customers, test drives, bookings, sales and service jobs.