Class VoltageControl<T extends LfElement>

    • Constructor Detail

      • VoltageControl

        protected VoltageControl​(double targetValue,
                                 VoltageControl.Type type,
                                 int priority,
                                 LfBus controlledBus)
    • Method Detail

      • getControlledBus

        public LfBus getControlledBus()
      • getControllerElements

        public List<T> getControllerElements()
      • addControllerElement

        public void addControllerElement​(T controllerElement)
      • isControllerEnabled

        public boolean isControllerEnabled​(T controllerElement)
      • getMergedDependentVoltageControls

        public List<VoltageControl<T>> getMergedDependentVoltageControls()
      • getPriority

        protected int getPriority()
      • isDisabled

        public boolean isDisabled()
      • getMainVoltageControl

        public <E extends VoltageControl<T>> E getMainVoltageControl()
      • getMergedControllerElements

        public List<T> getMergedControllerElements()
      • findVoltageControlsSortedByPriority

        public static List<VoltageControl<?>> findVoltageControlsSortedByPriority​(LfBus bus)
      • isHidden

        public boolean isHidden()
        FIXME: take into account controllers status to have a proper definition For generator voltage control, isGeneratorVoltageControlEnabled() should be called. For transformer voltage control, isVoltageControlEnabled() should be called. For shunt voltage control, isVoltageControlEnabled() should be called.
      • isDisabledAndAlsoAllItsDependentVoltageControls

        public boolean isDisabledAndAlsoAllItsDependentVoltageControls()