entsoe-edi
Write an ESS 2.3 ScheduleMessage for bilateral electricity trades within one German control area (business type A02).
use ;
use ;
let day = date!;
let window = delivery_window?;
let slots = .whole_minutes / 15;
assert_eq!;
let sender = new?;
let schedule = ScheduleMessage ;
assert!;
# Ok::
Provide one quantity per elapsed quarter-hour in the Berlin day, including explicit zeros. delivering is the ESS OutParty, and receiving is the InParty. A reverse flow has its own series. Only one direction can carry power in any quarter-hour.
The writer supports delivery intervals starting in UTC years 2000–2099, a continuous range qualified against the ESS core TimeIntervalType.
The caller supplies the receiver’s area, the complete set of series and their revision history. Preserve the message ID across revisions, retain accepted series and use the new message revision for changed or added series. to_xml() checks one complete snapshot before returning any bytes.
German TSOs, Prozessbeschreibung Fahrplananmeldung in Deutschland v4.6, Annex A.2.1 pp. 48–51, A.5.1–A.5.4 pp. 81–82 and Table F-1 pp. 98–100. ETSO, Scheduling System Implementation Guide v2r3, §§4.3.1, 4.4.1 and 4.7.2, pp. 36, 44 and 54. TSO publication · ETSO archive