curl --request POST \
--url https://api.eddy.engineer/v1/bim.hydronic \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"design": {},
"key": "<string>",
"candidates": [
"<string>"
],
"detail": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/bim.hydronic"
payload = {
"design": {},
"key": "<string>",
"candidates": ["<string>"],
"detail": "<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>'], detail: '<string>'})
};
fetch('https://api.eddy.engineer/v1/bim.hydronic', 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.hydronic",
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>'
],
'detail' => '<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.hydronic"
payload := strings.NewReader("{\n \"design\": {},\n \"key\": \"<string>\",\n \"candidates\": [\n \"<string>\"\n ],\n \"detail\": \"<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/bim.hydronic")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"design\": {},\n \"key\": \"<string>\",\n \"candidates\": [\n \"<string>\"\n ],\n \"detail\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/bim.hydronic")
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 \"detail\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"arrangement": {},
"basis": {},
"commands_for_parameters": [
{}
],
"design_point": {},
"findings": [
{}
],
"gaps": [
{}
],
"key": "<string>",
"loop": "<string>",
"parameters": [
{}
],
"pipes": [
{}
],
"pump": {},
"schema": "<string>",
"selection": {},
"sizing": {},
"terminals": [
{}
],
"verdict": "<string>"
}A chilled, condenser or heating water loop designed on the network solver: flows from its terminals' loads, the index circuit and the pump's duty, each balancing valve's drop and authority, the closed loop checked, sizes proposed, and plant and pump records checked against the duty (MEP24)
Read off the system graph (/v1/bim.systems/{key}) by a BIM worker on the light lane. A loop is a plant component (design.plant) whose chilled, heating or condenser water connector flowing out feeds the supply pipes and whose connector flowing in takes the return back (or supply_connector / return_connector by their place in its family’s list); the terminals are the components with one connector on each side. Each terminal’s flow is its load over ρ c_p ΔT at the loop’s mean temperature (water, or an ethylene or propylene glycol mixture, from the ported EnergyPlus tables), the load read from the request’s own row for it, a load report’s row naming it (MEP20’s ss.mep.loads/1), its Cooling coil load, Heating coil load or Condenser heat; or its flow from its row or MEP2’s Design flow. Every terminal says where its flow came from. Design, then a closed-loop check. The design solve gives each circuit’s loss (supply pipes, the terminal’s Coil pressure drop, its Control valve drop, return pipes, the plant’s entered drop); the largest is the index circuit and the pump’s head; every other balancing valve drops the difference. The closed loop (the pump as that head, or available_head_kpa, between the expansion tank at the entered fill pressure and the plant’s outlet) is solved again and must give every terminal its design flow back. Read verdict and design_point first: not_valid (a node under gauge zero: the fill pressure cannot hold the loop), short (a terminal under its flow, named), unevaluable (each gap named in gaps), meets. arrangement says direct or reverse return by the circuits’ lengths, the rule stated. sizing (with propose_sizes, a velocity or friction limit and sizes) gives type and modify commands and the loop designed again on them; nothing is changed. selection checks the chillers, boilers, hot-water heaters (water_heater duty) and pumps the caller may read (candidates, or its own and the seed’s): capacities at their rating point (a chiller’s on its capacity curve where entering_condenser_c is given and inside its fitted range), pumps on their curve by solving the loop again with each. detail: full adds the closed loop as network, for a referee. Refusals: HYDRONIC_REQUEST, HYDRONIC_PLANT, HYDRONIC_SIZES, HYDRONIC_TOO_LARGE, the export’s SYSTEMS_*, each 400; EQUIPMENT_TOO_MANY_RECORDS 422.
curl --request POST \
--url https://api.eddy.engineer/v1/bim.hydronic \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"design": {},
"key": "<string>",
"candidates": [
"<string>"
],
"detail": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/bim.hydronic"
payload = {
"design": {},
"key": "<string>",
"candidates": ["<string>"],
"detail": "<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>'], detail: '<string>'})
};
fetch('https://api.eddy.engineer/v1/bim.hydronic', 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.hydronic",
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>'
],
'detail' => '<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.hydronic"
payload := strings.NewReader("{\n \"design\": {},\n \"key\": \"<string>\",\n \"candidates\": [\n \"<string>\"\n ],\n \"detail\": \"<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/bim.hydronic")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"design\": {},\n \"key\": \"<string>\",\n \"candidates\": [\n \"<string>\"\n ],\n \"detail\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/bim.hydronic")
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 \"detail\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"arrangement": {},
"basis": {},
"commands_for_parameters": [
{}
],
"design_point": {},
"findings": [
{}
],
"gaps": [
{}
],
"key": "<string>",
"loop": "<string>",
"parameters": [
{}
],
"pipes": [
{}
],
"pump": {},
"schema": "<string>",
"selection": {},
"sizing": {},
"terminals": [
{}
],
"verdict": "<string>"
}Body
loop (chilled | condenser | heating), plant, supply_connector?, return_connector?, supply_temperature_c, delta_t_k, fill_pressure_kpa, plant_pressure_drop_kpa, roughness_mm, glycol? {kind: ethylene | propylene, concentration}, control_valve_kpa?, min_authority?, available_head_kpa?, terminals? [{element, load_w? | flow_lps?, pressure_drop_kpa?, control_valve_kpa?}], loads? {schema: ss.mep.loads/1, source, rooms [{name, sensible_cooling_w?, heating_w?, terminals}]}, sizes? [{type_name, outside, bore}], max_velocity?, max_friction_pa_per_m?, propose_sizes?, entering_condenser_c?, water_heater? {flow_lps, inlet_c, outlet_c}, pump_element?