Skip to main content

SME OCPPSim logo

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.

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.

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 cost calculation, battery swap, a payment terminal (pay by card, VAT number, settlement) and periodic event streams. See OCPP 2.1.
  • Charger, EV and power model: EVSE / connector tree with connector types, AC and DC charging, battery, SoC, charging curve, per-phase load, ramps, Japanese 200 V supplies and signed meter values, 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.6 and cert/2.0.1 run 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, analyze and replay against 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.
  • Not supported: ISO 15118 / Plug & Charge, TLS below 1.2, FTP / SFTP transfers and DC power sharing. See Not supported.

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
Pre-check page: sequence diagram of the running case and the Next banner (operator step)
Pre-check page: sequence diagram of the running case and the Next banner (operator step)

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 / 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:

License

MIT

Metadata

Release files for sme-ocpp-sim 0.6.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.6.0
File Size Uploaded Provenance Actions
sme_ocpp_sim-0.6.0.tar.gz 1.1 MB With provenance Details for sme_ocpp_sim-0.6.0.tar.gz

Built distribution (wheel)

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

Total release size: 2.3 MB

Release files / sme_ocpp_sim-0.6.0.tar.gz

Download URL sme_ocpp_sim-0.6.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
9c0164d732edcb1ab6cba42dca1189d5ad105e22f00c2374bcd4433e76ff23b7
BLAKE2b-256 checksum
How to use checksums
bbc44d5d8070fe33808edcf104192075d8d5389ce4ed4fc49a53588dfb1e73bc
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 log

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

Download URL sme_ocpp_sim-0.6.0-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
371108a1a901f31cc851a02fb8aeae500a082e4677a523b29bbf20bbb4b8bad5
BLAKE2b-256 checksum
How to use checksums
d13fe99e2c6a6ea47dd60366dc8ed89c2ad3ef316d71d7d8b948135ecb92497c
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 log

Security for sme-ocpp-sim 0.6.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.6.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 Dec 1, 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