Skip to main content
POST
Study set: DY16's printable set of a plant on the bench, from stored results or the documents (`ss.power.dynamics_studyset/1`, and a zip)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
async
boolean

true: make the set as a job and answer 202 with job_id, poll and events; the finished job's result is this route's body without the manifest (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; the studies it runs or runs again, summed), a job above

bench_key
string

The key of a stored power.dynamics.bench result (result_key); it is run again from its run record and its key checked; a bench run without keep_channels has no plot sets, and the set says so. Not with clauses_key, a GPS, tests, settings or options

clauses_key
string

The key of a stored power.dynamics.clauses result (result_key); it is run again from its run record and its key checked: the check and the bench it read, with every test's channels (the stored bench has none), so each test gets its plot set. Not with bench_key, tests, settings or options

comparisons
object[]

Up to 16 trace comparisons, each a sheet of the two traces and a sheet of its windows: key (a power.dynamics.traces.compare result, run again from its record), title (a few words; left out, <candidate> against <reference>), test (the bench test it belongs to: its sheet then carries that test's EMT caveat; the set's bench must have it)

frequency_key
string

The key of a stored power.dynamics.frequency result (result_key); it is run again from its run record and its key checked (DY10's summary sheet)

gps
object

The GPS (ss.power.gps/1): with the documents, the clause check runs here on tests; with clauses_key it must be the check's own GPS. Give it or gps_key

gps_key
string

The key of a stored GPS

options
object

Without a key, with a GPS: the clause check's definitions as power_dynamics_clauses takes them

plant
object

The plant on DY13's bench (as power_dynamics_bench takes it). Give it or plant_key, or leave both out with clauses_key / bench_key (the result's own plant); given with them, it must be that plant

plant_key
string

The key of a stored plant

settings
object

Without a key: the bench's own choices as power_dynamics_bench takes them, each optional; keep_channels is true here unless set false (a plot set needs the channels)

smallsignal
any

true, or DY9's settings (damping_threshold, ...): the plant's own small-signal study at its flat test's (DMAT 0.1) operating point, made here; where it cannot be made, the eigenvalue sheet says why. Not with smallsignal_key

smallsignal_key
string

The key of a stored power.dynamics.smallsignal result (result_key); it is run again from its run record and its key checked

tests
string[]

Without a key: the DMAT v3.0 test ids the bench runs here (13 every subset of 13, 149a one subset); left out, every test (with a GPS, every test it reads: a whole check is minutes and a set of hundreds of sheets). An id the bench does not have for the plant is refused by name

titles
object

The title block: project, client, drawn_by, checked_by, date (printed as given; never today's by default), revision, paper (A4 to A0, A3 where left out)

transient_key
string

The key of a stored power.dynamics.transient result (result_key); it is run again from its run record and its key checked (DY8's summary sheet)

voltage_stability_key
string

The key of a stored power.dynamics.voltage_stability result (result_key); it is run again from its run record and its key checked (DY11's summary sheet)

Response

study, schema (ss.power.dynamics_studyset/1), result_key (BLAKE3 of the manifest'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 (the plant, GPS and every result laid out, by key), tests, titles, zip {key, uri, name, bytes, media_type} (every file, then manifest.json, stored with fixed dates), summary {plant, invented, sheets, emt_sheets, files, notes, screening}, work, result_inline, and result: the manifest: plant, invented, titles, screening, emt_caveat, documents [{role, schema, name, hash}], sheets [{number, kind, title, file, pdf, emt}], draft, guide, files [{name, title, kind, media_type, hash, bytes_len, sheet}], notes (what is not in the set), sheets_pdf

The response is of type object.