double LinkEnergy::getConsumedEnergy()
{
if (lastUpdated_ < surf_get_clock()) // We need to simcall this as it modifies the environment
double LinkEnergy::getConsumedEnergy()
{
if (lastUpdated_ < surf_get_clock()) // We need to simcall this as it modifies the environment