Estimate far-field horizon shading losses API
Estimate beam and isotropic sky-diffuse losses caused by a caller far-field horizon profile against sun positions and beam POA.
The Estimate far-field horizon shading losses operation is part of the Solar PV Design String Sizing Yield API on BRAINIAC.software. Estimate beam and isotropic sky-diffuse losses caused by a caller far-field horizon profile against sun positions and beam POA. It is exposed as POST /api/v1/solar-design/horizon-shading-loss and priced at $0.03 USDC on Base. Payment uses the x402 exact scheme: an unpaid call returns HTTP 402 with payment requirements; after paying the exact USDC amount, retry the same request with a payment-signature header and Idempotency-Key. No account and no API key are required. Data sources for this product: Caller-supplied module, inverter, irradiance, tariff and geometry inputs processed locally pvlib python SPA / irradiance algorithms (BSD-3-Clause); NREL SPA; Perez 1990 coefficients vendored in src/data/solar-design/ PVWatts Version 5 Manual (Dobos 2014, NREL/TP-6A20-62641) NEC 690.8 factors cited as formulas only (NFPA text not vendored) Limitations: Pure computation on caller input: no weather, imagery, utility-rate or manufacturer cloud API is called at request time. Outputs are design-stage calculations for human review. They are not engineering stamps, code compliance determinations, or interconnection approvals. Temperatures and irradiance are always caller-supplied. Solar geometry uses the bundled NREL SPA coefficient tables. Existing solar-battery.* endpoints analyse operating assets; electrical-engineering.* covers voltage drop and cable sizing and are not repeated here. Outputs are compliance prechecks, drafts, or data lookups for human review. They are not official determinations, legal advice, identity confirmation, or certified filings. Related operations in this group include Size PV module strings for an inverter MPPT, Check DC/AC ratio and inverter clipping, Transpose GHI/DNI/DHI to plane-of-array irradiance, Estimate AC energy with PVWatts v5. Open the group documentation for the full request schema, field notes, and response examples before integrating.
/api/v1/solar-design/horizon-shading-lossExample request
curl -i -X POST "https://www.brainiac.software/api/v1/solar-design/horizon-shading-loss" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"horizon": [
{
"azimuth": 0,
"elevation": 10
},
{
"azimuth": 90,
"elevation": 10
},
{
"azimuth": 180,
"elevation": 10
},
{
"azimuth": 270,
"elevation": 10
}
],
"records": [
{
"sunElevation": 25,
"sunAzimuth": 160,
"beamPoa": 500
}
]
}
JSONAn unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.
FAQ
- Do I need an API key? No. Pay the listed USDC amount with x402.
- What network? Base (eip155:8453), USDC.
- Is this an official determination? No. Results are for human review against the cited sources.
Related operations
- Size PV module strings for an inverter MPPT — $0.03 USDC
- Check DC/AC ratio and inverter clipping — $0.03 USDC
- Transpose GHI/DNI/DHI to plane-of-array irradiance — $0.04 USDC
- Estimate AC energy with PVWatts v5 — $0.04 USDC
Related APIs
- Building Energy & Facilities Intelligence API
- Electricity Market & Grid Intelligence API
- Electrical Engineering & Installation Intelligence API
Solar PV Design String Sizing Yield APIFull docsHow it works