Skip to main content
POST
Wind farm energy: shear, air density, power curves and the gross yield, with wake losses when asked (GP10, GP11)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
farm
object
required

GP10's farm: id, name, crs, turbine_types, turbines

resource_key
string
required

The wind resource: a stored weather document of kind series or tmy (the same at every turbine), sector_weibull (gp_weather_derive op sector_weibull) or wrg (gp_weather_snapshot with wind.wrg)

async
boolean

true: run as a job and answer 202 with job_id, poll and events; the finished job's result is this route's body without the inline result (read result_key's blob). false: always inline (a heavy study takes a slot of the lane, or is refused GP_BUSY 429 when the lane is full). Left out: inline up to the study's job threshold (the answer's work), a job above

id
string

The result's id (the farm's where left out)

losses
object[]

Stated losses: [{id, category, fraction, source}]

options
object

GP10's options (shear, density, air_density_kgm3, correction, integration, speed_bin_width_ms, sectors, hours_per_year, ...)

wakes
object

GP11's wake options; left out, no wakes

Response

calc, schema, result_key (BLAKE3 of the crate's canonical bytes; blob_uri reads it, report_uri is its certificate, which verify_result runs again), request_key, documents (every document read, by role and key), tables (each table read by id, item, revision and content key; never its entries), tables_on, parts (documents made with the result, each by key), layers (rasters and vectors stored in the spatial engine, read by /v1/spatial.raster/{key} and /v1/spatial.vector/{key}), networks (power networks stored for /v1/power.*), summary, lane (light | heavy | job), work (estimate, unit, light_up_to, job_above), result_bytes, result_inline and result

The response is of type object.