v1
latestOpenAPI 3.1.02026-07-1342111193.6 KBSpark
Optimize Storage Dispatch Schedules (Beta)
Optimize energy flows into and out of a storage system to minimize cost, given a corresponding tariff, consumption profile, solar generation profile, and storage specifications. Supports a variety of installation configurations and dispatch strategies.
post/spark/storage_optimization/schedules
Headers
Arcadia-Versionstring required
The Arcadia-Version for the request
Request body
Example request
{
"main_tariff_id": "gen_mtid_3424821",
"tariff_property_inputs": [
{
"keyName": "accPlusAdderCustomerType"
}
],
"from_date_time": "2021-03-18T00:00:00-07:00",
"consumption_curve_kwh_ac": [
0.8,
1,
1.2,
1
],
"solar_generation_curve_kwh_dc": [
0.5,
2.4,
1.3,
0.4
],
"solar_dc_to_ac_efficiency": 0.96,
"allow_grid_to_battery": true,
"allow_solar_to_battery": true,
"allow_solar_to_grid": true,
"allow_battery_to_grid": true,
"battery_dc_coupled": true,
"battery_ac_to_dc_efficiency": 0.96,
"battery_dc_to_ac_efficiency": 0.96,
"battery_input_efficiency": 0.975,
"battery_nameplate_power": 3,
"battery_nameplate_capacity": 6,
"battery_min_soc": 0.1,
"battery_max_soc": 1,
"battery_initial_soc": 0.5
}Response
Success
Example response
{
"from_date_time": "2021-03-18T00:00:00-07:00",
"grid_to_site_kwh_ac": [
1.3,
1.1,
0,
0
],
"grid_to_battery_kwh_ac": [
1.56,
0,
0,
0
],
"solar_to_battery_kwh_dc": [
0,
1.5,
0,
0
],
"solar_to_site_kwh_ac": [
0,
0.1,
1.3,
1.5
],
"solar_to_grid_kwh_ac": [
0,
0,
0.4,
1.4
],
"solar_curtailed_kwh_dc": [
0,
0,
0,
0
],
"battery_to_site_kwh_ac": [
0,
0,
0.1,
0.2
],
"battery_to_grid_kwh_ac": [
0,
0,
0.1,
0.2
],
"net_load_kwh_ac": [
1.86,
1.1,
-0.5,
-1.6
],
"battery_soc": [
0.75,
1,
0.8,
0.4
]
}