~comnets/openwns-systemtest-wimac/systemtest-wimac--main--1.0

« back to all changes in this revision

Viewing changes to PyConfig/experiment2/config.py

  • Committer: Benedikt Wolz
  • Date: 2010-10-15 10:18:50 UTC
  • Revision ID: bmw@comnets.rwth-aachen.de-20101015101850-zd3k5cfrnb8x0sq4
tutorial: speedup & beautification

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
###  Distinguished Simulation Settings
69
69
class Config(Frozen):
70
70
    # Set basic WiMAX Parameters
71
 
    parametersPhy         = ParametersOFDMA(bandwidth = 5)
 
71
    parametersPhy         = ParametersOFDMA(bandwidth = 1.25)
72
72
    parametersMAC         = ParametersMAC
73
73
    
74
 
    packetSize = 1200.0 
 
74
    packetSize = 300.0 
75
75
    trafficUL = params.offeredTraffic / 2.0 # bit/s per station
76
76
    trafficDL = params.offeredTraffic / 2.0 # bit/s per station
77
77
    scheduler = params.scheduler
88
88
 
89
89
WNS = openwns.Simulator(simulationModel = openwns.node.NodeSimulationModel())
90
90
openwns.setSimulator(WNS)
91
 
WNS.maxSimTime = 1.10 # seconds
 
91
WNS.maxSimTime = 1.1 # seconds
92
92
WNS.masterLogger.backtrace.enabled = False
93
93
WNS.masterLogger.enabled = True
94
94
WNS.outputStrategy = openwns.simulator.OutputStrategy.DELETE