def __init__(self, g0ch=0.0, r=0.0, x=0.0, gch=0.0, r0=0.0, bch=0.0, b0ch=0.0, x0=0.0, SequenceImpedance=None, ConductorAssets=None, ConductorInfo=None, Cut=None, PhaseImpedance=None, Clamp=None, ACLineSegmentPhases=None, PerLengthImpedance=None, *args, **kw_args):
        """Initialises a new 'ACLineSegment' instance.

        @param g0ch: Zero sequence shunt (charging) conductance, uniformly distributed, of the entire line section. 
        @param r: Positive sequence series resistance of the entire line section. 
        @param x: Positive sequence series reactance of the entire line section. 
        @param gch: Positive sequence shunt (charging) conductance, uniformly distributed, of the entire line section. 
        @param r0: Zero sequence series resistance of the entire line section. 
        @param bch: Positive sequence shunt (charging) susceptance, uniformly distributed, of the entire line section.  This value represents the full charging over the full length of the line. 
        @param b0ch: Zero sequence shunt (charging) susceptance, uniformly distributed, of the entire line section. 
        @param x0: Zero sequence series reactance of the entire line section. 
        @param SequenceImpedance: Sequence impedance of this line segment; used for balanced model.
        @param ConductorAssets:
        @param ConductorInfo: Conductor data for this line segment.
        @param Cut:
        @param PhaseImpedance: Phase impedance of this line segment; used for unbalanced model.
        @param Clamp:
        @param ACLineSegmentPhases: List of ACLineSegmentPhase objects
        """
        #: Zero sequence shunt (charging) conductance, uniformly distributed, of the entire line section.
        self.g0ch = g0ch

        #: Positive sequence series resistance of the entire line section.
        self.r = r

        #: Positive sequence series reactance of the entire line section.
        self.x = x

        #: Positive sequence shunt (charging) conductance, uniformly distributed, of the entire line section.
        self.gch = gch
        #: Zero sequence series resistance of the entire line section.
        self.r0 = r0

        #: Positive sequence shunt (charging) susceptance, uniformly distributed, of the entire line section.  This value represents the full charging over the full length of the line.
        self.bch = bch

        #: Zero sequence shunt (charging) susceptance, uniformly distributed, of the entire line section.
        self.b0ch = b0ch

        #: Zero sequence series reactance of the entire line section.
        self.x0 = x0

        self._SequenceImpedance = None
        self._PhaseImpedance = None
        self._PerLengthImpedance = None

        if SequenceImpedance is not None:
            if PhaseImpedance is not None or PerLengthImpedance is not None:
                raise ValueError("Too many impedance models specified!")
            else:
                self.SequenceImpedance = SequenceImpedance
        elif PhaseImpedance is not None:
            if PerLengthImpedance is not None:
                raise ValueError("Too many impedance models specified!")
            else:
                self.PhaseImpedance = PhaseImpedance
        elif PerLengthImpedance is not None:
            self.PerLengthImpedance = PerLengthImpedance

        self._ConductorAssets = []
        self.ConductorAssets = [] if ConductorAssets is None else ConductorAssets

        self._ConductorInfo = None
        self.ConductorInfo = ConductorInfo

        self._Cut = []
        self.Cut = [] if Cut is None else Cut

        self._Clamp = []
        self.Clamp = [] if Clamp is None else Clamp

        self._ACLineSegmentPhases = []
        self.ACLineSegmentPhases = [] if ACLineSegmentPhases is None else ACLineSegmentPhases

        super(ACLineSegment, self).__init__(*args, **kw_args)
def __init__ ( self , g0ch = 0.0 , r = 0.0 , x = 0.0 , gch = 0.0 , r0 = 0.0 , bch = 0.0 , b0ch = 0.0 , x0 = 0.0 , SequenceImpedance = None , ConductorAssets = None , ConductorInfo = None , Cut = None , PhaseImpedance = None , Clamp = None , ACLineSegmentPhases = None , PerLengthImpedance = None , * args , ** kw_args ) : self . g0ch = g0ch self . r = r self . x = x self . gch = gch self . r0 = r0 self . bch = bch self . b0ch = b0ch self . x0 = x0 self . _SequenceImpedance = None self . _PhaseImpedance = None self . _PerLengthImpedance = None if SequenceImpedance is not None : if PhaseImpedance is not None or PerLengthImpedance is not None : raise ValueError ( "Too many impedance models specified!" ) else : self . SequenceImpedance = SequenceImpedance elif PhaseImpedance is not None : if PerLengthImpedance is not None : raise ValueError ( "Too many impedance models specified!" ) else : self . PhaseImpedance = PhaseImpedance elif PerLengthImpedance is not None : self . PerLengthImpedance = PerLengthImpedance self . _ConductorAssets = [ ] self . ConductorAssets = [ ] if ConductorAssets is None else ConductorAssets self . _ConductorInfo = None self . ConductorInfo = ConductorInfo self . _Cut = [ ] self . Cut = [ ] if Cut is None else Cut self . _Clamp = [ ] self . Clamp = [ ] if Clamp is None else Clamp self . _ACLineSegmentPhases = [ ] self . ACLineSegmentPhases = [ ] if ACLineSegmentPhases is None else ACLineSegmentPhases super ( ACLineSegment , self ) . __init__ ( * args , ** kw_args )
Initialises a new 'ACLineSegment' instance.

        @param g0ch: Zero sequence shunt (charging) conductance, uniformly distributed, of the entire line section. 
        @param r: Positive sequence series resistance of the entire line section. 
        @param x: Positive sequence series reactance of the entire line section. 
        @param gch: Positive sequence shunt (charging) conductance, uniformly distributed, of the entire line section. 
        @param r0: Zero sequence series resistance of the entire line section. 
        @param bch: Positive sequence shunt (charging) susceptance, uniformly distributed, of the entire line section.  This value represents the full charging over the full length of the line. 
        @param b0ch: Zero sequence shunt (charging) susceptance, uniformly distributed, of the entire line section. 
        @param x0: Zero sequence series reactance of the entire line section. 
        @param SequenceImpedance: Sequence impedance of this line segment; used for balanced model.
        @param ConductorAssets:
        @param ConductorInfo: Conductor data for this line segment.
        @param Cut:
        @param PhaseImpedance: Phase impedance of this line segment; used for unbalanced model.
        @param Clamp:
        @param ACLineSegmentPhases: List of ACLineSegmentPhase objects