curl --request POST \
--url https://api.eddy.engineer/v1/power.arcflash \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"async": true,
"case": "<string>",
"libraries": [
{}
],
"library_keys": [
"<string>"
],
"network": {},
"network_key": "<string>",
"on": "<string>",
"project": "<string>",
"settings": {},
"state": "<string>",
"tables": [
"<string>"
],
"variant": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/power.arcflash"
payload = {
"async": True,
"case": "<string>",
"libraries": [{}],
"library_keys": ["<string>"],
"network": {},
"network_key": "<string>",
"on": "<string>",
"project": "<string>",
"settings": {},
"state": "<string>",
"tables": ["<string>"],
"variant": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
async: true,
case: '<string>',
libraries: [{}],
library_keys: ['<string>'],
network: {},
network_key: '<string>',
on: '<string>',
project: '<string>',
settings: {},
state: '<string>',
tables: ['<string>'],
variant: '<string>'
})
};
fetch('https://api.eddy.engineer/v1/power.arcflash', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eddy.engineer/v1/power.arcflash",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'async' => true,
'case' => '<string>',
'libraries' => [
[
]
],
'library_keys' => [
'<string>'
],
'network' => [
],
'network_key' => '<string>',
'on' => '<string>',
'project' => '<string>',
'settings' => [
],
'state' => '<string>',
'tables' => [
'<string>'
],
'variant' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/power.arcflash"
payload := strings.NewReader("{\n \"async\": true,\n \"case\": \"<string>\",\n \"libraries\": [\n {}\n ],\n \"library_keys\": [\n \"<string>\"\n ],\n \"network\": {},\n \"network_key\": \"<string>\",\n \"on\": \"<string>\",\n \"project\": \"<string>\",\n \"settings\": {},\n \"state\": \"<string>\",\n \"tables\": [\n \"<string>\"\n ],\n \"variant\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eddy.engineer/v1/power.arcflash")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"async\": true,\n \"case\": \"<string>\",\n \"libraries\": [\n {}\n ],\n \"library_keys\": [\n \"<string>\"\n ],\n \"network\": {},\n \"network_key\": \"<string>\",\n \"on\": \"<string>\",\n \"project\": \"<string>\",\n \"settings\": {},\n \"state\": \"<string>\",\n \"tables\": [\n \"<string>\"\n ],\n \"variant\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/power.arcflash")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"async\": true,\n \"case\": \"<string>\",\n \"libraries\": [\n {}\n ],\n \"library_keys\": [\n \"<string>\"\n ],\n \"network\": {},\n \"network_key\": \"<string>\",\n \"on\": \"<string>\",\n \"project\": \"<string>\",\n \"settings\": {},\n \"state\": \"<string>\",\n \"tables\": [\n \"<string>\"\n ],\n \"variant\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{}{
"events": "/v1/jobs/job-000001-…/events",
"job_id": "<string>",
"phase": "queued",
"poll": "/v1/jobs/job-000001-…"
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}Arc flash: incident energy and arc flash boundary per bus by the IEEE 1584-2018 model (`ss.power.arcflash/1`)
For each bus with arc flash data (the document’s arc_flash extension: electrode configuration, gap, working distance, enclosure, and the protecting device or an entered clearing time): the bolted fault current from the fault study (maximum and minimum; in case, a short-circuit study case, or the document as it stands), the full and the reduced arcing current, each with its own clearing time from the device’s curve, the governing incident energy and the boundary. The model’s 425 numbers are built in: those of IEEE SA’s Arc Flash IE and Iarc Calculators v2.6.6 (BSD-3; IEEE SA’s notice says the calculator is not a part of IEEE 1584-2018), cited on the result, each replaced where a handed value table has an ieee1584/<slot> entry; calculator_numbers: false uses the tables alone, and a slot none fills then leaves the study unevaluable, naming the slots. PPE categories come only from a value table (arc_flash_ppe/<category>/max_incident_energy, in cal/cm2, J/cm2 or J/m2): none ships. Outside the model’s range a bus is out_of_range: never extrapolated. The fault study and device resolution it stands on are upstream.short_circuit and upstream.protection. Refused by name: POWER_REQUEST (400: the body, a member the study does not take, not exactly one network source), POWER_SETTINGS (400: a setting that does not read, with the field), POWER_DOCUMENT_INVALID (400), POWER_NETWORK_NOT_FOUND (404), POWER_PROJECT_KIND (422), POWER_BUSY (429: the heavy lane is full; retry after Retry-After, or send async: true), POWER_VALUE_TABLE (422: a table that is named and is missing, not adopted, not in force or unreadable, each with MEP8’s code), POWER_LIBRARY_NOT_FOUND (404), POWER_PROTECTION_INVALID (422: a library that does not read, two libraries with one id), POWER_ARCFLASH_INVALID (422: an extension that does not read, a table entry that is not a slot of the model), POWER_SHORTCIRCUIT_INVALID (422). The result is a design aid: a person reviews it before it is relied on.
curl --request POST \
--url https://api.eddy.engineer/v1/power.arcflash \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"async": true,
"case": "<string>",
"libraries": [
{}
],
"library_keys": [
"<string>"
],
"network": {},
"network_key": "<string>",
"on": "<string>",
"project": "<string>",
"settings": {},
"state": "<string>",
"tables": [
"<string>"
],
"variant": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/power.arcflash"
payload = {
"async": True,
"case": "<string>",
"libraries": [{}],
"library_keys": ["<string>"],
"network": {},
"network_key": "<string>",
"on": "<string>",
"project": "<string>",
"settings": {},
"state": "<string>",
"tables": ["<string>"],
"variant": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
async: true,
case: '<string>',
libraries: [{}],
library_keys: ['<string>'],
network: {},
network_key: '<string>',
on: '<string>',
project: '<string>',
settings: {},
state: '<string>',
tables: ['<string>'],
variant: '<string>'
})
};
fetch('https://api.eddy.engineer/v1/power.arcflash', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eddy.engineer/v1/power.arcflash",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'async' => true,
'case' => '<string>',
'libraries' => [
[
]
],
'library_keys' => [
'<string>'
],
'network' => [
],
'network_key' => '<string>',
'on' => '<string>',
'project' => '<string>',
'settings' => [
],
'state' => '<string>',
'tables' => [
'<string>'
],
'variant' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/power.arcflash"
payload := strings.NewReader("{\n \"async\": true,\n \"case\": \"<string>\",\n \"libraries\": [\n {}\n ],\n \"library_keys\": [\n \"<string>\"\n ],\n \"network\": {},\n \"network_key\": \"<string>\",\n \"on\": \"<string>\",\n \"project\": \"<string>\",\n \"settings\": {},\n \"state\": \"<string>\",\n \"tables\": [\n \"<string>\"\n ],\n \"variant\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eddy.engineer/v1/power.arcflash")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"async\": true,\n \"case\": \"<string>\",\n \"libraries\": [\n {}\n ],\n \"library_keys\": [\n \"<string>\"\n ],\n \"network\": {},\n \"network_key\": \"<string>\",\n \"on\": \"<string>\",\n \"project\": \"<string>\",\n \"settings\": {},\n \"state\": \"<string>\",\n \"tables\": [\n \"<string>\"\n ],\n \"variant\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/power.arcflash")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"async\": true,\n \"case\": \"<string>\",\n \"libraries\": [\n {}\n ],\n \"library_keys\": [\n \"<string>\"\n ],\n \"network\": {},\n \"network_key\": \"<string>\",\n \"on\": \"<string>\",\n \"project\": \"<string>\",\n \"settings\": {},\n \"state\": \"<string>\",\n \"tables\": [\n \"<string>\"\n ],\n \"variant\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{}{
"events": "/v1/jobs/job-000001-…/events",
"job_id": "<string>",
"phase": "queued",
"poll": "/v1/jobs/job-000001-…"
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}Body
buses (the buses to study; every bus with arc flash data when empty), fault_cases (max, min; both by default, since the smaller current can be the worse one), max_duration_s (the longest arc a person will consider; none by default: a device that does not operate then leaves the bus unevaluable), calculator_numbers (true: the built-in numbers fill the slots no table fills)
Response
study, schema, result_key (BLAKE3 of the result's canonical bytes; blob_uri reads it, report_uri is its certificate, which verify_result runs again), request_key, network {key, name, counts}, case, tables (each table read, by id, item, revision and content key), libraries, upstream (keys of the results it stands on), parts, validation (the document's own findings: errors, warnings, findings), summary, result_inline, and result: buses (each with its status, scenarios, governing energy in J/m2 and cal/cm2, boundary, PPE category where a table gives one), provenance, findings
The response is of type object.