Test environment — please do not tamper with other tenants' data. Synthetic sessions only.

← Back to charger

Test session — demo-cp-1

Validate that your tariff produces the expected bill. Preview is pure math (no DB write); Create synthetic persists a real charging-session row that shows up in the sessions list, flagged with an id_tag of SYNTHETIC-….

Inputs

Cancel

What does this do?

Preview runs the same pricing engine that real sessions use, but only in memory. Useful while drafting or tweaking a tariff — change the rate, re-preview, see the new total in <100ms.

Create synthetic persists a real session row on this charger using whatever tariff is currently effective (charger → site → customer → tenant). It uses the standard settle path, so the resulting bill is identical to what an OCPP-driven session would produce.

Synthetic rows are tagged SYNTHETIC-… in id_tag. Bulk-clean them before going live with DELETE FROM charging_sessions WHERE id_tag LIKE 'SYNTHETIC-%'.