Skip to main content
POST
Transient stability study: contingencies, criteria and critical clearing times (`ss.power.transient/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

dynamics
object

The dynamics document (ss.power.dynamics/1, DY2): name, models [{id, device, model (a registry name: GENCLS, GENROU, GENSAL, SEXS, IEEEX1, ESST1A, ESAC1A, TGOV1, IEEEG1, HYGOV, GAST, IEEEST, PSS2A, REGCA1, REECA1, REECB1, REECCU1, REPCA1, WTDTA1, WTARA1, WTPTA1, WTTQA1, REGFM_A1, MNLEX2, IEEEVC, PSAT loads and motors ...), params (the registry's names and units), mbase_va, refs}]. Give it or dynamics_key

dynamics_key
string

The key of a stored dynamics document (what power_dynamics_validate or power_dynamics_import answers)

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

study
object

The transient study (ss.power.transient_study/1): duration_s, step_s, case, contingencies, criteria, cct {from_s, to_s, resolution_s, contingencies}. Give it or study_key

study_key
string

The key of a stored transient study

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: method (the stability test, the reference rule, the search), machines, contingencies [{id, clearing_s, run, verdict, criteria, angle, voltage, frequency, cct {outcome, stable_s, unstable_s, runs}, findings}], findings

The response is of type object.