def _update_case(self, bs, ln, gn, base_mva, Bf, Pfinj, Va, Pg, lmbda):
        """ Calculates the result attribute values.
        """
        for i, bus in enumerate(bs):
            bus.v_angle = Va[i] * 180.0 / pi
def _update_case ( self , bs , ln , gn , base_mva , Bf , Pfinj , Va , Pg , lmbda ) : for i , bus in enumerate ( bs ) : bus . v_angle = Va [ i ] * 180.0 / pi
Calculates the result attribute values.