Skip to main content
POST
Store and check dynamic documents: dynamics, study case, transient study, GPS, bench plant

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
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)

dyncase
object

The dynamic study case (ss.power.dyncase/1, DY2): duration_s, step_s (the plan's default: 1 ms with inverter models, 2.5 ms synchronous only), variable_step {rtol, atol, max_step_s}, case (the PW2 study case whose load flow starts the run), events [{id, t_s, action: {kind: bus_fault (bus, r_ohm, x_ohm) | clear_fault | branch_trip | branch_close | device_trip | load_change | reference_step | reference_ramp | source_voltage_step | source_voltage_ramp | source_frequency_step | source_frequency_ramp | source_angle_step | source_strength}}], monitors [{element, quantity: voltage | angle | frequency | active_power | reactive_power | current | rotor_angle | speed | field_voltage | mechanical_power | active_current_command | reactive_current_command | plant_frequency | field_current | ...}]. Give it or dyncase_key

dyncase_key
string

The key of a stored dynamic study case

gps
object

The generator performance standard as negotiated (ss.power.gps/1, DY14): name, ner_version, entered_by, agreed_gps, clauses [{clause (S5.2.5.1 ...), level (automatic | negotiated | minimum | not_applicable), values (the engineer's entered numbers by DY14's keys), curves}]. Entered by a person from the agreed GPS, never filled from the NER

gps_key
string

The key of a stored GPS

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)

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)

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

A transient study (ss.power.transient_study/1, DY8): duration_s, step_s, case, contingencies [{id, t_s, fault {bus, r_ohm, x_ohm}, clearing_s, trips, device_trips}], criteria {angle {max_separation_deg}, voltage {min_pu, max_pu, after_clearing_s, buses}, frequency {min_hz, max_hz, after_clearing_s}}, cct {from_s, to_s, resolution_s, contingencies}

study_key
string

The key of a stored transient study

variant
string

A variant of project, by slug

Response

Per document given (network, dynamics, dyncase, study, gps, plant): schema, key, blob_uri, name, ok, errors, warnings, info, findings (the first 200, typed, naming the element and field), and what the document holds (models by name; events and monitors; contingencies; the clause set the NER version selects; the plant's device, connection point, SCR and X/R)

The response is of type object.