Hi,
i got build that can help you, this is part of incoming updates to our RIC TaaP project.
e2-ns3-oran-lena-nr/model/nr-gnb-net-device.cc at Lena_oran · kamilkociszewski/e2-ns3-oran-lena-nrI recommend to use this with RIC TaaP,
Orange-OpenSource/ns-O-RAN-flexric: RAN simulator with E2 termination compliant with flexric supports E2AP v1.01, KPM v3 and pre-RC v1.01just delete nr module from /src and pull my repo build :)
example output, also traced to .csv:
---------------------------------------------
90.0: Position of UE with IMSI 4 is 1160.4:336.6:1.5, Speed: 21.8 km/h, SINR: 7.6 dB, UE connected to Cell: 3
---------------------------------------------
90.0: Position of UE with IMSI 5 is 1264.9:-1132.6:1.5, Speed: 34.0 km/h, SINR: 2.9 dB, UE connected to Cell: 5
---------------------------------------------
90.0: Position of UE with IMSI 6 is -2313.7:65.6:1.5, Speed: 15.9 km/h, SINR: -12.1 dB, UE connected to Cell: 7
---------------------------------------------
---------------------------------------------
Cell stats-> gNB 1 | PRB Usage: 14 % | Avg Last RB: 38 | Avg TP: 0.00 Mbps | Tot TP: 0.00 Mbps | Avg Loss: 0.00 % | Avg Delay: 0.00 ms | Avg Jitter: 0.00 ms | UE Count: 0
---------------------------------------------
---------------------------------------------
Cell stats-> gNB 3 | PRB Usage: 23 % | Avg Last RB: 62 | Avg TP: 404.18 Mbps | Tot TP: 404.18 Mbps | Avg Loss: 0.71 % | Avg Delay: 32.24 ms | Avg Jitter: 0.12 ms | UE Count: 1
UE stats -> UE 4 | Cell ID: 3 | SINR: 13.3 dB | RSRP: -60 dBm | DL TP: 404.2 Mbps | MCS: 25 | RI: 3 | CQI: 14 | Loss: 0.71 % | Delay: 32.24 ms | Jitter: 0.12 ms
---------------------------------------------
---------------------------------------------
Cell stats-> gNB 5 | PRB Usage: 100 % | Avg Last RB: 265 | Avg TP: 0.00 Mbps | Tot TP: 0.00 Mbps | Avg Loss: 0.00 % | Avg Delay: 0.00 ms | Avg Jitter: 0.00 ms | UE Count: 0
UE stats -> UE 5 | Cell ID: 5 | SINR: -64.9 dB | RSRP: -154 dBm | DL TP: 0.0 Mbps | MCS: 0 | RI: 1 | CQI: 0 | Loss: 6.72 % | Delay: 29.30 ms | Jitter: 0.12 ms
---------------------------------------------
---------------------------------------------
Cell stats-> gNB 7 | PRB Usage: 39 % | Avg Last RB: 105 | Avg TP: 173.07 Mbps | Tot TP: 173.07 Mbps | Avg Loss: 9.66 % | Avg Delay: 1717.50 ms | Avg Jitter: 0.12 ms | UE Count: 1
UE stats -> UE 6 | Cell ID: 7 | SINR: 8.1 dB | RSRP: -81 dBm | DL TP: 173.1 Mbps | MCS: 10 | RI: 3 | CQI: 6 | Loss: 9.66 % | Delay: 1717.50 ms | Jitter: 0.12 ms