pvsyst_optimize_bess_sizing
Optimize hybrid PV+BESS capacity by sweeping battery kWh, PCS kW, and dispatch strategies against TOU and demand-charge tariffs, then rank candidates and verify top configurations in PVsyst.
Instructions
[Simulation] Two-stage hybrid PV+BESS capacity sizing optimizer: Stage 1 runs a fast pure-Python grid sweep over (bess_kwh x pcs_kw x strategy) against TOU and two-part demand-charge tariffs, returning ranked candidates, a CAPEX-vs-NPV Pareto frontier, and a 2D heatmap; optional Stage 2 (verify_top_k 1..5 with dry_run=false and confirm=true) runs PVsystCLI to reconcile exact KPIs.
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": {
"baseline_csv": "<baseline_csv>",
"installed_dc_kw": "<installed_dc_kw>",
"bess_kwh_values": "<bess_kwh_values>",
"pcs_kw_values": "<pcs_kw_values>",
"tariff": "<tariff>",
"financial": "<financial>"
},
"name": "pvsyst_optimize_bess_sizing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tariff | Yes | ||
| confirm | No | ||
| dry_run | No | ||
| rank_by | No | npv | |
| financial | Yes | ||
| strategies | No | ||
| bess_params | No | ||
| baseline_csv | Yes | ||
| load_profile | No | ||
| verify_top_k | No | ||
| pcs_kw_values | Yes | ||
| verify_config | No | ||
| bess_kwh_values | Yes | ||
| installed_dc_kw | Yes | ||
| pcs_capex_per_kw | No |