Submission scheduling
Read the current definition before each scheduled submission. Its submissionRules tell you whether to submit complete delivery days before a gate or a continuous rolling forecast.
| Rule | Gate closure | Rolling |
|---|---|---|
| Coverage | Every interval of each submitted local day | At least minimumContinuousHours continuous hours (48 unless the definition sets fewer); partial boundary days allowed |
| Start | A day within the configured delivery horizon | The current grid interval, with the tolerance below |
| Deadline | Market gate minus submissionLeadMinutes | No gate deadline |
Gate-closure submissions
Calculate the market gate from the delivery day, gateDaysBeforeDelivery, gateLocalTime and the definition's time zone. Subtract submissionLeadMinutes. The request must arrive before that deadline.
For example, a gate at 10:00 on D-1 with a five-minute submission lead means arrival before 09:55 local on D-1. Read the actual values from the definition.
Every submitted day must contain all its required intervals. Local days can be shorter or longer at a daylight-saving change; use the rules in Time zones and delivery days.
Rolling submissions
Submit at least minimumContinuousHours consecutive hours whenever a new forecast is ready. Most rolling definitions require 48 hours; some short-term definitions require fewer. Read the value from submissionRules. The first timestamp must be no more than one hour before server receipt and no later than the first grid timestamp at or after receipt. Starting at the current grid interval provides some tolerance for transmission time.
The minimum is measured from the first submitted interval. If the final allowed local delivery day ends sooner, for example on the evening before the switch to daylight saving time, coverage through its end is enough. You can extend the forecast through the final allowed local delivery day. Split values into local-day containers; complete boundary days are not required. Rolling responses do not include deadlineAt.
Delivery horizon and ordering
horizon.firstDeliveryDayOffset and horizon.maxHorizonDays identify the first and last delivery-day offsets from today in the definition's time zone. Refresh these values and submission rules instead of hard-coding dates.
Sort delivery windows by deliveryDay and values by validTime, with each required series and output present. See First submission for a complete payload and Validation & retries for handling failures.