5G LENA: Help about Different Values of SINR

10 views
Skip to first unread message

Angèle Hager Hafaiedh

unread,
Mar 2, 2026, 7:57:55 AM (4 days ago) Mar 2
to ns-3-users
Hello everyone.

 I am building a SINR formula that emulates the ones logged by the simulator via DLDATASINR.
I work with parabolic Antennas (both UEs and Gnb) 
The values I received from my formulas is far from what was actually traced via DlDataSinr, even though I used the exact same values of parameters.

Here is my formula:
    double bandwidthHz ;//bandwidth
    double satAntennaGainDb ;
    double vsatAntennaGainDb;
     double sTxPower; Sat tx Power
    double frequencyHz ;
       double Brb=12*15e3;
    double Nrb=88;
    double pathloss=20*log10(d)+20*log10(frequencyHz)+20*log10(4*M_PI/3e8);//183.56db
  
    double T=290.0;
   
 

double c = 3e8;
double lambda = c / frequencyHz;

// Pathloss
double Lfs = pow((4*M_PI*d)/lambda, 2);

// Convert dBm to Watts
double PtxW = pow(10, (sTxPower - 30)/10.0);

// RB power
double PtxRb = PtxW / Brb;

// Gains (linear)
double Gt = pow(10, satAntennaGainDb/10.0);
double Gr = pow(10, vsatAntennaGainDb/10.0);

// Received power
double Pr = PtxRb *Gt / Lfs;

// Noise
double k = 1.38e-23;
double Noise = k * T *Brb*Nrb;

// SINR
double sinrLinear = Pr  / Noise;
double sinrDbCalcule = 10*log10(sinrLinear);


For context:
- I work with 5 users in around teh same position , therefore the same distance from the Satellite.
-I use Friis propag. loss model
-Numerology is 0
-Number of total Rbs is 88
-I use 3 bwps:
"//coté gnb
}"

-I used the exact same parameters in my calculations as in NR
"double satTxPower =
    }"
-The NoiseFigure is set at 0 for both users and Gnb
-NumHarqprocess is set at 1
-I modified the GetGainDb in parabolic-antenna-model so that its calculation depends mostly on the central frequency.

May I know what other details did I miss? 

Thank you so much in advance

Reply all
Reply to author
Forward
0 new messages