curl --request GET \
--url https://api.eddy.engineer/v1/bim.circuits.sizing/{key} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.eddy.engineer/v1/bim.circuits.sizing/{key}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.eddy.engineer/v1/bim.circuits.sizing/{key}', 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/bim.circuits.sizing/{key}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/bim.circuits.sizing/{key}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.eddy.engineer/v1/bim.circuits.sizing/{key}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/bim.circuits.sizing/{key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"boards": [
{}
],
"circuits": [
{}
],
"complete": true,
"counts": {},
"finding_count": 123,
"issue_count": 123,
"issues": [
{}
],
"issues_by_class": {},
"jurisdiction": {},
"key": "<string>",
"method": "<string>",
"schema": "<string>",
"table_gaps": [
{}
],
"values": [
{}
]
}The electrical tree sized: maximum demand, cable selection, voltage drop, fault loop and basic protection coordination (MEP13)
Maximum demand is the connected load with entered diversity (a load’s and a board’s Diversity), labelled so; a standard’s demand method only through a value table (a board’s Demand method: table, factors demand_factor/<classification>). Ratings, trip multiples and the voltage drop limit come only from entered values or the value tables named in values (adopted, in force for state on on, the caller’s own; MEP8), read by the keys cable_rating/<installation>/<material>/<section> (A), trip_multiple/<protection type> (1), voltage_drop_limit (%), and cited on every value taken; a table that can’t be read is named in table_gaps. Physics is open: resistance from IACS resistivity at the entered Conductor temperature (90 C assumed and said where none), reactance neglected; voltage drop 2 Ib R cos(phi) / U0 on one phase, on three the worst phase’s current plus the neutral’s (the phasor sum of the line currents) times R cos(phi) / U0, against the strictest limit on the path from the origin; Zs = Ze + sum(R1 + R2), checked against U0 / Ia; the largest prospective fault current at a board (U0 over the source’s impedance, from the origin’s entered Source fault current, and the line conductors’ at 20 C) against the device’s Breaking capacity; Ib <= In <= Iz x derating; a device rated below the one feeding its board. selection is the smallest rated section meeting every check it can be held to, with modify commands that enter it. Each check is pass, fail or unevaluable naming its gaps; a circuit the tree did not complete is unevaluable (TREE_INCOMPLETE), never a pass. A design aid for a person to review.
curl --request GET \
--url https://api.eddy.engineer/v1/bim.circuits.sizing/{key} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.eddy.engineer/v1/bim.circuits.sizing/{key}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.eddy.engineer/v1/bim.circuits.sizing/{key}', 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/bim.circuits.sizing/{key}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/bim.circuits.sizing/{key}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.eddy.engineer/v1/bim.circuits.sizing/{key}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/bim.circuits.sizing/{key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"boards": [
{}
],
"circuits": [
{}
],
"complete": true,
"counts": {},
"finding_count": 123,
"issue_count": 123,
"issues": [
{}
],
"issues_by_class": {},
"jurisdiction": {},
"key": "<string>",
"method": "<string>",
"schema": "<string>",
"table_gaps": [
{}
],
"values": [
{}
]
}Query Parameters
Response
OK
R1 of the rules plan: the answer's findings as ss.issue/1 (at most 500, in the answer's own order), beside its own fields, which are unchanged: {id (stable), domain, code (the domain's own), kind, outcome, cause {class: model | method | brief | undetermined, also?, why, by? (the evidence a split reads), read? (whether it was read), census}, subjects, at?, measure?, threshold?, unit?, margin?, message, ladder? (R3: {ladder, tried [{rung, params {key: {value, source: ours | brief}}, result: cleared | improved | no_change | refused, why}], next?, stopped: cleared | question | exhausted | budget}), question? (the id of the typed question it raised)}.