Smart charging is one of the more complex parts of OCPP. It is the mechanism by which a CSMS controls how much power each charging station draws, which is what grid management, demand response, and energy cost optimization all depend on. For CSMS developers, testing smart charging requires a simulator that actually enforces profiles and reports back correctly.

What a charging profile is

A charging profile is a power schedule sent from the CSMS to the station via SetChargingProfile. It tells the charger how much power (in watts or amps) it is allowed to deliver over time. The station is expected to enforce the limits in real time and report compliant power values in MeterValues.

A profile contains one or more schedule periods, each with a start offset in seconds from the start of the schedule and a power or current limit. A simple profile might allow full power for 30 minutes, then drop to half power for the next hour, then return to no limit.

Profile purposes

OCPP 1.6 defines three charging profile purposes:

Stack levels

Multiple profiles can coexist on the same connector. Stack levels resolve conflicts: a profile with a higher stack level takes precedence over one with a lower level. A CSMS can therefore set a baseline TxDefaultProfile at stack level 0 and override it dynamically at stack level 1 for a demand response event, leaving the baseline configuration in place.

Testing smart charging

Testing SetChargingProfile with real hardware typically requires a controllable power load and energy measurement equipment, which most development teams do not have. Smart charging logic, including profile conflicts, expiry handling, and stack level resolution, therefore tends to go undertested until a production incident exposes it.

SimItNow accepts SetChargingProfile commands, stores the full profile stack, and applies the active limit to reported MeterValues power readings. Your CSMS can verify that the profile was received, applied, and reflected in subsequent meter data, with no physical equipment involved.

Test smart charging scenarios free with SimItNow.