Skip to content
HALOWERK

Solarwerk

pv surplus load shift window

Return the contiguous start interval needing least grid energy for a fixed-power shiftable load.

POST https://solar.halowerk.com/v1/pv-surplus-load-shift-window

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
surplus_warrayYes
load_wnumberYes
duration_intervalsintegerYes
interval_hnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "surplus_w": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": 0,
        "maximum": 1000000
      },
      "maxItems": 200,
      "minItems": 1
    },
    "load_w": {
      "type": "number",
      "minimum": 1,
      "maximum": 1000000
    },
    "duration_intervals": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    },
    "interval_h": {
      "type": "number",
      "minimum": 0.0002777777777777778,
      "maximum": 24
    }
  },
  "required": [
    "surplus_w",
    "load_w",
    "duration_intervals",
    "interval_h"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "surplus_w": [
    0,
    500,
    1500,
    1500,
    0
  ],
  "load_w": 1000,
  "duration_intervals": 2,
  "interval_h": 1
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’