Vergelijk energie
compare-energyFull Description
Generates an interactive energy contract comparison widget for the Netherlands. Required: postcode (format: 1234AB, no spaces) and housenumber. Electricity Logic:
- For single meters: Input total usage in
electricityusagehighand leaveelectricityusagelowat 0. - For dual meters: Split usage between
electricityusagehigh(peak) andelectricityusagelow(off-peak). - Use the same logic for solar generation in
electricitysupplyhighandelectricitysupplylow.
Defaults: If usage is unspecified, the system defaults to 2500 kWh (high) and 1200 m3 gas.
Parameters (2 required, 6 optional)
housenumberstringpostcodestringDutch postal code, e.g., 1234AB
electricitysupplyhighnumberSolar feed-in peak or Total feed-in
0electricitysupplylownumberSolar feed-in off-peak
0electricityusagehighnumberPeak usage or Total usage for single meter
2500electricityusagelownumberOff-peak usage (dual meter only)
0gasusagenumber1200housenumberadditionstring