entsoe-edi 0.49.0

ENTSO-E ESS 2.3 schedule documents for German intra-area electricity trades
Documentation
# entsoe-edi

Write an ESS 2.3 `ScheduleMessage` for bilateral electricity trades within one German control area (business type A02).

```rust
use entsoe_edi::{BilanzkreisId, ScheduleMessage, ScheduleQuantity, TradeSeries, delivery_window};
use time::macros::{date, datetime};

let day = date!(2026-03-29);
let window = delivery_window(day)?;
let slots = (window.end - window.start).whole_minutes() / 15;
assert_eq!(slots, 92);

let sender = BilanzkreisId::new("11XSUEDWESTSTRO8")?;
let schedule = ScheduleMessage {
    id: "SpringTrade".into(),
    revision: 1,
    sender: sender.clone(),
    receiver: "10XDE-EON-NETZ-C".parse()?,
    area: "10YDE-EON------1".parse()?,
    day,
    created_at: datetime!(2026-03-28 12:00 UTC),
    series: vec![TradeSeries {
        id: "Sale".into(),
        revision: 1,
        delivering: sender,
        receiving: "11XENERGIE2----H".parse()?,
        quantities: vec![ScheduleQuantity::from_kw(3_500_043)?; slots as usize],
    }],
};
assert!(schedule.to_xml()?.contains(r#"<Qty v="3500.043"/>"#));
# Ok::<(), Box<dyn std::error::Error>>(())
```

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](https://www.netztransparenz.de/de-de/Systemdienstleistungen/Betriebsfuehrung/Fahrplanmanagement) · [ETSO archive](https://www.entsoe.eu/Documents/EDI/Library/cim_based/archive/ESS_V4R1_and_older.zip)