HomeGuidesAPI ReferenceChangelog
Log In
Guides

Storage Only Workflow

Model a battery-only storage system without solar production by following the standard setup flow and applying storage-specific adjustments.

Model a storage system tied to the home without solar production by completing the standard setup steps, then applying the battery-only adjustments.

When to use this workflow

Use this workflow to model a home storage system without solar production, such as a backup-only system or a system designed for peak shaving (storing energy during lower-priced time-of-use periods and discharging during higher-priced periods).

Do not use this workflow when the project includes solar production. In that case, follow the standard Forecasting Savings with Storage-in-Switch workflow.

Steps 1–3: Complete initial setup

Follow the first three steps from the Forecasting Savings with Storage-in-Switch workflow:

  1. Step 1: Create a Full Switch Account
  2. Step 2: Confirm the Utility and Electricity Tariff
  3. Step 3: Baseline Electricity Usage


Step 4: Apply Battery Configurations & Generate Optimized Profiles

Create post-storage profiles

POST /rest/v1/profiles/storage

Request example with optimized dispatch

📘

Important Distinction

Note that the providerProfileId you choose to supply in your storage endpoint call will be referenced in Step 5 as the storageProviderProfileId. Include the time zone in fromDateTime so that the generated profiles align with your savings analysis period.

{
  "providerAccountId": "storage-switch-example",
  "providerProfileId": "storage-switch-example-post-storage",
  "fromDateTime": "2023-05-01T00:00:00-07:00",
  "consumption": {
    "providerProfileId": "storage-switch-example-usage"
  },
  "storage" : {
    "mainTariffId": 3424821,
    "dispatchStrategy": {
      "optimize": true
    },
    "batteryNameplatePower": "3.0",
    "batteryNameplateCapacity": "6.0",
    "batteryMinSoc": "0.1",
    "batteryMaxSoc": "1.0",
    "batteryInitialSoc": "0.5",
    "batteryDcCoupled": true,
    "batteryAcToDcEfficiency": "0.96",
    "batteryDcToAcEfficiency": "0.96",
    "batteryInputEfficiency": "0.975",
    "batteryDegradationCost": "0",
    "solarDcToAcEfficiency": "0",
    "allowBatteryToGrid": true,
    "allowGridToBattery": true,
    "allowSolarToGrid": false,
    "allowSolarToBattery": false,
    "tariffPropertyInputs": [
      {"keyName": "accPlusAdderCustomerType", "dataValue": "nonLowIncome"},
      {"keyName": "hasCareDiscount", "dataValue": "false"}
    ]
  }
}

Pass the base consumption profile and the storage object containing the battery configuration. For storage-only modeling, set allowSolarToGrid and allowSolarToBattery to false and solarDcToAcEfficiency to 0.

FieldPurpose
providerAccountIdAccount created in Step 1.
providerProfileIdClient generated ID prefix used for the three generated post-storage profiles.
fromDateTimeStart timestamp aligned with the usage profile, solar profile, and Savings Analysis inputs.
consumption.providerProfileIdUsage profile created in Step 3.
storage.mainTariffIdPost-solar masterTariffId used by the optimization model. Make sure this aligns with your after scenario tariff designation in the savings analysis.
storage.dispatchStrategy.optimizeUses optimized dispatch.

After this request succeeds, the account will contain profiles with these providerProfileId values:

  • storage-switch-example-post-storage-usage
  • storage-switch-example-post-storage-solar
  • storage-switch-example-post-storage-storage

These will all live under the parent providerProfileId value you supply when initiating the POST request to /rest/v1/profiles/storage.

Optional: Request example with fixed schedule dispatch

{
  "providerAccountId": "storage-switch-example",
  "providerProfileId": "storage-switch-example-post-storage-fixed-schedule",
  "fromDateTime": "2023-05-01T00:00:00-07:00",
  "consumption": {
    "providerProfileId": "storage-switch-example-usage"
  },
  "storage": {
    "dispatchStrategy": {
      "fixedSchedule": {
        "chargeTous": [
          {
            "season": {
              "seasonFromMonth": 10, "seasonFromDay": 1,
              "seasonToMonth": 5, "seasonToDay": 31
            },
            "touPeriods": [{
              "fromHour": 8, "toHour": 17,
              "fromDayOfWeek": 0, "toDayOfWeek": 6 
            }]
          }, 
          {
            "season": {
              "seasonFromMonth": 6, "seasonFromDay": 1,
              "seasonToMonth": 9, "seasonToDay": 30
            },
            "touPeriods": [{
              "fromHour": 8, "toHour": 18,
              "fromDayOfWeek": 0, "toDayOfWeek": 6
            }]
          }
        ],
        "dischargeTous": [
          {
            "season": {
              "seasonFromMonth": 10, "seasonFromDay": 1,
              "seasonToMonth": 5, "seasonToDay": 31
            },
            "touPeriods": [{
              "fromHour": 17, "toHour": 22,
              "fromDayOfWeek": 0, "toDayOfWeek": 6
            }]
          },
          {
            "season": {
              "seasonFromMonth": 6, "seasonFromDay": 1,
              "seasonToMonth": 9, "seasonToDay": 30
            },
            "touPeriods": [{
              "fromHour": 18, "toHour": 22,
              "fromDayOfWeek": 0, "toDayOfWeek": 6
            }]
          }
        ]
      }
    }
  }
}

This formatting allows for you to pass a fixed schedule for dispatch optimization which can work well for storage only implementations that are grid-tied.

For a full overview of available input fields please see our Storage Object Reference.

Step 5: Run the savings forecast

Request example with 3% battery degradation year-over-year

POST /rest/v1/accounts/analysis

Request:

{  
  "providerAccountId": "storage-switch-example",  
  "fromDateTime": "2023-05-01T00:00:00-07:00",  
  "toDateTime": "2024-05-01T00:00:00-07:00",  
  "propertyInputs": [  
    {  
      "scenarios": "before",  
      "keyName": "masterTariffId",  
      "dataValue": "522"  
    },  
    {  
      "scenarios": "before",  
      "keyName": "providerProfileId",  
      "dataValue": "storage-switch-example-usage"  
    },  
    {  
      "scenarios": "after,solar",  
      "keyName": "storageProviderProfileId",  
      "dataValue": "storage-switch-example-post-storage"  
    },  
    {  
      "scenarios":"solar,after,before",  
      "keyName": "projectDuration",  
      "dataValue": 10  
    }  
  ],  
  "batteryDegradation": { "percentPerYear": 3 }  
}
FieldPurpose
providerAccountIdAccount created in Step 1.
fromDateTime / toDateTimeSavings Analysis period.
before.masterTariffIdPre-intervention tariff used for the before scenario.
before.providerProfileIdOriginal usage profile created in Step 3.
storageProviderProfileIdPost-storage family ID created in Step 4.
projectDurationNumber of years to model (1-25).
batteryDegradation.percentPerYearAnnual battery capacity degradation rate.

Step 6: Implementing Storage System Costs

Add the optional rateInputs array to the Step 5 Savings Analysis request to model system costs. Use the solar scenario for these costs even when the project has no solar production; this scenario covers both solar and storage system costs.

For a monthly lease or loan, add the rateInputs array from this JSON object to your request:

{
"rateInputs": [ 
        { 
            "chargeType": "FIXED_PRICE", 
            "chargePeriod": "MONTHLY", 
            "transactionType": "BUY", 
            "rateBands": [ 
                { 
                    "rateAmount": 85.00 
                } 
            ], 
            "scenarios": "solar" 
        } 
    ]
}

Set rateAmount to the monthly system cost. Storage-only simulations support this lease/loan structure as a monthly cost over the project lifetime. Apply other cost structures through post-processing outside the Savings Analysis.

For post-processing, omit system cost inputs tied to the solar scenario. The simulation then attributes no system cost, as in the cash-purchase approach. Apply your projected costs to the returned results.

Putting It All Together

Use this Savings Analysis template to reference the storage-optimized profiles through storageProviderProfileId and include a monthly storage-system loan cost. Replace the account and profile identifiers with your own values.


POST /rest/v1/accounts/analysis
{
    "accountId": "{accountId}",
    "fromDateTime": "2025-10-10T00:00:00-07:00",
    "propertyInputs": [
        {
            "scenarios": "before",
            "keyName": "masterTariffId",
            "dataValue": "522"
        },

        {
            "scenarios": "before",
            "keyName": "providerProfileId",
            "dataValue": "{providerProfileId}"
        },

        {
            "scenarios": "after,solar",
            "keyName": "storageProviderProfileId",
            "dataValue": "{storageProviderProfileId}"
        },
        {
            "scenarios": "solar,after,before",
            "keyName": "projectDuration",
            "dataValue": 10
        }
    ],

    "rateInputs": [
        {
            "chargeType": "FIXED_PRICE",
            "chargePeriod": "MONTHLY",
            "transactionType": "BUY",
            "rateBands": [
                {
                    "rateAmount": 85.00
                }
            ],
            "scenarios": "solar"
        }
    ],
    "batteryDegradation": {
        "percentPerYear": 0.5
    }
}

The resulting Savings Analysis includes the monthly storage system cost in the solar scenario and factors it into net savings. To apply annual cost escalation, add a propertyInputs entry with keyName set to rateInflation and scenarios set to solar.



Did this page help you?