← Back to all sparks
S

standardlastprofile

INFRA · APIS
Velocity0.0

BDEW Standard Load Profiles for Electricity and Gas

A German electricity load-profile package added gas and doubled the market it serves.

energyload-profilesbdewgasgermanyr-packages
Current state
standardlastprofile implements the BDEW standard load profiles that German utilities use to assign consumption to customers without interval metering. Until June it did electricity only. Version 2.0.0 added the gas side — the SigLinDe synthetic procedure across all 15 BDEW gas profile IDs — and gave electricity a new primary interface, slp_electricity(), with slp_generate() superseded but retained.
Where it's heading
The package is converting from a dataset wrapper into a calculation library. Electricity profiles are tabulated values the package ships; gas profiles are computed from daily temperatures and a customer value through a coefficient-driven function, and the maintainer exposed the whole ladder — slp_gas() for the profile, slp_gas_kundenwert() to derive the customer value from a reference year, slp_gas_siglinde() for the raw h(theta) demand function so users can supply state-level coefficients, and coefficient and weekday-factor accessors underneath. The same instinct removed the built-in holiday table in favour of computing Easter directly, which lifted the date range cap from 2073 to open-ended. Deprecations are handled carefully throughout: renames keep working with lifecycle warnings, and the one hard break was already a warning since 1.1.0.
Prediction
slp_gas_siglinde() was exported specifically so users could plug in region-specific coefficients such as Baden-Wurttemberg's, which points at state-level coefficient sets as the next thing to ship rather than leave to callers. The BDEW reference edition is now pinned to an Internet Archive permalink after the last one 404'd, so tracking edition changes is an ongoing maintenance cost.

Recent moves

  1. 1mo ago

    Validation against the SigLinDe pole; numeric variant accepted

    Cleanup two weeks after the gas release. The variant argument now takes 34 or 33 as numbers as well as strings, coefficients are checked for being single finite numerics, and temperatures at or above 40 degrees are rejected with an explicit error rather than being pushed through the SigLinDe pole. The BDEW reference link, which had gone dead, now points at an archived permalink.

    View source ↗
  2. 2mo ago

    Gas standard load profiles arrive alongside electricity

    ⚡ SPARK

    The release doubles what the package covers and changes what kind of package it is: gas profiles are computed from temperature rather than looked up, which required exposing a coefficient and demand-function layer that electricity never needed. The electricity interface is refounded in the same release, with slp_electricity() superseding slp_generate() and the holiday table replaced by computation.

    View source ↗
  3. 5mo ago

    Five 2025 BDEW profiles added, including PV and storage variants

    Catalogue growth tracking BDEW's 2025 publication: H25, G25 and L25 for households, commerce and agriculture, plus P25 and S25 for combinations with photovoltaics and with storage and photovoltaics. The holidays argument that appears here — a caller-supplied vector overriding the built-in table — is the first step toward the holiday rework completed in 2.0.0.

    View source ↗