Set Bank PhasesNormal and DeviceStatus
If you have implemented Unbalanced features (i.e., features with connected units) and want to keep the device status and phases of the bank in sync with the units, then you can use the out-of-the-box autoupdater Set Bank PhasesNormal and DeviceStatus. When configured, this autoupdater changes the phases and device status fields of any bank (Electric Device) with the network category of E:Has Connected Units to match the phases and device status of the units (Electric Junction Object) that are contained by the bank. The phases and device status fields are defined in the Solution Center Editor plugin under the PhasesCurrent and DeviceStatus Electric Field Names.
For all units contained by the bank, if the phase of a unit is changed, or a unit is added or deleted, then the bank (Electric Device) phases field is updated. The phases field is updated to show all the phases present on the units. For example, if a bank has three units of phases A, B, C, and unit C is deleted, the bank phases field is updated from ABC to AB.
For the Device Status field, if ANY of the units are closed, then the bank Device Status is set to Closed. ALL units must be Open for the bank Device Status to be set to Open.
If no contained units exist, then the bank phase is set to None, and the device status is set to Open.
The autoupdater provides an option to allow bank override. To do this, set se_allowBankOverride to true in the autoupdater workflow orchestration. If bank override is set to true, then changes to the bank phases and device status are allowed, even if they don’t match the units. When set to false, changes to the bank cause the autoupdater to execute, and keep the bank in sync with the units by updating any changes that were made to the bank. In either case, the autoupdater still executes when units are modified.