Skip to main content
POST
Import traces (`ss.power.traces/1`): a PSS/E or PSCAD export or a test record as CSV, or an engine run

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
base_mva
number

The power base for MW and Mvar columns

columns
object[]

The channel mapping for preset

delimiter
string

comma | semicolon | tab | whitespace, for preset

description
string

A description

events
object[]

Events on the file's time base [{t_s, kind (fault_on, fault_off, reference_step, ...), element}]

header
object

The header rule for preset

import
object

The whole mapping (DY15's CsvImport): name, source (psse | pscad | test_record | other), delimiter, header ({line: n} | {first_field_starts_with: text} | "none"), time {column, unit}, columns [{column (1-based index or header text), element, quantity (p_pu, q_pu, v_pu, i_pu, f_hz, freq_dev_pu, angle_deg, ...), unit (MW, Mvar, kV, pu, Hz, ...), base_kv}], events, time_shift_s, base_mva, nominal_hz, invented

include_document
boolean

Answer the traces document under document (false)

invented
boolean

INVENTED traces say so

name
string

The traces' name

nominal_hz
number

The nominal frequency for a frequency deviation in Hz

preset
string

psse | pscad | test_record: the format's delimiter, header and time column, with columns and the members below

run
string

The result_key of a power_dynamics_simulate run

text
string

The CSV file's contents

time
object

The time column for preset {column, unit}

time_shift_s
number

Subtracted from the file's time, s

tool
string

The tool and version (PSS/E 35.6)

traces
object

A traces document (ss.power.traces/1), inline

Response

schema, key, blob_uri, name, ok, the findings (errors, warnings, findings), channels [{element, quantity, unit, name}], rows, span_s, events, source, from (csv | document | run), and document when asked

The response is of type object.