drcl.inet.mac
Class EnergyModel
java.lang.Object
drcl.DrclObj
drcl.inet.mac.EnergyModel
- All Implemented Interfaces:
- java.lang.Cloneable, ObjectCloneable, ObjectDuplicable, java.io.Serializable
- public class EnergyModel
- extends DrclObj
The class implements a simple energy model.
- Author:
- Rong Zheng
- See Also:
- Serialized Form
|
Method Summary |
void |
setEnergyConsumption(double Pt_,
double Pt_consume_,
double Pr_consume_,
double P_idle_,
double P_off_)
Set energy consumption |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EnergyModel
public EnergyModel()
setEnergyConsumption
public void setEnergyConsumption(double Pt_,
double Pt_consume_,
double Pr_consume_,
double P_idle_,
double P_off_)
- Set energy consumption
- Parameters:
Pt_ - signal powerPt_consume_ - power consumption of transmissionPr_consume_ - power consumption for receptionP_idle_ - idle power consumptionP_off_ - shutdown energy consumption
toString
public java.lang.String toString()
- Overrides:
toString in class DrclObj
Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved. ~ To J-Sim Home ~