Skip to main content
POST
Clause checks against a GPS: S5.2.5 clause by clause from the bench's traces and PW3's load flow (`ss.power.clauses/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

gps
object

The GPS (ss.power.gps/1), entered by a person from the agreed GPS. Give it or gps_key

gps_key
string

The key of a stored GPS

options
object

The check's own definitions, each optional: tolerance_pu (0.02), rise_fraction (0.9), settling_band (0.1), min_change_pu (1e-3), min_voltage_pu (0.05), injection_from_s (0.1); the agreed GPS's definitions govern where they differ

plant
object

The plant on DY13's bench, INVENTED or the engineer's: name, network (from the connection point down, with a grid source at it), dynamics, grid_source, poc_bus, device (the inverter), connection_branch (from the connection point into the plant), rated_w, poc_scr, poc_x_r, input_model (a wind plant's aerodynamic model, for Table 17), note. Give it or plant_key

plant_key
string

The key of a stored plant (what power_dynamics_validate answers under plant)

settings
object

The bench's own choices, each optional: step_s (0.001), event_at_s (1), event_run_s (10), step_at_s (5), step_run_s (15), mfrt_pre_s (5), mfrt_post_s (10), mfrt_seed, bolted_fault_zs (1e-3: a bolted fault through this fraction of |Zs|), keep_channels (false: each test's start, extremes and end only; true: its series at the connection point and terminal, Ipcmd, Iqcmd and the plant controller's frequency). An unknown member is refused

tests
string[]

DMAT v3.0 test ids to run (13 runs every subset of 13, 149a one subset); left out, every test. An id the bench does not have for the plant is refused by name; power_dynamics_bench_tests lists them

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: statement, gps {name, hash, ner_version, clause_set}, bench {hash, tests}, options, method, clauses [{clause, title, level, rms, verdict: met | met_in_part | not_met | not_shown | not_judged | not_entered | not_applicable | no_test, counts}], findings [{code, severity, clause, title, part, test, trace, entered, measured, message}]

The response is of type object.