pvsyst_clone_variant
Copies an existing PVsyst variant into a new VC, optionally importing a variant from another project and applying PAN/OND or system updates while preserving embedded site and meteo references.
Instructions
[Projects & Variants] Copy a variant as a NEW VC in project. source_project defaults to project; supply another workspace PRJ to import its variant under the target prefix. Embedded site/meteo and external references are preserved, not synchronized with the destination PRJ; inspect_project reports source differences. Optional PAN/OND edits target one SubArrayId; BTR/GEN target pvSystem only. subarray_id requires a strict JSON integer, not a boolean, string or float.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | ||
| updates | No | ||
| new_variant | Yes | ||
| subarray_id | No | ||
| source_project | No | ||
| source_variant | Yes |