Dear Abdelmadjid,
A NetDevice is just an easy way to organize a PHY and MAC layer of a NIC.
wifiRadioEnergy model is an energy consumption model that should be attached to an energy source.
Both, the energy source and the energy consumption model are attached to a node.
In this case, the wifiRadioEnergy model can only be attached to nodes that contain a Wifi NetDevice (i.e. nodes that contain a wifi PHY+MAC)
I was wondering if there is a specific energy model available or if there are plans to develop an energy model that can be installed on a Netdevice,
I am not sure if your question is clear, what do you mean by a specific energy model? What kind of model?
We currently have 3 energy source models: LiIonEnergySource, RvModel, BasicEnergySource
and we have 2 energy consumption models: WifiRadioEnergyModel, SimpleDeviceEnergyModel.
We also have a proposed sensor and lr-wpan energy consumption model which are outdated and need refactoring from the authors:
Furthermore, I worked on an energy source model that is meant to replace the current LiIonEnergySource model and we might integrate it into ns-3 in
the next release cycle:
Even if you are not interested in these specific models, I recommend you read the documentation from my last link (the rst file). It explains everything
everything I just described in detail and will help you to better understand ns-3 energy framework.
Best Regards,
Al.