123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- [General]
- network = PowerConsumptionShowcase
- sim-time-limit = 100s
- **.numHost = 20
- # visualizer
- *.visualizer.energyStorageVisualizer.displayEnergyStorages = true
- # status
- **.hasStatus = true
- # power
- **.energyStorageType = "SimpleEpEnergyStorage"
- **.energyConsumerType = "StateBasedEpEnergyConsumer"
- *.host[*].energyManagementType = "SimpleEpEnergyManagement"
- *.host[*].energyStorage.nominalCapacity = 0.05J
- *.host[*].energyManagement.nodeShutdownCapacity = 0.1 * energyStorage.nominalCapacity
- *.host[*].energyManagement.nodeStartCapacity = 0.5 * energyStorage.nominalCapacity
- *.host[*].energyStorage.initialCapacity = uniform(0.1 * energyStorage.nominalCapacity, energyStorage.nominalCapacity)
- *.host[*].energyGeneratorType = "AlternatingEpEnergyGenerator"
- *.host[*].energyGenerator.powerGeneration = 4mW
- *.host[*].energyGenerator.sleepInterval = exponential(25s)
- *.host[*].energyGenerator.generationInterval = exponential(25s)
- # mobility
- **.mobility.constraintAreaMinZ = 0m
- **.mobility.constraintAreaMinX = 0m
- **.mobility.constraintAreaMinY = 0m
- **.mobility.constraintAreaMaxX = 1000m
- **.mobility.constraintAreaMaxY = 1000m
- **.mobility.constraintAreaMaxZ = 0m
- **.mobility.initFromDisplayString = false
- **.mobility.initialZ = 0m
- *.host*.mobilityType = "StationaryMobility"
- # 802.11
- # TODO: this parameter shouldn't be here, but currently 802.11g mode uses slowest
- # mandatory mode (1Mbps) for ACK frames, and fastest mode (54Mbps) for data frames
- # the end result is that ACK frames take much time on the medium than the ping
- # request/ping reply frames.
- **.opMode = "a"
- # ping app
- *.host[0].numPingApps = 1
- *.host[*].numPingApps = 1
- *.host[*].pingApp[0].destAddr = "host[0]"
- *.host[*].pingApp[0].printPing = true
|