Skip to main content
POST
The planning results on Eddy Maps: violations, prices, transfer limits, routes

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
contingency
string

One contingency of that result by id (an N-k pair's id is <first>+<second>): only its outages and violations are drawn

layers
any[]

Stored vector documents added to the scene as they are (at most 32): a key, or {key, id, name}; ids default to layer_1, layer_2, ...

name
string

The scene's name (default <network>: planning on the map)

network
object

The network document (ss.power.network/1) with its coordinates, inline. Give exactly one of network, network_key, project; drawn in its canonical form, whose hash the results must name

network_key
string

The key (b3:<hex>) of a stored network: the network.key a planning study answered (an OPF's dispatched_network_key for a study run at its dispatch)

opf_key
string

The result_key power_opf or power_opf_ac answered: its marginal prices and flows are drawn

project
string

The id of a project whose document is a network: its live head where it has one, else its last save

security_key
string

The result_key power_contingency or power_nk answered: its outages and violations are drawn

transfer_key
string

The result_key power_transfer answered: its sides and limiting branches are drawn

variant
string

A variant of project, by slug

Response

schema (ss.power.dynmap/1), scene (its key), scene_id, open (/spatial?scene=<key>), network {name, hash, unplaced}, results (each result drawn: schema and hash), layers [{id, kind, key, name, features, visible, time}], field (the footprint's field document: key, kind, unit, points, triangles, min, max, frame), caveat

The response is of type object.