mirror of
https://gitlab.com/manzerbredes/paper-lowrate-iot.git
synced 2025-05-01 09:27:45 +00:00
Update simulations
This commit is contained in:
parent
daa845cc49
commit
bf96465528
393 changed files with 5613238 additions and 70539 deletions
|
@ -63,6 +63,6 @@ void setupCloudEnergy(CloudInfos cloudInfos){
|
|||
completeNetdeviceEnergy.Install(cloudNodes);
|
||||
|
||||
ns3::ConsumptionLogger conso;
|
||||
conso.NodeConso(ns3::Seconds (ECOFEN_LOG_EVERY), ns3::Seconds(ECOFEN_LOG_UNTIL), cloudNodes);
|
||||
conso.NodeConso(ns3::Seconds (ECOFEN_LOG_EVERY), ns3::Seconds(SIM_TIME), cloudNodes);
|
||||
}
|
||||
|
||||
|
|
|
@ -33,12 +33,13 @@
|
|||
#include <utility> // To use std::pair
|
||||
#include <iomanip> // To use std::setw
|
||||
|
||||
#define SIM_TIME 60
|
||||
|
||||
// ECOFEN
|
||||
#define ECOFEN_LOG_UNTIL 100
|
||||
#define ECOFEN_LOG_EVERY 0.1
|
||||
#define ECOFEN_LOG_EVERY 0.5
|
||||
|
||||
// WIFI Energy Values
|
||||
#define BASICENERGYSOURCEINITIALENERGYJ 10
|
||||
#define BASICENERGYSOURCEINITIALENERGYJ 10000
|
||||
#define BASICENERGYSUPPLYVOLTAGEV 3.3
|
||||
#define TXCURRENTA 0.38
|
||||
#define RXCURRENTA 0.313
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue