Estimate bill savings under a TOU tariff
solar-design_tariff-savingsCompute bill savings from caller interval generation and load under a time-of-use tariff with export credit, net metering or no export value. Price $0.03 USDC. POST /api/v1/solar-design/tariff-savings. An unpaid call returns the x402 payment terms and does not run.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"loadKwh": "<loadKwh>",
"generationKwh": "<generationKwh>",
"importPrice": "<importPrice>"
},
"name": "solar-design_tariff-savings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loadKwh | Yes | loadKwh, array. Required. | |
| exportMode | No | exportMode, string, one of export_rate, net_metering_kwh, none. Required. | export_rate |
| exportPrice | No | exportPrice, number, from 0 to any. Required. | |
| importPrice | Yes | importPrice, array. Required. | |
| demandCharge | No | demandCharge, value. Optional. | |
| fixedCharges | No | fixedCharges, number, from 0 to any. Required. | |
| generationKwh | Yes | generationKwh, array. Required. | |
| intervalHours | No | intervalHours, number. Required. | |
| billingPeriods | No | billingPeriods, array. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| savings | No | savings. Number. | |
| sources | No | sources. Array. | |
| exportKwh | No | exportKwh. Number. | |
| importKwh | No | importKwh. Number. | |
| billWithPv | No | billWithPv. Number. | |
| limitations | No | limitations. Array. | |
| billWithoutPv | No | billWithoutPv. Number. | |
| selfConsumedKwh | No | selfConsumedKwh. Number. | |
| selfConsumptionRate | No | selfConsumptionRate. Number. |