- Check the group’s capacity forecast, then create the event.
- Flatpeak allocates the target within each device’s limits, settings and consent.
- Each OEM fetches its shares, applies them and confirms.
vpp_event.updatefires on every status change.- Read deliveries as meter records arrive.
Create a VPP event
Request body
Create a VPP event with these fields. The event takes every device that is in the group at that moment, and the list is then fixed: devices that join or leave the group later do not change the event. To dispatch one program, use a group that filters on
program_id; to dispatch a few chosen devices, put them in a group with an explicit list.
Each device is dispatched under its own enrollment’s terms, including its program’s opt-out policy and rewards.
Allocation
Flatpeak allocates the target across the event’s devices, within each device’s limits, and may rebalance the shares untiltime_allocation_locks.
Some devices in the event get no share: one cut by the customer’s settings or by its condition, or one whose enrollment is not ACTIVE. Such a device stays in the event, is recorded as NOT_COMMITTED, and does not count against fulfillment.
To call an event off, cancel a VPP event. Before the window the event is withdrawn whole; during it, commitments end at cancel time and delivery is scored up to that point.
Delivery
The event carries the result for the whole group indelivery: requested, committed and delivered power and energy, and fulfillment. device_count is the number of devices it took from the group.
List all VPP event devices returns one compact row per device in the event, including those with no share: its status, committed and delivered energy, and fulfillment. Filter by status to pull only the devices that fell short, such as ZERO or UNREPORTED. Delivery is measured from meter records only; the OEM’s confirmation shows intent.
For one device’s full record, list device deliveries with
vpp_event_id returns a row per interval:
Settle when
coverage reaches 1. A commitment stands whatever the device does: a deviation is recorded, and the commitment is not canceled.
For what a group can deliver next, read its capacity forecast. To settle, see settlement.
