Deterministic synthetic load-series generator for demos and documentation.
The generator composes a strictly positive hourly electric-load series from four simple components: a linear trend, a daily sinusoid peaking at noon, a weekday uplift, and seeded Gaussian noise. It exists so that executable documentation never has to hand-roll simulation code: the same seeded call yields a byte-identical series on every run (code rule CR-2, determinism).
Generate a deterministic synthetic hourly electric-load series.
The series is the sum of a base level, a linear trend rising from zero to trend_total over the full range, a daily sinusoid of amplitude daily_amplitude peaking at 12:00, a constant weekday_uplift added on Monday through Friday, and Gaussian noise with standard deviation noise_std drawn from a generator seeded with seed. Repeated calls with identical arguments return byte-identical values.