pvsyst_clone_subarray
Duplicate a PVsyst grid subarray and its exclusive inverter/MPPT groups, preserving orientation and MPPT layout; optionally clone the fixed plane or share one inverter subtree.
Instructions
[Projects & Variants] Duplicate a grid subarray and all its exclusively owned inverter groups. source_subarray_id requires a strict JSON integer, not a boolean, string or float. By default keep the shared fixed-plane orientation and serialized MPPT layout. Complete exclusive MPPT branches are preserved, not switched to independent mode. Empty shading Flags=$00/$00020000/$00080000 still require geometry/table exclusion. clone_orientation=true appends an independent fixed plane and updates its NoOrientation reference/list count: requires complete grid counts, all strings in one orientation, a flat Flags=$00 non-averaged source, and sequential ordered TOrientGroup IDs. Supports ordinary branches without explicit MPPT, or verified Version=8.1.0/8.1.6 independent $0400 layouts with disabled sharing -1, exclusive direct MPPT children and complete declared input counts. It preserves mode, input/leaf multiplicities and copied loss/model fields; no MPPT pairing, shared parent construction or electrical fitting. Returns orientation_id and orientation_cloned. Independent plane copying rejects circuit-level orientation references instead of retaining stale allocation. Multiple groups require fully checked counts. Shared power, external target-ID references and shading geometry/tables are not supported. Requires the current variant hash; saves a rollback snapshot. share_inverter=true instead copies the one owned MPPT subtree under the same inverter, creating a bounded shared parent with aggregate name and owner 0. Requires Version=8.1.0/8.1.6, independent $0400, explicit disabled sharing -1, complete counts, one inverter/input (multiplicity 1), and all strings in the existing plane. New member keeps disabled sharing and its copied parameters; topology grouping is separate from enabling power sharing and hardware sizing. Do not combine with clone_orientation. Returns shared_parent_created.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | ||
| variant | Yes | ||
| share_inverter | No | ||
| expected_sha256 | Yes | ||
| clone_orientation | No | ||
| source_subarray_id | Yes |