Compute PV payback, NPV, IRR and LCOE
solar-design_financial-paybackCompute simple payback, NPV, IRR and LCOE from capex, incentives, year-1 energy, degradation, O&M and price escalation. Price $0.03 USDC. POST /api/v1/solar-design/financial-payback. 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": {
"capex": "<capex>",
"year1EnergyKwh": "<year1EnergyKwh>",
"energyValuePerKwh": "<energyValuePerKwh>",
"years": "<years>",
"discountRate": "<discountRate>"
},
"name": "solar-design_financial-payback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| capex | Yes | capex, number. Required. | |
| years | Yes | years, integer, from 1 to 50. Required. | |
| omPerYear | No | omPerYear, number, from 0 to any. Required. | |
| degradation | No | degradation, number, from -0.5 to 1. Required. | |
| discountRate | Yes | discountRate, number, from -0.5 to 1. Required. | |
| omEscalation | No | omEscalation, number, from -0.5 to 1. Required. | |
| year1EnergyKwh | Yes | year1EnergyKwh, number. Required. | |
| energyEscalation | No | energyEscalation, number, from -0.5 to 1. Required. | |
| energyValuePerKwh | Yes | energyValuePerKwh, number. Required. | |
| upfrontIncentives | No | upfrontIncentives, number, from 0 to any. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| irr | No | irr. Number. | |
| npv | No | npv. Number. | |
| lcoe | No | lcoe. Number. | |
| sources | No | sources. Array. | |
| netCapex | No | netCapex. Number. | |
| limitations | No | limitations. Array. | |
| paybackYears | No | paybackYears. Number. | |
| year1CashFlow | No | year1CashFlow. Number. |