Class PowerConversion

java.lang.Object
org.cloudbus.cloudsim.util.PowerConversion

public final class PowerConversion extends Object
Utility class that provides a set of methods for power/energy conversion.
Author:
Manoel Campos da Silva Filho
See Also:
  • Method Details

    • wattSecondsToKWattHours

      public static double wattSecondsToKWattHours(double power)
      Converts watt-seconds (joule) to kWh.
      Parameters:
      power - the power in Ws
      Returns:
      the power in kWh
    • wattsToKilo

      public static double wattsToKilo(double watts)
    • wattsToMega

      public static double wattsToMega(double watts)
    • wattsToGiga

      public static double wattsToGiga(double watts)
    • wattsToTera

      public static double wattsToTera(double watts)
    • megaToGiga

      public static double megaToGiga(double mega)
    • megaToTera

      public static double megaToTera(double mega)
    • gigaToMega

      public static double gigaToMega(double giga)
    • teraToMega

      public static double teraToMega(double tera)
    • teraToGiga

      public static double teraToGiga(double tera)