Linear
Contains a server power model definition.
LinearServerPowerModel
Server power model proposed in [1], which assumes a linear correlation between a server's power consumption and demand.
[1] Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in Cloud Data Centers", Concurrency and Computation: Practice and Experience (CCPE), Volume 24, Issue 13, Pages: 1397-1420, John Wiley & Sons, Ltd, New York, USA, 2012
Source code in edge_sim_py/components/power_models/servers/linear_server_power_model.py
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
|
get_power_consumption(device)
classmethod
Gets the power consumption of a server.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
device |
object
|
Server whose power consumption will be computed. |
required |
Returns:
Name | Type | Description |
---|---|---|
power_consumption |
float
|
Server's power consumption. |
Source code in edge_sim_py/components/power_models/servers/linear_server_power_model.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
|