Skip to main content
POST
Unbalanced (three-phase) load flow in the phase domain (`ss.power.unbalanced_loadflow/1`)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
async
boolean

true: run as a job and answer 202 with job_id, poll and events; the finished job's result is this route's body without the inline result (read result_key's blob). false: always inline. Left out: inline up to 2,000 buses, a job above

case
string

The study case to run, by id: its switch and source states, load levels, method and value tables are laid over the document. Left out: the document as it stands

map
object

Draw the result on its located network (UD16) and store the layers and the scene in the spatial engine: frame or epsg (the frame the bus positions are in: a frame object such as {"frame": "geodetic"} for longitude and latitude, or an EPSG code such as 7855 for GDA2020 / MGA zone 55; left out, the GIS build's record ud.gis), snapshots (further snapshot keys every layer names), breaks_kw (hosting), band ({v_min_pu, v_max_pu}: a snapshot's voltage classes), window (a time-series run: also every window steps as a time-indexed layer, from full_series.voltages or monitored buses), name. The answer's map holds scene, open (/spatial?scene=<key>) and each layer's key

network
object

The network document (ss.power.network/1), inline: name, frequency_hz, base_va, buses, sources, branches, shunts, loads, motors, devices, cases, extensions. SI units. Give exactly one of network, network_key, project

network_key
string

The key (b3:<hex>) of a stored network: what power_network, power_import and power_edit answer as key

project
string

The id of a project whose document is a network (app: "power"): its live head where it has one, else its last save

settings
object

tolerance_pu (1e-8), max_iterations (100), tap_control (hold, the default | run), max_control_iterations (20), max_tap_change (16), source (ideal | behind_impedance), earth_model (carson | full_carson | deri), earth_resistivity_ohm_m (100), transformer_no_load (pi | to_winding), antifloat_ppm (1), load_voltage_window ([low, high] per unit, outside which a load stops following its model), switch_impedance_ohm ([R, X] Ω a conductor of every closed switch that states no resistance, in place of an ideal tie: OpenDSS gives a switch=yes line 0.001 + j0.001 Ω; none by default)

variant
string

A variant of project, by slug

Response

study, schema, result_key (BLAKE3 of the result's canonical bytes; blob_uri reads it, report_uri is its certificate, which verify_result runs again), request_key, network {key, name, counts}, case, tables (each table read, by id, item, revision and content key), libraries, upstream (keys of the results it stands on), parts, validation (the document's own findings: errors, warnings, findings), summary, result_inline, and result: per-phase bus voltages, branch currents and flows, source outputs, tap positions, findings

The response is of type object.