old_code/current_load.py
def firstTimeVCDU(self, loadDir):
        """Get time and vcdu of the initial state vector for specified loads.
        """
        svrdbPath = loadDir + '/' + loadDir[-8:] + ".svrdb"
        with open(svrdbPath) as svrdb:
            for t in svrdb:
                mo = CurrentLoad.gmtre.match(t)
                if mo:
                    tt, vv = t.split()[:2]
                    return tt, int(vv)
        return None
Get time and vcdu of the initial state vector for specified loads.
        
Get time and vcdu of the initial state vector for specified loads.
Get time and vcdu of the initial state vector for specified loads .
def firstTimeVCDU(self, loadDir):
        svrdbPath = loadDir + '/' + loadDir[-8:] + ".svrdb"
        with open(svrdbPath) as svrdb:
            for t in svrdb:
                mo = CurrentLoad.gmtre.match(t)
                if mo:
                    tt, vv = t.split()[:2]
                    return tt, int(vv)
        return None
def firstTimeVCDU ( self , loadDir ) : svrdbPath = loadDir + '/' + loadDir [ - 8 : ] + ".svrdb" with open ( svrdbPath ) as svrdb : for t in svrdb : mo = CurrentLoad . gmtre . match ( t ) if mo : tt , vv = t . split ( ) [ : 2 ] return tt , int ( vv ) return None
Get time and vcdu of the initial state vector for specified loads.
Get time and vcdu of the initial state vector for specified loads .
"""Get time and vcdu of the initial state vector for specified loads.
        """
self
loadDir