# BRAINIAC Generator Sizing Calculator

> BRAINIAC Generator Sizing Calculator is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.04/call, status unknown (last checked 2026-11-12).

Calculates whether generators are adequately sized for given electrical loads, applying derating factors and optional compliance rules

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/electrical-engineering/generator-sizing-calculate?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-generator-sizing-calculator-3848b93d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tL4OHFWvhLV3WDa78Zigd

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability brainiac-generator-sizing-calculator-3848b93d -d '<json body>'
```

Example prompt: Check if our 125 kVA standby generator with a 0.8 power factor is adequate for a 70 kW load, applying a 1.15 reserve factor and no altitude or temperature derating.

## When to prefer this

Use this endpoint when you need deterministic, formula-based generator sizing calculations using caller-supplied data only — no external standards tables or paid data providers. Ideal for rapid adequacy checks in AI agent workflows where you have load data in kW/kVA and generator ratings in kVA, and want to apply reserve, diversity, altitude, and temperature factors programmatically. Prefer this over manual calculation or general LLM reasoning when you need a structured, auditable result with explicit adequacy flags. Not suitable when you need code-compliant sizing reports citing NEC or other published standards tables.

## Known failure modes

- Missing required generator or load data results in fields being marked as not supplied rather than defaulted
- Loads exceeding generator rated kVA return adequate=false with the specific shortfall
- Invalid phase values or out-of-range power factors may cause validation errors
- Very large load arrays (>500 items) are rejected
- Truncated or malformed JSON input may result in parsing errors

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

Returns a JSON object with an items array containing per-generator results: adequacy flag, required kVA, rated kVA, reserve factor, altitude and temperature derates applied, diversity factor, power factor, and which values were caller-supplied vs defaulted. Also includes overall status ('calculated'), any findings or warnings, a checkedAt timestamp, and a limitations list clarifying that no standards tables are invented and no code compliance is claimed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000
  },
  "asOf": {
   "type": "string",
   "maxLength": 40
  },
  "file": {
   "type": "object",
   "required": [
    "mediaType",
    "fileBase64"
   ],
   "properties": {
    "filename": {
     "type": "string",
     "maxLength": 180,
     "minLength": 1
    },
    "mediaType": {
     "enum": [
      "text/plain",
      "text/csv",
      "application/json"
     ],
     "type": "string"
    },
    "fileBase64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "json": {
   "type": "string",
   "maxLength": 200000
  },
  "text": {
   "type": "string",
   "maxLength": 200000
  },
  "loads": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "kw": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "kva": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "name": {
      "type": "string",
      "maxLength": 200
     },
     "notes": {
      "type": "string",
      "maxLength": 300
     },
     "phase": {
      "enum": [
       "1",
       "3",
       "A",
       "B",
       "C",
       "AB",
       "BC",
       "CA",
       "ABC"
      ],
      "type": "string"
     },
     "lengthM": {
      "type": "number",
      "maximum": 1000000,
      "minimum": 0
     },
     "currentA": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "quantity": {
      "type": "number",
      "maximum": 1000000,
      "minimum": 0
     },
     "voltageV": {
      "type": "number",
      "maximum": 1000000,
      "minimum": 0
     },
     "continuous": {
      "type": "boolean"
     },
     "powerFactor": {
      "type": "number",
      "maximum": 1,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "maxItems": 500
  },
  "rules": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "code": {
      "type": "string",
      "maxLength": 80
     },
     "unit": {
      "type": "string",
      "maxLength": 40
     },
     "source": {
      "type": "string",
      "maxLength": 200
     },
     "subject": {
      "type": "string",
      "maxLength": 120
     },
     "threshold": {
      "type": "numb
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "id": "GN1",
    "name": "Standby",
    "loadKw": 70,
    "loadKva": 87.5,
    "adequate": true,
    "ratedKva": 125,
    "powerFactor": 0.8,
    "requiredKva": 100.625,
    "reserveFactor": 1.15,
    "altitudeDerate": 1,
    "loadKwSupplied": true,
    "diversityFactor": 1,
    "loadKvaSupplied": true,
    "adequateSupplied": true,
    "ratedKvaSupplied": true,
    "standardsInvented": false,
    "temperatureDerate": 1,
    "powerFactorSupplied": true,
    "requiredKvaSupplied": true,
    "codeComplianceClaimed": false,
    "reserveFactorSupplied": true,
    "altitudeDerateSupplied": true,
    "diversityFactorSupplied": true,
    "temperatureDerateSupplied": true
   }
  ],
  "status": "calculated",
  "findings": [],
  "checkedAt": "2026-11-04T21:00:00.000Z",
  "limitations": [
   "Loads, cables, breakers, transformers, power-factor cases, generators, chargers, and optional rule thresholds are copied only from labeled fields supplied by the caller.",
   "No paid engineering data provider is used and no API key is required.",
   "Deterministic formulas use caller-supplied voltages, currents, impedances, ratings, and factors. Missing values are not invented.",
   "Electrical code or safety compliance is not claimed. Caller-supplied rule thresholds are compared when present; standards tables are not invented.",
   "Cable ampacity tables, breaker continuous factors, and derating rules are applied only when the caller supplies those values."
  ],
  "apiKeyRequired": false,
  "generatorCount": 1,
  "paidProviderUsed": false,
  "standardsInvented": false,
  "codeComplianceClaimed": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-generator-sizing-calculator-3848b93d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
