예제 #1
0
def Simulator():
    Simulator = TheHoleLot()
    Simulator.Deleter('C:\\Users\Acer\Documents\GitHub\CD3Waterbalance\simulationwithpatterns\outputfiles')
    Simulator.runcd3('C:\Program Files (x86)\CityDrain3\\bin\cd3.exe', 'C:\\Users\Acer\Documents\GitHub\CD3Waterbalance\simulationwithpatterns\outputfiles\GardenWatering.xml')
    #Simulator.Fractioncalculator([[1,2,10000,0.2,0.4,0.4,0.9,0.29,1.5,0.4,0.5,380,510,710,0.04,0.05,0.06,'without']])
    Simulator.getoutputdata('C:\\Users\Acer\Documents\GitHub\CD3Waterbalance\simulationwithpatterns\outputfiles')
    Simulator.getinputdata('C:\\Users\Acer\Documents\GitHub\CD3Waterbalance\simulationwithpatterns\inputfiles')
    #Simulator.Balance(['Current_Volume'], ['Test', 'Rain_Model'], ['Actual_Infiltration', 'Potable_Water_Demand', 'Sewer', 'Stormwaterdrain'])
    Simulator.Plotter([20,10],[0,50], [0,1], [ 'outin','outout'])
    #print Simulator.listtoplot
    return 
예제 #2
0
def Simulator():
    Simulator = TheHoleLot()
    #Simulator.Deleter('D:\studium\Masterarbeit\Modeloutput')
#    Simulator.runcd3('C:\Program Files (x86)\CityDrain3\\bin\cd3.exe', 'D:\studium\Masterarbeit\Modeloutput\Harvesting\Melbourne2.xml')
    Simulator.Fractioncalculator('D:\studium\Masterarbeit\Modeloutput\Harvesting\_100\Melbourne.xml')
    Simulator.getoutputdata('D:\studium\Masterarbeit\Modeloutput\Harvesting\_100')
    Simulator.getinputdata('D:\studium\Masterarbeit\Modelinput')
    Simulator.Balance()
    WriteVS()
    
    return
예제 #3
0
def Simulator():
    Simulator = TheHoleLot()
    Simulator.Deleter('/Users/christianurich/Documents/CD3Waterbalance/simulationwithpatterns/outputfiles/')
    Simulator.runcd3('C:\Program Files (x86)\CityDrain3\\bin\cd3.exe', '/Users/christianurich/Documents/CD3Waterbalance/simulationwithpatterns/outputfiles/Garden.xml')
    Simulator.Fractioncalculator(Catchattrvec)#,[1,1.8,10000,0,0.5,0.5,0.6,0.21,1.5,0.4,0.5,380,510,710,0.04,0.05,0.06,'without']])
    Simulator.getoutputdata('/Users/christianurich/Documents/CD3Waterbalance/simulationwithpatterns/outputfiles')
    Simulator.getinputdata('/Users/christianurich/Documents/CD3Waterbalance/simulationwithpatterns/inputfiles')
    Simulator.Balance(['Greywatertanklevels', 'Greywaterreservoirlevels',  'Rainwatertanklevels', 'Stormwaterreservoirlevels','Gardenwateringstorage'], ['Evapo_Model', 'Rain_Model'], ['Actual_Infiltration', 'Potable_Water_Demand', 'Sewer', 'Stormwaterdrain'])
    Simulator.Plotter([20,8],[0,155], [0,20], [ 'Rainwatertanklevels','Greywatertanklevels', 'Greywaterreservoirlevels', 'Stormwaterreservoirlevels' ]) #, 'Rainwatertanklevels','Greywatertanklevels', 'Greywaterreservoirlevels', 'Stormwaterreservoirlevels'
    
    return
예제 #4
0
def Simulator():
    Simulator = TheHoleLot()
    Simulator.Deleter('C:\Users\Acer\Documents\GitHub\CD3Waterbalance\simulationwithpatterns\outputfiles')
    Simulator.runcd3('C:\Program Files (x86)\CityDrain3\\bin\cd3.exe', 'C:\Users\Acer\Documents\GitHub\CD3Waterbalance\simulationwithpatterns\outputfiles\GardenWatering.xml')
    #Simulator.Fractioncalculator([[1,2,10000,0.2,0.4,0.4,0.9,0.29,1.5,0.4,0.5,380,510,710,0.04,0.05,0.06,'without']])
    Simulator.getoutputdata('C:\Users\Acer\Documents\GitHub\CD3Waterbalance\simulationwithpatterns\outputfiles')
    Simulator.getinputdata('C:\Users\Acer\Documents\GitHub\CD3Waterbalance\simulationwithpatterns\inputfiles')
    #Simulator.Balance(['Current_Volume'], ['Test', 'Rain_Model'], ['Actual_Infiltration', 'Potable_Water_Demand', 'Sewer', 'Stormwaterdrain'])
    Simulator.Plotter([20,10],[0,50], [0,1], [ 'outin','outout'])
    #print Simulator.listtoplot
    return 
def Simulator(Catchattrvec):
    Simulator = TheHoleLot()
    Simulator.Deleter(
        '/Users/christianurich/Documents/CD3Waterbalance/simulationwithpatterns/outputfiles'
    )
    Simulator.runcd3(
        '/Users/christianurich/Documents/CityDrain3/build/cd3',
        '-m /Users/christianurich/Documents/CD3Waterbalance/simulationwithpatterns/outputfiles/Garden.xml -v 1'
    )
    Simulator.Fractioncalculator(
        Catchattrvec
    )  #,[1,1.8,10000,0,0.5,0.5,0.6,0.21,1.5,0.4,0.5,380,510,710,0.04,0.05,0.06,'without']])
    Simulator.getoutputdata(
        '/Users/christianurich/Documents/CD3Waterbalance/simulationwithpatterns/outputfiles'
    )
    Simulator.getinputdata(
        '/Users/christianurich/Documents/CD3Waterbalance/simulationwithpatterns/inputfiles'
    )
    Simulator.Balance([
        'Greywatertanklevels', 'Rainwatertanklevels',
        'Stormwaterreservoirlevels', 'Gardenwateringstorage'
    ], ['Evapo_Model', 'Rain_Model'], [
        'Actual_Infiltration', 'Potable_Water_Demand', 'Sewer',
        'Stormwaterdrain'
    ])
    #Simulator.Plotter([20,10],[0,365], [0,100], [ 'Greywatertanklevels',  'Rainwatertanklevels', 'Stormwaterreservoirlevels'])

    return