Skip to content
Fourohtwo

www.brainiac.software/api/v1/solar-design/battery-backup-sizing

Size battery energy and inverter continuous/surge power needed to back up critical loads for a target autonomy with DoD and efficiency derates. Docs: https://www.brainiac.software/api/solar-design/battery-backup-sizing

BaseAnswering
POSThttps://www.brainiac.software/api/v1/solar-design/battery-backup-sizing

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://www.brainiac.software/api/v1/solar-design/battery-backup-sizing", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"autonomyHours":10,"depthOfDischarge":0.9,"dischargeEfficiency":0.95,"inverterMargin":1.25,"loads":[{"hoursPerDay":24,"name":"fridge+lights+router","powerKw":2,"surgeKw":6}],"pvRechargeKwhPerDay":0,"temperatureDerate":1}),
});
console.log(await res.json());

Example input

{
  "autonomyHours": 10,
  "depthOfDischarge": 0.9,
  "dischargeEfficiency": 0.95,
  "inverterMargin": 1.25,
  "loads": [
    {
      "hoursPerDay": 24,
      "name": "fridge+lights+router",
      "powerKw": 2,
      "surgeKw": 6
    }
  ],
  "pvRechargeKwhPerDay": 0,
  "temperatureDerate": 1
}