-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can I measure radio related energy consumption in ns3 mmwave module? #172
Comments
You can use the trace file RxPacketTrace.txt to count the number of transmitted OFDM symbols and then multiply it by the energy per symbol. |
@tommasozugno what should be the value of energy per symbol in mmwave? |
@tommasozugno I want to focus on different states (such as IDLE, CONNECTED, Deep Sleep, Light Sleep, Micro Sleep, Data Transmission and Reception) and generate a rough energy consumption in these states. From the RxPacketTrace.txt file, one can only observe the simulation time when Ul or Dl data transfer happened. Can we somehow generate a c-DRX time from the RxPacketTrace.txt file? If I have the c DRX duration then I can figure out energy consumption (Power * time_taken) in different states such as Sleep, Data Transmission and Reception, Connected States. Already power consumption in different states is mentioned in 3GPP specs |
You can easily compute it from the transmission power and the symbol period. |
@tommasozugno Energy = Power * time |
You should multiply by the symbol period, not the subframe period. If you are using the latest release, which supports the NR frame structure, the symbol period depends on the numerology index you select. With numerology index 2 (the default one), the symbol period is 17.84 us (see https://www.sharetechnote.com/html/5G/5G_FrameStructure.html#OFDM_Symbol_Duration). |
Thank you very much for clearing all my doubts. |
@tommasozugno I want to implement DRX or cDRX in my simulation. As you told it is not implemented yet, Is there any possible way so that I can change the RRC State from CONNECTED_NORMALLY to a new state of RRC_INACTIVE. As per the 3GPP guidelines for every 160ms of a cycle I want to keep the UE in Connected mode for an on duration timer of 10ms and then I want to keep it in RRC_INACTIVE mode for rest of the time and if any PDCCH is received in that period I want to skip it. Can I implement this in my simulation? |
This module relies on the RRC models included in the lte module. You should modify the classes LteEnbRrc and LteUeRrc, which implements the RRC instances at the BS and UT side, respectively. You can have a look at the official ns-3 lte module documentation to better understand how these work. |
@tommasozugno I have built a MmWave Energy Model mostly based on ns3 WifiRadioEnergyModel. |
Sure! |
Hi,
I want to simulate mmwave module in different scenarios and want to produce a comparative study of energy consumption. Can we do that?
If not how should I proceed?
The text was updated successfully, but these errors were encountered: