pvsyst_create_mv_night_disconnect_variant
Preview or create a new PVsyst variant that changes only the recorded MV night disconnect flag for a single-MV transformer, preserving other inputs and blocking unsupported configurations.
Instructions
[Projects & Variants] Preview or exclusively create a NEW VC changing a recorded MV night switch. Source and candidate both require native8.1.6 PV-only single fixed plane/subarray, valid circuit counts and the recorded single-MV20kV profile. Native field ownership, MVNbTransfos=1 and NightDisconnect/main-array bit29 consistency are checked first. Only that bool and dependent bit change (plus optional name/BOM). Reference power, iron/copper losses, AC/DC cables and all unrelated inputs remain inherited; no transformer formula or loss conversion. HV/multiple transformers, custom loss tables, loads/storage/P50/horizon/active geometry and unknown flag families are blocked. Configuration never claims native consumption; verify separate native outputs. Preview writes nothing; execution retains source/snapshot/no-overwrite protections.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| project | Yes | ||
| new_variant | Yes | ||
| add_utf8_bom | No | ||
| variant_name | No | ||
| source_variant | Yes | ||
| night_disconnect | Yes |