Skip to main content

Module synthetic

Module synthetic 

Source
Expand description

A deterministic, plausible German day-ahead day.

Morning and evening peaks, a midday solar dip whose depth depends on a seeded “sunniness” (deep enough for negative prices on sunny days), and noise. Computed in f64, quantised to the day’s price granularity through flexpool_core::quantize, clamped to the price limits in force. The same seed gives the same day on every platform and version (own SplitMix64, no rand).

Structs§

SplitMix64
SplitMix64 — tiny, deterministic, good enough for synthetic data.

Functions§

day_ahead
The price of each interval of day at minutes resolution, deterministic for seed.