Skip to main content
POST
System strength screening: fault level, SCR, weighted SCR, available fault level (`ss.power.strength/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 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)

on
string

The date the tables must be in force on, YYYY-MM-DD (today when left out; written into the record only where a table was read)

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 study: buses, connection_points [{id, bus, kind, rated_w, plant, withstand_scr, status}], groups [{id, members}], outages [{id, elements}]

state
string

The state the tables must be in force for (NSW, VIC, ...)

tables
string[]

Ids of adopted value tables (ss.mep.values/1, MEP8's routes) the study reads; one that is missing, not adopted or not in force refuses the study (POWER_VALUE_TABLE)

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: network, case, study, caveat, provenance (sources, constants, value tables, fault runs, notes), scenarios [{id, buses, points, groups, nodes}], lowest, findings

The response is of type object.