Interface EquationTerm

    • Method Detail

      • setEquation

        void setEquation​(Equation equation)
      • isActive

        boolean isActive()
      • setActive

        void setActive​(boolean active)
      • getElementNum

        int getElementNum()
      • getVariables

        List<Variable> getVariables()
        Get the list of variable this equation term depends on.
        Returns:
        the list of variable this equation term depends on.
      • update

        void update​(double[] x)
        Update equation term using x variable values.
        Parameters:
        x - variables values vector
      • eval

        double eval()
        Evaluate equation term.
        Specified by:
        eval in interface Evaluable
        Returns:
        value of the equation term
      • der

        double der​(Variable variable)
        Get partial derivative.
        Parameters:
        variable - the variable the partial derivative is with respect to
        Returns:
        value of the partial derivative
      • hasRhs

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

        double rhs()
        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
      • calculateSensi

        double calculateSensi​(com.powsybl.math.matrix.DenseMatrix x,
                              int column)