florasim / flora

This is a set of modules to simulate LoRa networks
Other
53 stars 39 forks source link

Problem about energy of node #69

Open sonce139 opened 1 year ago

sonce139 commented 1 year ago

Hi guy,

I have 2 problem about energy during simulation as below: 1, Can I config Initial energy for node (ex 500mAh or 1000J) in .ini file? and how? I also saw (*.loRaNodes[].**.energySourceModule = "^.IdealEpEnergyStorage") but after reading I don't get any information about initial energy.

2, I saw sim-time-limit = 1d, Can I config the simulation in the scenario: "simulate until a node runs out of energy". If yes, can you guide for me?

I am on omnetpp 6.0 + inet 4.4.1. Thank you for your support.