Skip to content
HALOWERK

Solarwerk

dc resistive node voltage solve

Solve grounded DC resistor-network node voltages and branch currents from supplied values.

POST https://solar.halowerk.com/v1/dc-resistive-node-voltage-solve

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
nodesarrayYes
groundReferenceYes
resistorsarrayYes
injectionsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "nodes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/s0"
      },
      "maxItems": 40,
      "minItems": 1
    },
    "ground": {
      "$ref": "#/$defs/s0"
    },
    "resistors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "from": {
            "$ref": "#/$defs/s0"
          },
          "to": {
            "$ref": "#/$defs/s0"
          },
          "ohm": {
            "type": "number",
            "minimum": 1e-06,
            "maximum": 1000000000
          }
        },
        "required": [
          "from",
          "to",
          "ohm"
        ],
        "additionalProperties": false
      },
      "maxItems": 200,
      "minItems": 1
    },
    "injections": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "node": {
            "$ref": "#/$defs/s0"
          },
          "amp": {
            "type": "number",
            "minimum": -1000000000,
            "maximum": 1000000000
          }
        },
        "required": [
          "node",
          "amp"
        ],
        "additionalProperties": false
      },
      "maxItems": 40,
      "minItems": 0
    }
  },
  "required": [
    "nodes",
    "ground",
    "resistors",
    "injections"
  ],
  "additionalProperties": false,
  "$id": "urn:h:w5:C0:input",
  "$defs": {
    "s0": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1
    }
  }
}

Open original schema

Published input example

{
  "nodes": [
    "gnd",
    "bus"
  ],
  "ground": "gnd",
  "resistors": [
    {
      "from": "bus",
      "to": "gnd",
      "ohm": 10
    }
  ],
  "injections": [
    {
      "node": "bus",
      "amp": 2
    }
  ]
}

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