Skip to main content
POST
Static voltage stability: PV curves by continuation load flow through the nose, QV curves, margins (`ss.power.voltage_stability/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 the estimated work of 2e6 point-elements (SS_POWER_DYNAMICS_SYNC_WORK; about two dozen bench tests), a job above: the whole bench, a whole clause check and a long CCT search are jobs

case
string

A PW2 load flow study case by id; left out, the document as it stands

network
object

The network document (ss.power.network/1, PW2), inline. Give exactly one of network, network_key, project. Every document is run in its canonical form

network_key
string

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

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

The request: loadflow (PW3's settings), pv {direction {buses | areas | island, power factor, generation shares}, continuation {step, step_min, step_max, dv_max_pu, max_points, lower_branch, stop_fraction, v_floor_pu, nose_tolerance}, monitor, required_margin_w, required_margin_percent}, qv [{bus, v_high_pu, v_low_pu, step_pu, required_margin_var}]

variant
string

A variant of project, by slug

Response

study, schema, result_key (BLAKE3 of the result's canonical bytes, the crate's own hash; blob_uri reads it, report_uri is its certificate, which verify_result runs again), request_key, documents (each document the study read, by content key), network {key, name, counts}, tables, upstream, summary, work (the estimate the lane and the job threshold read), result_inline, series (how the series were cut), and result: base, pv {points [{lambda_w, voltages}], nose {lambda_w, margin_percent, limit_induced, bus}, switches, reserves}, qv [{bus, points, minimum, switches}], findings

The response is of type object.