@staticmethod
def get_reactance(g, b):
    """g : conductance (S)
b : susceptance (S)
return reactance X (ohm) if not infinite"""
    if g == 0 and b == 0:
        return None
    return -b / (g * g + b * b)
