Class OpenBranchSide1ReactiveFlowEquationTerm

    • Field Detail

      • 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
      • g12

        protected final double g12
      • b12

        protected final double b12
    • Constructor Detail

      • OpenBranchSide1ReactiveFlowEquationTerm

        public OpenBranchSide1ReactiveFlowEquationTerm​(LfBranch branch,
                                                       LfBus bus2,
                                                       VariableSet<AcVariableType> variableSet,
                                                       boolean deriveA1,
                                                       boolean deriveR1)
    • Method Detail

      • q2

        public static double q2​(double y,
                                double cosKsi,
                                double sinKsi,
                                double g1,
                                double b1,
                                double b2,
                                double v2)
      • dq2dv2

        public static double dq2dv2​(double y,
                                    double cosKsi,
                                    double sinKsi,
                                    double g1,
                                    double b1,
                                    double b2,
                                    double v2)
      • eval

        public double eval()
        Description copied from interface: EquationTerm
        Evaluate equation term.
        Returns:
        value of the equation term
      • der

        public double der​(Variable<AcVariableType> variable)
        Description copied from interface: EquationTerm
        Get partial derivative.
        Parameters:
        variable - the variable the partial derivative is with respect to
        Returns:
        value of the partial derivative
      • shunt

        protected static double shunt​(double y,
                                      double cosKsi,
                                      double sinKsi,
                                      double g1,
                                      double b1)
      • getVariables

        public List<Variable<AcVariableType>> 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.