Skip to main content
POST
Import a MATPOWER case, a pandapower JSON network or OpenDSS scripts as a power network document

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
format
enum<string>
required
Available options:
matpower,
matpower_planning,
pandapower,
opendss
blob
string

TL3c: a blob id (b3:<64 hex>: an upload's blob_id, an attachment's blob) holding the file, instead of text: read as the caller under the read gate (a blob the caller may not read answers 404 BLOB_NOT_FOUND, as an absent one) and imported exactly as if its contents were sent inline. Give one of the two (both: 400 FILE_GIVEN_TWICE).

entry
string

OpenDSS with files: the script to start from

files
object

OpenDSS: several scripts, path to contents

include_document
boolean

false: leave the document out of the answer (read it by key)

name
string

The file's name, kept as the network's origin

text
string

The file's contents (one file)

Response

key, format, origin, counts, cases, validation, import_findings, import_findings_count, profiles (the profile documents an OpenDSS import makes from its load shapes, each stored under its key, which the network's profiles bindings name: key, name, kind, unit, time, step, count, range), document

The response is of type object.