← All tool references

Construction · not_available

Solar Panel Calculator

Size a planning solar array from electricity use, sun hours, losses, and panel wattage.

Open public tool

Overview

Category
Construction
API mode
not_available
Processing
client-side
Privacy
no-data-stored

Public descriptor

The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.

GET /api/v1/tools/solar-panel-calculator

View this descriptor as JSON

Execute availability

This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.

POST /api/v1/tools/solar-panel-calculator/execute

Authentication is not issued during the preview. A bearer API key is planned for execution after launch.

Input schema

object object; additional properties are not accepted.

monthly_energy_use · number · required
Enter the monthly electricity use used by this tool.
peak_sun_hours · number · required
Enter the average peak sun hours used by this tool.
system_efficiency · number · required
Enter the system efficiency after losses used by this tool.
panel_wattage · number · required
Enter the panel wattage used by this tool.
installed_cost_per_watt · number · required
Enter the installed cost per watt used by this tool.
{
    "type": "object",
    "properties": {
        "monthly_energy_use": {
            "type": "number",
            "description": "Enter the monthly electricity use used by this tool.",
            "minimum": 0
        },
        "peak_sun_hours": {
            "type": "number",
            "description": "Enter the average peak sun hours used by this tool.",
            "minimum": 0.1000000000000000055511151231257827021181583404541015625,
            "maximum": 12
        },
        "system_efficiency": {
            "type": "number",
            "description": "Enter the system efficiency after losses used by this tool.",
            "minimum": 10,
            "maximum": 100
        },
        "panel_wattage": {
            "type": "number",
            "description": "Enter the panel wattage used by this tool.",
            "minimum": 50,
            "maximum": 1000
        },
        "installed_cost_per_watt": {
            "type": "number",
            "description": "Enter the installed cost per watt used by this tool.",
            "minimum": 0
        }
    },
    "required": [
        "monthly_energy_use",
        "peak_sun_hours",
        "system_efficiency",
        "panel_wattage",
        "installed_cost_per_watt"
    ],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

required_system_kw · number
Required system size produced by the tool.
panels_needed · number
Panels needed produced by the tool.
estimated_annual_generation · number
Estimated annual generation produced by the tool.
estimated_installed_cost · number
Estimated installed cost produced by the tool.
roof_area_allowance · number
Approximate panel area produced by the tool.
{
    "type": "object",
    "properties": {
        "required_system_kw": {
            "type": "number",
            "description": "Required system size produced by the tool."
        },
        "panels_needed": {
            "type": "number",
            "description": "Panels needed produced by the tool."
        },
        "estimated_annual_generation": {
            "type": "number",
            "description": "Estimated annual generation produced by the tool."
        },
        "estimated_installed_cost": {
            "type": "number",
            "description": "Estimated installed cost produced by the tool."
        },
        "roof_area_allowance": {
            "type": "number",
            "description": "Approximate panel area produced by the tool."
        }
    },
    "additionalProperties": false
}

Solar Panel Calculator example

The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.

curl -X POST "https://utilitypages.org/api/v1/tools/solar-panel-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "monthly_energy_use": 900,
    "peak_sun_hours": 4.5,
    "system_efficiency": 80,
    "panel_wattage": 400,
    "installed_cost_per_watt": 3
}'
{
    "ok": true,
    "data": {
        "slug": "solar-panel-calculator",
        "result": {
            "values": {
                "required_system_kw": 8.21920000000000072759576141834259033203125,
                "panels_needed": 21,
                "estimated_annual_generation": 11037.600000000000363797880709171295166015625,
                "estimated_installed_cost": 25200,
                "roof_area_allowance": 420
            },
            "display": {
                "display": "8.2192"
            },
            "warnings": [],
            "assumptions": [],
            "steps": []
        }
    },
    "meta": [],
    "request_id": "req_example_123"
}

Errors

api_not_launched · 503
Returned by the current launch gate for every execute request.
invalid_json · 400
Returned when an enabled execute request does not contain valid JSON.
validation_failed · 422
Returned when a request does not satisfy the input schema.
browser_interaction_required · 422
Returned for browser capability tools instead of inventing a server-side result.
tool_not_found · 404
Returned when a requested descriptor slug does not exist.
execution_failed · 503
Returned when an enabled server-side execution cannot complete.