Skip to content
HALOWERK

Solarwerk

pv storage dispatch replay

Return battery state and grid flows from supplied generation and load profiles.

POST https://solar.halowerk.com/v1/pv-storage-dispatch-replay

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
pv_warrayYes
load_warrayYes
interval_hnumberYes
capacity_whnumberYes
initial_whnumberYes
reserve_whnumberYes
power_limit_wnumberYes
efficiencynumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "pv_w": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": 0,
        "maximum": 1000000
      },
      "maxItems": 200,
      "minItems": 1
    },
    "load_w": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": 0,
        "maximum": 1000000
      },
      "maxItems": 200,
      "minItems": 1
    },
    "interval_h": {
      "type": "number",
      "minimum": 0.0002777777777777778,
      "maximum": 24
    },
    "capacity_wh": {
      "type": "number",
      "minimum": 1,
      "maximum": 10000000
    },
    "initial_wh": {
      "type": "number",
      "minimum": 0,
      "maximum": 10000000
    },
    "reserve_wh": {
      "type": "number",
      "minimum": 0,
      "maximum": 10000000
    },
    "power_limit_w": {
      "type": "number",
      "minimum": 1,
      "maximum": 1000000
    },
    "efficiency": {
      "type": "number",
      "minimum": 0.01,
      "maximum": 1
    }
  },
  "required": [
    "pv_w",
    "load_w",
    "interval_h",
    "capacity_wh",
    "initial_wh",
    "reserve_wh",
    "power_limit_w",
    "efficiency"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "pv_w": [
    1500,
    0
  ],
  "load_w": [
    500,
    1000
  ],
  "interval_h": 1,
  "capacity_wh": 2000,
  "initial_wh": 500,
  "reserve_wh": 200,
  "power_limit_w": 1000,
  "efficiency": 0.9
}

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 โ†’