Skip to main content

SME OCPPSim logo

SME OCPPSim

Simulate a car park full of EV chargers on your laptop. OCPP 1.6J and 2.0.1 chargers with Smart Charging (plus OCPP 2.1 core),
for CSMS and EMS testing, with a live web UI.

Website · Docs · Download

CI release license MIT platform python 3.11+ OCPP 1.6J | 2.0.1 | 2.1

English | 日本語 | 简体中文

Live charging power following a Smart Charging profile

A free, open-source OCPP charging station simulator (a charge point / EV charger simulator) with a live web UI, for Windows, Linux and Docker. Simulate dozens to hundreds of AC chargers, plug in virtual EVs, start and stop transactions, and watch the charging power follow the Smart Charging profiles your CSMS (SteVe, your own CSMS, an EMS...) sends.

  • OCPP 1.6J charge points. Boot, heartbeat, status, authorize, transactions and meter values; remote start / stop, configuration, reset, trigger message, availability, unlock and data transfer.
  • OCPP 2.0.1 charging stations, mixed freely with 1.6 chargers: TransactionEvent with offline queueing, RequestStart / StopTransaction, Reset, ChangeAvailability, TriggerMessage, UnlockConnector, the Device Model (GetVariables / SetVariables / GetBaseReport, shown read-only in the UI) and 2.0.1 Smart Charging with an external (EMS) limit. OCPP 2.1 core is supported too (SEND / CALLRESULTERROR framing, the new 2.1 messages stored and acknowledged); the 2.1 Smart Charging additions come later.
  • Smart Charging with a closed power loop (1.6 and 2.0.1). SetChargingProfile, ClearChargingProfile and GetCompositeSchedule. The power limit is computed by the same function that answers GetCompositeSchedule, so the schedule and the meter values cannot diverge. Every point the specification leaves open is documented.
  • EV and power model. Battery, SoC, charging curve, phases, ramps, Japanese 200 V single-phase and 3-phase delta supplies; Charging / SuspendedEV / SuspendedEVSE follow from the model.
  • 200+ chargers in one process, connected individually or in bulk.
  • Authorization, reservations and maintenance (1.6 and 2.0.1). Local authorization list and authorization cache, ReserveNow / CancelReservation, and simulated firmware update, diagnostics and log upload with status notifications and failure injection.
  • Security profiles 0 / 1 / 2 / 3: ws://, HTTP Basic, wss:// with Basic, wss:// with a TLS client certificate; certificate management (SignCertificate with a generated CSR, CertificateSigned, InstallCertificate ...) and SecurityEventNotification.
  • Built-in Mini CSMS (port 9000): a simple OCPP 1.6J / 2.0.1 CSMS in the same process, to try the simulator without SteVe, see what the stations send and send any CALL from a JSON editor.
  • Excel import / export and charger templates. Edit the charger list in Excel, or add N chargers at once from a built-in or your own template.
  • Frame log of every OCPP frame with filters and JSON Lines export; HTTP API and WebSocket for test scripts, and an MCP endpoint for AI assistants.
  • Scenarios and traffic (v0.3). Scripted test scenarios (YAML, parallel tracks on a sim clock that runs hours in seconds) with a pass / fail verdict as JSON or JUnit, from the CLI (scenario run, built-in examples as builtin:<name>), the HTTP API, MCP or the Scenario panel; a seeded random traffic generator for standing load; a weighted vehicle profile pool; and anomaly switches (remote start accepted without a transaction, dropped / reordered / noisy meter values, slow answers) next to the connection faults.
  • YAML configuration, edited in the browser and saved back to the file (the Windows exe keeps it in ~/.sme-ocpp-sim/config.yaml).
  • English, Japanese and Simplified Chinese. The UI follows the browser language.

SME OCPPSim is free and MIT-licensed, developed by smart-edge (智届科技) — custom development is available, see Commercial support & custom development.

Screenshots

Charger list: connection, OCPP version, connectors and total power
Charger list: connection, OCPP version, connectors and total power
An OCPP 2.0.1 charger: EVSE cards with plug, swipe, start, stop and fault
An OCPP 2.0.1 charger: EVSE cards with plug, swipe, start, stop and fault
Smart Charging panel: limit, power and SoC on one time axis, with the 2.0.1 external limit
Smart Charging panel: limit, power and SoC on one time axis, with the 2.0.1 external limit
OCPP frame log with filters and JSON detail
OCPP frame log with filters and JSON detail
Settings: CSMS URL, OCPP version and security profile
Settings: CSMS URL, OCPP version and security profile
Dark theme
Dark theme
OCPP 2.0.1 Device Model variables (read-only)
OCPP 2.0.1 Device Model variables (read-only)
Mini CSMS: the built-in CSMS with the connected stations, their records and a JSON editor for any CALL
Mini CSMS: the built-in CSMS with the connected stations, their records and a JSON editor for any CALL
Add charger: several chargers at once from a charger template
Add charger: several chargers at once from a charger template
Mixed 1.6 / 2.0.1 sites: see configs/mixed-site.yaml

Quick start

Download the Windows executable from the latest release, or install with pip (Python 3.11+):

python -m venv .venv
.venv\Scripts\pip install sme-ocpp-sim
.venv\Scripts\sme-ocpp-sim -c configs/demo-site.yaml

or run the Docker image (linux/amd64, linux/arm64):

docker run --rm -p 8082:8082 --add-host=host.docker.internal:host-gateway ghcr.io/smartedge-tech-dev/sme-ocpp-sim

Open http://127.0.0.1:8082/. The demo configuration connects three chargers to a SteVe CSMS at ws://localhost:8180/steve/websocket/CentralSystemService; from Docker use host.docker.internal instead of localhost. See the quick start for SteVe setup and all options.

Documentation

SME OCPPSim implements the publicly available OCPP specification of the Open Charge Alliance. It is not OCA certified and has not been tested with OCTT.

More simulators from smart-edge

SME OCPPSim is one of a series of free, MIT-licensed protocol simulators by smart-edge. They share the same web UI and conventions, so what you learn in one carries over to the others.

Simulator What it simulates Docs
SME BACnetSim BACnet/IP device simulator Docs
SME ModbusSim Modbus TCP / RTU / UDP / TLS slave (server) simulator Docs
SME OCPPSim (this project) OCPP 1.6J / 2.0.1 charging station (charge point) simulator Docs

All open-source tools from smart-edge: https://smartedge-tech.com/open-source/

Commercial support & custom development

SME OCPPSim is developed by smart-edge — Nanjing Smart-Edge Technology Co., Ltd. (南京智届科技有限公司, 智届科技). Since its founding in 2023 the company has developed end-to-end software for distributed energy resources such as solar, batteries and EVs, from equipment control to the cloud and electricity markets. Its products include the AERIS RA platform (リソースアグリゲーター向け) and an AC system (アグリゲーションコーディネーター) for the Japanese electricity markets. The team supports projects in Japanese, from requirements definition through design, implementation, operation and maintenance.

Services:

  • Energy management systems (EMS), cloud and on-site
  • RA / AC systems for electricity markets (JEPX, EPRX, OCCTO)
  • Edge IoT and equipment-control software
  • Equipment integration: Modbus, MQTT, BACnet, ECHONET Lite, OpenADR 2.0b
  • Energy forecasting and data analytics
  • Cloud infrastructure design, build and operation

Need a feature added to SME OCPPSim, or help integrating your devices or EMS? Get in touch:

License

MIT

Metadata

Release files for sme-ocpp-sim 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sme-ocpp-sim 0.4.0
File Size Uploaded Provenance Actions
sme_ocpp_sim-0.4.0.tar.gz 868.3 kB With provenance Details for sme_ocpp_sim-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sme-ocpp-sim 0.4.0
File Interpreter ABI Platform Actions
sme_ocpp_sim-0.4.0-py3-none-any.whl Python 3 none any Details for sme_ocpp_sim-0.4.0-py3-none-any.whl

Total release size: 1.9 MB

Release files / sme_ocpp_sim-0.4.0.tar.gz

Download URL sme_ocpp_sim-0.4.0.tar.gz
Size 868.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fc67e589aeb3d7660a94e8cf62430f8a375fe9838b740ed7dbbba7f8abbb8e78
BLAKE2b-256 checksum
How to use checksums
7ed1119329ecf8da21683efd21537f9b9027e546ba3c2f7f8160e939c4967524
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / sme_ocpp_sim-0.4.0-py3-none-any.whl

Download URL sme_ocpp_sim-0.4.0-py3-none-any.whl
Size 1.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f7cef6b501745d5f6bb7a63a84c85153c7ad030703947801d5fc92ae02519afa
BLAKE2b-256 checksum
How to use checksums
d204ab49f8514fbdd515d97cf5142bb046b2bdf05723b2f49bc8792fd0114bb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Security for sme-ocpp-sim 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for sme_ocpp_sim-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page