Comments (10)
from flora.
Hi
Please try with versions mentioned in the website: https://flora.aalto.fi/
As far as I remember, there was an update in new inet, and flora is not updated with it.
from flora.
Thank you, I'll try and let you know afterwards.
from flora.
Hi
Thank you initial problem fixed!!!
However, I've also encountered another bug while testing Flora project.
<!> Cannot evaluate parameter 'initialLoRaTP': operator "*": Refusing to perform computations involving quantities with nonlinear units (3dBm) -- in module (inet::SimpleLoRaApp) LoRaNetworkTest.loRaNodes[0].SimpleLoRaApp (id=30), during network setup
from flora.
Could you paste the config file?
from flora.
Sorry, config file for Omnetpp or Flora I'm not sure in that case?
from flora.
The .ini file which defines parameters for nodes. If you have run the example simulation from repository, the configuration is set in the "loRaNetworkTest.ini" file.
from flora.
Ok, I get you now. below I just copied what is in the file.
[General]
network = LoRaNetworkTest
rng-class = "cMersenneTwister"
network features
**.numberOfGateways = 1
**.loRaGW[0].numUdpApps = 1
**.loRaGW[0].packetForwarder.localPort = 2000
**.loRaGW[0].packetForwarder.destPort = 1000
**.loRaGW[0].packetForwarder.destAddresses = "networkServer"
**.loRaGW[0].packetForwarder.indexNumber = 0
**.loRaGW[1].numUdpApps = 1
**.loRaGW[1].packetForwarder.localPort = 2000
**.loRaGW[1].packetForwarder.destPort = 1000
**.loRaGW[1].packetForwarder.destAddresses = "networkServer"
**.loRaGW[1].packetForwarder.indexNumber = 1
**.networkServer.numUdpApps = 1
.networkServer..evaluateADRinServer = false
**.networkServer.udpApp[0].typename = "NetworkServerApp"
**.networkServer.udpApp[0].destAddresses = "loRaGW[0]"
**.networkServer.udpApp[0].destPort = 2000
**.networkServer.udpApp[0].localPort = 1000
**.networkServer.udpApp[0].adrMethod = ${"avg"}
**.numberOfNodes = 10
**.numberOfPacketsToSend = 0 #0 means infinite number of packets
sim-time-limit = 7d
warmup-period = 1d
simtime-resolution = -11
**.timeToFirstPacket = exponential(100s)
**.timeToNextPacket = exponential(100s)
**.alohaChannelModel = false
#nodes features
.loRaNodes[*]..initFromDisplayString = false
.loRaNodes[*]..evaluateADRinNode = false
**.loRaNodes[].**initialLoRaSF = intuniform(7,12)
**.loRaNodes[].**initialLoRaBW = 125 kHz
**.loRaNodes[].**initialLoRaCR = 4
**.loRaNodes[].**initialLoRaTP = (2dBm + 3dBm*intuniform(0, 4))
deployment of nodes in a circle with radius=maxGatewayDistance and gateway at gatewayX,gatewayY
#.loRaNodes[*].deploymentType = "circle"
#.loRaNodes[].maxGatewayDistance = 120.0
#**.loRaNodes[].gatewayX = 240
#**.loRaNodes[*].gatewayY = 240
random deployment of nodes in a square square area
.loRaNodes[*]..initialX = uniform(0m, 480m)
.loRaNodes[*]..initialY = uniform(0m, 480m)
#gateway features
**.LoRaGWNic.radio.iAmGateway = true
.loRaGW[*]..initFromDisplayString = false
.loRaGW[0]..initialX = 240m#uniform(0m, 50m)
.loRaGW[0]..initialY = 240m
#power consumption features
.loRaNodes[].LoRaNic.radio.energyConsumerType = "LoRaEnergyConsumer"
**.loRaNodes[]..energySourceModule = "IdealEpEnergyStorage"
**.loRaNodes[*].LoRaNic.radio.energyConsumer.configFile = xmldoc("energyConsumptionParameters.xml")
#general features
**.sigma = 0
**.constraintAreaMinX = 0m
**.constraintAreaMinY = 0m
**.constraintAreaMinZ = 0m
**.constraintAreaMaxX = 480m
**.constraintAreaMaxY = 480m
**.constraintAreaMaxZ = 0m
LoRaNetworkTest..radio.separateTransmissionParts = false
LoRaNetworkTest..radio.separateReceptionParts = false
**.delayer.config = xmldoc("cloudDelays.xml")
**.radio.radioMediumModule = "LoRaMedium"
**.LoRaMedium.pathLossType = "LoRaLogNormalShadowing"
**.minInterferenceTime = 0s
**.displayAddresses = false
from flora.
Are you sure that this is the config file that is evaluated in your simulation? From the error message: annot evaluate parameter 'initialLoRaTP': operator "*" it seems that the "initialLoRaTP" is not set. But the config file has all parameters configured.
BTW: have you evaluated example simulation?
from flora.
Hey,
I managed to fix the error, All was need is to remove this operator "*" from the config files .in.
Thank you.
from flora.
Related Issues (20)
- numCollision recording grey-out HOT 2
- Problem on accessing numberOfPacketsToSend parameter of SimpleLoRaApp from another module.
- Issues building Flora on Ubuntu 20 HOT 3
- Errors at running with Ubuntu20,04 and Omnet6 pre 14 HOT 1
- Is there any difference with FLoRa in inetmanet-4.x?
- ADR doesn't seem to work on the network server HOT 3
- Deployment of nodes in a circle HOT 1
- Error while building project - [Makefile:145: ../out/clang-debug/src/libflora_dbg.dll] Error 1 HOT 1
- Error building in OMNET++6.0 INET 4.3.9 HOT 5
- New version. HOT 4
- Error in simulating FLORA HOT 1
- simulation can't complete HOT 4
- Linking Issue Win11 HOT 1
- Implementation of NetworkServerApp
- Error while chunk deserialization for sampleMeasurement from networkServerApp HOT 1
- How to change communicationRange? HOT 1
- Problem about energy of node
- Multi Channel Gateway HOT 1
- Changing the Code Rate in LoRaWan
- Modifying the data being sent.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flora.