SME OCPPSim
Simulate a car park full of EV chargers on your laptop. OCPP 1.6J, 2.0.1 and 2.1 chargers with Smart Charging, V2X and DER,
for CSMS and EMS testing, with a live web UI.
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.
Features
- OCPP 1.6J, 2.0.1 and 2.1, mixed freely in one process: transactions with offline queueing, Device Model and variable monitoring, local authorization, reservations, simulated firmware update and log upload. See OCPP messages.
- Smart Charging with a closed power loop (1.6, 2.0.1 and 2.1): the power limit comes from the same function that answers GetCompositeSchedule, so schedule and meter values never diverge. See Smart Charging.
- OCPP 2.1 V2X and DER: discharging, operation modes, frequency response on a simulated grid frequency and voltage, per-phase and reactive setpoints, DER controls, priority charging, tariffs and periodic event streams. See OCPP 2.1.
- EV and power model: battery, SoC, charging curve, phases, ramps and Japanese 200 V supplies, with 200+ chargers in one process.
- Security profiles 0 to 3:
ws://, HTTP Basic,wss://and TLS client certificates, with certificate management and the 1.6 Security Whitepaper. See Security profiles. - Built-in Mini CSMS on port 9000: an OCPP 1.6J / 2.0.1 / 2.1 CSMS in the same process (optionally
wss://) with a JSON editor for any CALL. See Mini CSMS. - Scenarios and traffic: YAML test scenarios on a fast sim clock with JSON / JUnit verdicts, a seeded traffic generator and fault / anomaly injection. See Scenarios.
- Pre-certification checks (not a certification): the OCA test cases of
cert/1.6andcert/2.0.1run against your CSMS from the CLI or the web UI pre-check page. See Pre-check. - Frame log, trace and replay: every OCPP frame with filters and export, a versioned trace format,
analyzeandreplayagainst another CSMS. See Trace & replay. - Automation and configuration: HTTP API and WebSocket, an MCP endpoint for AI assistants, Excel import / export, charger templates and YAML configuration edited in the browser; English, Japanese and Chinese UI, light and dark theme. See HTTP API and Excel import / export.
SME OCPPSim is free and MIT-licensed, developed by smart-edge (智届科技) — custom development is available, see Commercial support & custom development.
Screenshots
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
- Configuration — every YAML field. Saving from the UI rewrites the whole
chargers:block, so don't put comments inside individual charger entries. - OCPP messages — supported and unsupported 1.6J / 2.0.1 / 2.1 actions
- Smart Charging — rules and the interpretations in this implementation
- Security profiles — profiles 0 to 3 and certificate management
- Mini CSMS — the built-in CSMS on port 9000
- Excel & charger templates — import / export and bulk add from a template
- HTTP API — REST routes and the
/wscontract - Scenarios — scenario files, verdict, built-in examples,
scenario run - Certification pre-check — the
cert/1.6andcert/2.0.1suites (scenario run --suiteor the web UI) against your CSMS (OCA test case IDs, own scenarios; not a certification) - Traffic generator — seeded random sessions for standing load
- Trace & replay — record, analyze and replay a session against another CSMS
- MCP, health check and logs — drive the chargers from an AI assistant (
/mcp),/healthz,--log-format json - Development
- Changelog
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 / 2.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:
- Website: https://smartedge-tech.com
- Contact page: https://smartedge-tech.com/contact/
- E-mail: business@smartedge-tech.com
License
Metadata
Release files for sme-ocpp-sim 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sme_ocpp_sim-0.5.1.tar.gz | 959.8 kB | With provenance | Details for sme_ocpp_sim-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sme_ocpp_sim-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for sme_ocpp_sim-0.5.1-py3-none-any.whl |
Total release size: 2.1 MB
Release files / sme_ocpp_sim-0.5.1.tar.gz
| Download URL | sme_ocpp_sim-0.5.1.tar.gz |
|---|---|
| Size | 959.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a5cc6c2dea59419e78032e284e4b05bca9991838d3fdd3be37f7e3f85d01470
|
|
BLAKE2b-256 checksum How to use checksums |
e8f413c276f8c8f9052ebfe641fd673488a79e07cc9a38e8181d17db72827990
|
| 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 Dec 1, 2026.
Transparency logRelease files / sme_ocpp_sim-0.5.1-py3-none-any.whl
| Download URL | sme_ocpp_sim-0.5.1-py3-none-any.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4fcbeb4b7434e0604e7803888801f4db878e39b13dd497886b77bad4af55b1f
|
|
BLAKE2b-256 checksum How to use checksums |
787a938f3af0616ac5f5017a30a3da0549efa1fb0a0efec9017d30ab6a3ab25f
|
| 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 Dec 1, 2026.
Transparency logSecurity for sme-ocpp-sim 0.5.1
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.
Attestation for sme_ocpp_sim-0.5.1.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 Dec 1, 2026.
Transparency logA 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.