Class AbstractClosedBranchAcFlowEquationTerm

    • Field Detail

      • ph1Var

        protected final Variable ph1Var
      • ph2Var

        protected final Variable ph2Var
      • CURRENT_NORMALIZATION_FACTOR

        public static final double CURRENT_NORMALIZATION_FACTOR
      • branch

        protected final LfBranch branch
      • b1

        protected final double b1
      • b2

        protected final double b2
      • g1

        protected final double g1
      • g2

        protected final double g2
      • y

        protected final double y
      • ksi

        protected final double ksi
      • sinKsi

        protected final double sinKsi
      • cosKsi

        protected final double cosKsi
    • Constructor Detail

      • AbstractClosedBranchAcFlowEquationTerm

        protected AbstractClosedBranchAcFlowEquationTerm​(LfBranch branch,
                                                         LfBus bus1,
                                                         LfBus bus2,
                                                         VariableSet variableSet,
                                                         boolean deriveA1,
                                                         boolean deriveR1)
    • Method Detail

      • calculateSensi

        protected abstract double calculateSensi​(double ph1,
                                                 double ph2,
                                                 double v1,
                                                 double v2,
                                                 double a1,
                                                 double r1)
      • getA1

        protected double getA1​(com.powsybl.math.matrix.DenseMatrix x,
                               int column)
      • getR1

        protected double getR1​(com.powsybl.math.matrix.DenseMatrix x,
                               int column)
      • getVariables

        public List<Variable> getVariables()
        Description copied from interface: EquationTerm
        Get the list of variable this equation term depends on.
        Returns:
        the list of variable this equation term depends on.
      • getElementNum

        public int getElementNum()
      • hasRhs

        public boolean hasRhs()
        Description copied from interface: EquationTerm
        Check EquationTerm.rhs() can return a value different from zero.
        Returns:
        true if EquationTerm.rhs() can return a value different from zero, false otherwise
      • rhs

        public double rhs()
        Description copied from interface: EquationTerm
        Get part of the partial derivative that has to be moved to right hand side.
        Returns:
        value of part of the partial derivative that has to be moved to right hand side