Skip to main content
POST
One cold or hot water system of a document: flows, pressure at every fixture, the worst fixture, proposed sizes as commands, pumps checked against the duty (MEP10)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
domain
enum<string>
required
Available options:
cold,
hot
key
string
required

A document key, b3:<hex>: the blob store's id for the canonical bytes

min_pressure_kpa
number
required

The gauge pressure every fixture needs, kPa, entered; a fixture's own Minimum pressure overrides it

roughness_mm
number
required

The bores' absolute roughness, mm, entered

source
integer
required

The component whose connector of domain feeds the system (flow: out or both)

supply_pressure_kpa
number
required

Gauge pressure available at the source's connector, kPa, entered

demand_table
string

The id of an adopted value table (/v1/mep.values.*) giving loading units and probable flows

detail
enum<string>
Available options:
full
max_velocity
number

m/s: sizing's limit

on
string

YYYY-MM-DD; today when absent

propose_sizes
boolean
pump_element
integer

A placed pump whose Equipment the best meeting pump's command sets

pumps
string[]

Equipment record keys to check (at most 16); the seed's pumps with a curve when absent

sizes
object[]

[{type_name, outside, bore}] mm: the bores of the project's pipe types and the sizes sizing may choose from, as the person gives them (no table is built in); at most 64

state
string

The state a keyed value table must be in force for

temperature_c
number

°C, 1 to 99; 20 (cold) or 60 (hot) when absent, said in basis

Response

OK

basis
object
commands_for_parameters
object[]
design_point
object
domain
string
fixtures
object[]
flags
object[]
gaps
object[]
group
integer
issue_count
integer

Every issue, listed or not.

issues
object[]

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)}.

issues_by_class
object

Every issue counted by its cause class: whose problem each is (the model's, ours, the brief's).

key
string

A document key, b3:<hex>: the blob store's id for the canonical bytes

network
object
parameters
object[]
pipes
object[]
pump
object
schema
string
sizing
object
sizing_refused
object
source
integer
verdict
enum<string>
Available options:
meets,
short,
not_valid,
unevaluable
worst
object