Class OpenBranchSide1CurrentMagnitudeEquationTerm

    • 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

      • OpenBranchSide1CurrentMagnitudeEquationTerm

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

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