def main():
    from vdisplay import tabulate
    from vdss import opendss,findpath,writedss
    from vtimeseries import timewindow
    import config
    infile=config.getAttr('DICUFILE-ECS')
    outfile=config.getAttr('DICUFILE-ECE')
    tw = prepro_window()

    tabulate(s)  # tabulate last one to check the conversion
    tabulate(ts)
示例#2
0
def main():
    from vdisplay import tabulate
    from vdss import opendss,findpath,writedss
    from vtimeseries import timewindow
    import config
    infile=config.getAttr('DICUFILE-ECS')
    outfile=config.getAttr('DICUFILE-ECE')
    tw = prepro_window()

    tabulate(s)  # tabulate last one to check the conversion
    tabulate(ts)
示例#3
0
文件: dcc.py 项目: dwr-psandhu/dsm2
def test():
    # test routine for this module
    from vtimeseries import timewindow
    from vdss import opendss, findpath
    from vista.set import DataReference
    from vdisplay import tabulate
    inpath = '/CALSIM/DXC/GATE-DAYS-OPEN//1MON//'
    outpath = '/CALSIM_PROCESSED/DCC/GATE//IR-YEAR/TEST/'
    infile = "../timeseries/2001d10adv.dss"
    outfile = "d:/delta/gates/dxc.dss"
    val = 1.0
    allThirty = 1.
    tw = timewindow("01oct1974 0000 - 30SEP1991 2400")
    dccITS = dccOp(infile, outfile, inpath, outpath, allThirty, val, tw)
    tabulate(dxcITS)
示例#4
0
def test():
  # test routine for this module
  from vtimeseries import timewindow
  from vdss import opendss,findpath
  from vista.set import DataReference
  from vdisplay import tabulate  
  inpath='/CALSIM/DXC/GATE-DAYS-OPEN//1MON//'
  outpath='/CALSIM_PROCESSED/DCC/GATE//IR-YEAR/TEST/'
  infile="../timeseries/2001d10adv.dss"
  outfile = "d:/delta/gates/dxc.dss"
  val=1.0
  allThirty=1.
  tw=timewindow("01oct1974 0000 - 30SEP1991 2400")
  dccITS=dccOp(infile,outfile,inpath,outpath,allThirty,val,tw)
  tabulate(dxcITS)