Skip to main content
POST
The GPS test bench: a plant on an infinite bus through DMAT v3.0's set-ups, one test or all (`ss.power.bench/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

max_points
integer

The points each series is returned with in the answer (2,000): every n-th point, the last, and both sides of every event; the stored result keeps every point

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, test_list (cited), plant, settings, method, counts {run, failed, refused, not_run}, tests [{test, table, label, status, reason, set_up, network_hash, dynamics_hash, case_hash, run_hash, end_s, summary, time_s and channels with keep_channels, findings}], findings

The response is of type object.