CloudSketch AI Logo
FeaturesTemplatesPricingEnterpriseAboutContactLog in
πŸŒ™β˜€οΈ
Log inStart free
Home/Templates/Automotive

πŸš— Automotive Β· State Machine

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.

More Automotive templates

Drawing diagram…

What this diagram shows

  • Charging starts only after the driver is authorised
  • Faults stop charging safely and bill only energy delivered
  • Idle fee starts if the car stays plugged in after charging

Prompt used

State machine for an EV charging session (OCPP style): Available, Preparing when the cable is plugged in, Authorising via app or RFID card, Charging, Suspended by the car or the charger, Finishing, then Payment and back to Available. A fault moves to Faulted. If the car stays plugged in after charging, it goes to Idle with an idle fee.

Mermaid code
stateDiagram-v2
  [*] --> Available
  Available --> Preparing: Cable plugged in
  Preparing --> Authorising: App or RFID tap
  Authorising --> Charging: Authorised
  Authorising --> Available: Rejected
  Charging --> Suspended: Car or grid pauses
  Suspended --> Charging: Resume
  Charging --> Finishing: Battery full or driver stops
  Charging --> Faulted: Charger fault
  Faulted --> Finishing: Bill energy delivered
  Finishing --> Idle: Car still plugged in
  Idle --> Payment: Unplugged (idle fee)
  Finishing --> Payment: Unplugged
  Payment --> Available

Related templates

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.

C4 ArchitectureProAutomotive

EV Charging Network Architecture

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

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.