HomeGuidesAPI ReferenceChangelog
Log In
API Reference

Analysis APIs

Use Analysis APIs to calculate forecasted savings for solar PV, storage, tariff changes, and other energy scenarios in Switch.

Use Analysis APIs to calculate forecasted savings for solar PV, storage, tariff changes, and other energy scenarios in Switch.

Savings Analysis is the core Switch workflow. It compares scenarios, such as before solar, after solar, solar cost, and savings, then returns projected costs, usage, rates, and savings over the analysis period. Use Account Cost Calculation instead when you only need to calculate one account scenario.

Data definitions

AccountAnalysis

An AccountAnalysis contains the results of a Savings Analysis. It includes summary values, scenario details, series metadata, and series data points for projected cost, usage, rates, and savings.

FieldTypeDescription
savingsAnalysisIdStringArcadia-generated ID for a saved Savings Analysis result.
summaryObjectFirst-year and lifetime cost, usage, rate, and savings totals.
scenariosArrayScenario definitions used in the analysis, such as before, after, solar, and savings.
seriesArrayMetadata for each returned data series, including scenario, time frame, and granularity.
seriesDataArrayData points for the returned series, including rate, quantity, and cost values.
seriesCostsObjectDetailed cost calculations when populateCosts=true.

How these APIs fit together

  1. Use Savings Analysis to run a new analysis for solar, storage, tariff changes, or other energy scenarios.
  2. Use Savings Analysis Request Structure to choose propertyInputs patterns for profiles, typical baselines, solar, and storage.
  3. Start from Helpful Request Templates when your use case matches Quick Switch, Full Switch, or Storage-in-Switch.
  4. Use Savings Analysis History to retrieve analyses that were already run.
circle-info

Start with the Forecasted Savings Tutorial if you are preparing to run your first Savings Analysis. It walks through the setup needed before using these reference pages.

Next steps

  1. Use Savings Analysis to run a new forecasted savings calculation.
  2. Use Savings Analysis Request Templates when your workflow matches Quick Switch, Full Switch, or Storage-in-Switch.
  3. Use Savings Analysis History to retrieve analyses that were already run.