@staticmethod
def get_series_resistance(g, b):
    """g : conductance (S)
b : susceptance (S)
return series resistance Rs (ohm) if not infinite"""
    if g == 0 and b == 0:
        return None
    return g / (g * g + b * b)
