pvsyst_remove_subarray
Remove a grid subarray and its exclusively owned inverter groups, optionally remove its unused orientation, and return updated orientation IDs for surviving references.
Instructions
[Projects & Variants] Remove a grid subarray and all its exclusively owned inverter groups. subarray_id requires a strict JSON integer, not a boolean, string or float. By default another subarray must retain the orientation. remove_orientation=true also removes its now-unused fixed plane in a sequential TOrientGroup list, leaving another orientation. Non-final removal renumbers higher plane IDs and all owning NoOrientation references; requires all planes flat Flags=$00 and non-averaged, single-orientation subarrays with completely owned branches, ordinary NInvMPPT=1 without explicit MPPT or verified Version=8.1.0/8.1.6 independent $0400/direct-MPPT allocations with disabled sharing -1 and consistent counts. Every orientation reference must be an owned plane/root field; external or circuit-level references stop before writes. Returns removed_orientation_id (null by default) and orientation_id_map for changed surviving IDs. This opt-in and multiple groups require complete consistent grid counts. Shared power and shading geometry/tables are not supported. Requires the current hash and creates a rollback snapshot. shared_member=true instead deletes one member/owned MPPT subtree from a complete disabled two-member parent with explicit owner 0, one inverter/input per member and a common unshaded fixed plane. Preserves other member fields, restores its exclusive parent owner/name and reports remaining_member_id. All power sharing must be disabled; do not combine with remove_orientation. This is a bounded construction inverse, not general merge/split, active-group reallocation or hardware refitting. An active bounded group uses an explicit prior power_sharing_enabled=false parameter transaction; direct active deletion still stops. Restore deletion then the toggle snapshot to recover the active parent. These are separate guarded transactions, not an atomic implicit-disable operation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | ||
| variant | Yes | ||
| subarray_id | Yes | ||
| shared_member | No | ||
| expected_sha256 | Yes | ||
| remove_orientation | No |