Ignore:
Timestamp:
02/04/16 14:19:12 (9 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/branches/coolemall/src/experiments/simpat2014/models/article/NodeEnergyEstimationPlugin.java

    r1500 r1583  
    2929 
    3030        private static double Pidle = 6; 
    31         private static double Pfull = 16; 
     31        private static double Pfull = 20; 
    3232 
    3333 
     
    8989                for(Device device: node.getParent().getResourceCharacteristic().getDevices()){ 
    9090                        if(device.getType().equals(StandardResourceType.Fan)){ 
    91                                 if(Integer.valueOf(device.getName().split("_")[1]) == Integer.valueOf(node.getName().split("_")[1]) || Integer.valueOf(device.getName().split("_")[1]) == Integer.valueOf(cpu.getParent().getName().split("_")[1]) - EnvironmentConditions.NODES_IN_A_ROW){ 
     91                                if(Integer.valueOf(device.getName().split("_")[1]).intValue() == Integer.valueOf(node.getName().split("_")[1]).intValue() || Integer.valueOf(device.getName().split("_")[1]).intValue() == Integer.valueOf(cpu.getParent().getName().split("_")[1]).intValue() - EnvironmentConditions.NODES_IN_A_ROW){ 
    9292                                        Fan fan = (Fan) device; 
    9393                                        V = fan.getAirflowInterface().getRecentAirflow().getValue(); 
Note: See TracChangeset for help on using the changeset viewer.