pvsyst_simulate_design
Preflight or execute a bounded PVsyst design flow from declared inputs without the GUI, covering weather, capacity planning, and full-year simulation. Dry runs return concrete issues.
Instructions
[Simulation] Preflight or execute one bounded design flow from declared inputs without the GUI. spec.new_project names the NEW working project and is required. scope is fixed to fixed_unshaded_grid: one subarray, one ordinary fixed plane, a Grid system, PRCorrTemp=False and no active geometry, layout or shading scene. The flow locates exact loose PAN/OND components and an eligible workspace template. If no template or variant is pinned and no candidate is eligible, it can derive a NEW template from the installed 8.1 residential seed, preserving its source fields and declaring the target MPPT counts. It builds the linear design envelope from declared inputs, plans integer capacity, configures the working project and, with dry_run=false, runs the full year. The verified 8.1 workspace root must be named PVsyst8.1_Data. Read-only preflight reports missing standard folders and blocks file conflicts or escaping paths; execution fills missing empty folders without renaming the root or replacing files. weather.mode=existing uses the named workspace SIT/MET pair, weather.mode=csv names a staged standard hourly CSV, and weather.mode=open_meteo acquires one public ERA5 year. Dry-run with open_meteo or a not-yet-created standard template returns ready_for_weather with execution_preflight_complete=false: this is an input/template plan, not a runnable native design. electrical_design requires declared coefficients with units and sources, and source-declared current limits. Voltage/current field names imply V/A when units are omitted; explicitly contradictory units are blocked. Missing required data returns concrete issues; an empty object never becomes ready. losses overrides LIDLoss, PMismMPP and ModuleQualityLoss on the subarray and UFactor on the main array. Every field of spec that is not supplied keeps the template value; no loss, coefficient, temperature or azimuth is fitted, inferred or defaulted, and no design is certified here. status is blocked/ready/ready_for_weather/completed/ needs_review/failed; inspect it, not just MCP is_error. Year is 1969..2068. The returned issues, warnings, transactions and recovery steps state exactly what was and was not changed. Optional spec.report_pages selects native PDF page names; omitted means the complete default report, and invalid lists stop before discovery/weather.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| dry_run | No |