curl --request POST \
--url https://api.eddy.engineer/v1/bim.air \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"design": {},
"key": "<string>",
"candidates": [
"<string>"
]
}
'import requests
url = "https://api.eddy.engineer/v1/bim.air"
payload = {
"design": {},
"key": "<string>",
"candidates": ["<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({design: {}, key: '<string>', candidates: ['<string>']})
};
fetch('https://api.eddy.engineer/v1/bim.air', 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.air",
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([
'design' => [
],
'key' => '<string>',
'candidates' => [
'<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/bim.air"
payload := strings.NewReader("{\n \"design\": {},\n \"key\": \"<string>\",\n \"candidates\": [\n \"<string>\"\n ]\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/bim.air")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"design\": {},\n \"key\": \"<string>\",\n \"candidates\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/bim.air")
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 \"design\": {},\n \"key\": \"<string>\",\n \"candidates\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"balance": {},
"defaults": [
{}
],
"discharge": {},
"fan": {},
"fan_if_proposed": {},
"findings": [
{}
],
"fittings": [
{}
],
"gaps": [
{}
],
"index_run": [
"<string>"
],
"key": "<string>",
"links": [
{}
],
"method": "<string>",
"pressure_basis": "<string>",
"proposals": [
{}
],
"role": "<string>",
"rooms": [
{}
],
"schema": "<string>",
"selection": {},
"status": "<string>",
"terminals": [
{}
]
}An air network sized on the network solver with the fan's duty and a check of the fan and air-handler records: a supply from its rooms' loads by equal friction or static regain (MEP22), or with `design.role` a return or an exhaust from its rooms' airflows (HV9)
Read off the system graph (/v1/bim.systems/{key}) by a BIM worker on the light lane. design.loads is a load report (ss.mep.loads/1: each room’s peak sensible cooling, W, entered by a person until the load report of MEP20 makes one) and gives each supply terminal its airflow, the load over ρ c_p ΔT, shared equally among a room’s terminals (named in the row, or found inside the room’s region on its level). The source’s group is sized by design.method: equal_friction (the default: each duct the smallest listed size within the friction rate and the velocity limit) or static_regain (a tree only: the ducts leaving the source by equal friction, each other duct the smallest size whose losses the fall in velocity pressure pays for); the method is named on the result. Fittings’ losses go on the link they act on: entered (MEP4) first, then our CFD’s (MEP23, computed), then Borda–Carnot for an expansion; a bend or junction with no fitting, a fitting with none, or a terminal with no load makes the result unevaluable, each named in gaps. Pressure basis: total. Every coefficient is a total-pressure one, the solver’s head is read as total pressure relative to the room, a link’s static pressure is its total less its own velocity pressure, and a terminal needs its velocity pressure plus its device’s drop. As drawn (basis): the sizes are proposals, so each link’s velocity, friction and pressures and fan, the duty (flow, total pressure, static pressure at the outlet), are the network as the model draws it (each run at its current section); each link’s proposed gives its proposed section with the same values, and fan_if_proposed the duty with every proposal adopted (absent where every run is drawn as proposed); selection checks each fan and air-handler record the caller may read (candidates, or its own and the seed’s), and each choice’s method says how: curve where the record holds a fan curve (fan_curve: pressure against flow at a stated speed and density), read against the system curve through the duty (dP = k Q^2, the network as drawn), with curve giving the operating point where the two cross, the margin against the design duty, where on the curve it sits (region: stable, stall, beyond_stable, or not_stated where the record gives no stable range) and the speed that meets the duty by the fan laws, the verdict meets, short_of_duty, stall or off_curve (nothing is extrapolated); else rating point only, no curve, the rated point against the duty. proposals are type and modify commands that set the sizes; nothing is changed. defaults names every value this route assumed (ours, not a standard’s). Refusals: AIR_BAD_INPUT, AIR_SOURCE, AIR_TOO_LARGE, AIR_STATIC_REGAIN_NEEDS_TREE, the export’s SYSTEMS_* and the solver’s codes (NO_SIZE_MEETS_LIMITS, MACH_LIMIT_EXCEEDED…), each 400. A terminal a load row names that is not a supply terminal of the source’s group is the gap TERMINAL_NOT_JOINED (its elements name them) and the design is unevaluable; the ducts joined are still sized, each joined terminal on its own share of its room’s airflow. Returns and exhausts (HV9). With design.role (return or exhaust) the network that ends at design.source (the air handler’s return connector, a return fan or an exhaust fan: its duct connector flowing in) is a design of its own, never a mirrored supply: design.airflows (ss.mep.airflows/1: each room’s airflow, L/s, shared equally among its grilles, whose duct connectors flow out) gives each grille its flow, every duct is sized by equal friction on the air it gathers, and the junctions converge: a tee’s entered coefficients are read as its converging ones on the common (leaving) duct’s velocity, each put on the leg it acts on, and a tee with none takes the momentum balance’s closed form (physics, not measured; each loss’s note says so) unless design.tee_losses is entered, which makes it the gap FITTING_LOSS_NOT_ENTERED. A closed form that comes out a gain (K < 0: a slow leg drawn along by a fast one) is applied as 0, its computed K kept beside it (k_computed) and the floor a finding (NEGATIVE_LOSS_COEFFICIENT): conservative, the fan is never credited with the junction’s ejector gain (the owner’s decision of 2026-11-27); design.tee_gains: refuse keeps it, and the design is unevaluable on the gap of that name. The pressure basis is total, relative to the room: the room’s air is at rest at zero, a grille’s node sits at the room’s total less the grille’s entered drop (terminal_pressure_pa; no velocity pressure is owed on the way in), every total on the inlet side is negative, and fan gives the flow, total_pressure_pa (its outlet’s total less its inlet’s), static_pressure_pa (the total less the velocity pressure at its outlet), external_static_pressure_pa (the static rise across it), the inlet’s total and static and the discharge’s total; index_run lists the index run’s links from the index grille to the fan. An exhaust’s discharge is the duct group its fan’s outlet joins, designed as drawn to its discharge terminals (discharge, each terminal discharging one velocity pressure and discharge_terminal_pressure_pa), or an entered discharge_pressure_pa where none is drawn. The answer is as drawn with the proposal beside it, exactly as a supply’s (fan_if_proposed, each link’s proposed). The air balance (a return’s design.balance): supply = return + exhaust + relief + pressurisation for the rooms one air handler serves, the return this design’s and the rest entered; balance gives the residual and closes, the finding AIR_BALANCE_NOT_CLOSED (in findings) says by how much it does not, and with supply_static_pressure_pa it gives the unit’s external static pressure, supply and return together, which a unit’s record is checked against. A return’s or an exhaust’s own gaps: TERMINAL_WITHOUT_AIRFLOW, NO_TERMINAL, TEE_NOT_CONVERGING, TEE_LEFT_THROUGH_BRANCH; static regain is refused (AIR_BAD_INPUT).
curl --request POST \
--url https://api.eddy.engineer/v1/bim.air \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"design": {},
"key": "<string>",
"candidates": [
"<string>"
]
}
'import requests
url = "https://api.eddy.engineer/v1/bim.air"
payload = {
"design": {},
"key": "<string>",
"candidates": ["<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({design: {}, key: '<string>', candidates: ['<string>']})
};
fetch('https://api.eddy.engineer/v1/bim.air', 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.air",
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([
'design' => [
],
'key' => '<string>',
'candidates' => [
'<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/bim.air"
payload := strings.NewReader("{\n \"design\": {},\n \"key\": \"<string>\",\n \"candidates\": [\n \"<string>\"\n ]\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/bim.air")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"design\": {},\n \"key\": \"<string>\",\n \"candidates\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/bim.air")
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 \"design\": {},\n \"key\": \"<string>\",\n \"candidates\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"balance": {},
"defaults": [
{}
],
"discharge": {},
"fan": {},
"fan_if_proposed": {},
"findings": [
{}
],
"fittings": [
{}
],
"gaps": [
{}
],
"index_run": [
"<string>"
],
"key": "<string>",
"links": [
{}
],
"method": "<string>",
"pressure_basis": "<string>",
"proposals": [
{}
],
"role": "<string>",
"rooms": [
{}
],
"schema": "<string>",
"selection": {},
"status": "<string>",
"terminals": [
{}
]
}Body
A supply: source (the air handler's or fan's component id), method? (equal_friction | static_regain), friction_rate_pa_per_m?, max_velocity_m_s?, supply_delta_t_k?, roughness_mm?, terminal_pressure_pa?, round_sizes_mm?, rect_widths_mm?, loads {schema: ss.mep.loads/1, source, rooms [{name, room?, sensible_cooling_w, terminals?}]}. A return or an exhaust (HV9): role (return | exhaust), source (the fan end's component id), airflows {schema: ss.mep.airflows/1, source, rooms [{name, room?, airflow_l_s, terminals?}]}, friction_rate_pa_per_m?, max_velocity_m_s?, roughness_mm?, terminal_pressure_pa?, round_sizes_mm?, rect_widths_mm?, tee_losses? (momentum_balance | entered), tee_gains? (floor, the default | refuse), discharge_pressure_pa?, discharge_terminal_pressure_pa?, balance? {supply_l_s, exhaust_l_s?, relief_l_s?, pressurisation_l_s?, tolerance_l_s?, supply_static_pressure_pa?}
Response
OK