Energy Type

Constructors

Constructor Description

Energy(value, unit)

Full Usage: Energy(value, unit)

Parameters:

value : float
unit : EnergyRepresentation

Instance members

Instance member Description

this.ConvertTo

Full Usage: this.ConvertTo

Parameters:
Returns: Energy

destUnit : EnergyRepresentation
Returns: Energy

this.InSIUnits

Full Usage: this.InSIUnits

Returns: float

Returns: float

this.InUnitsOf

Full Usage: this.InUnitsOf

Parameters:
Returns: float

destUnit : EnergyRepresentation
Returns: float

this.Unit

Full Usage: this.Unit

Returns: EnergyRepresentation

Returns: EnergyRepresentation

this.Value

Full Usage: this.Value

Returns: float

Returns: float

Static members

Static member Description

Energy.FromJouleTo(srcValueInJoule, destUnit)

Full Usage: Energy.FromJouleTo(srcValueInJoule, destUnit)

Parameters:
Returns: float

srcValueInJoule : float
destUnit : EnergyRepresentation
Returns: float

Energy.FromTo(srcValue, srcUnit, destUnit)

Full Usage: Energy.FromTo(srcValue, srcUnit, destUnit)

Parameters:
Returns: float

srcValue : float
srcUnit : EnergyRepresentation
destUnit : EnergyRepresentation
Returns: float

Energy.ToJoule(srcValue, srcUnit)

Full Usage: Energy.ToJoule(srcValue, srcUnit)

Parameters:
Returns: float

srcValue : float
srcUnit : EnergyRepresentation
Returns: float

Energy.ToTemperatureSI(srcValue, srcUnit)

Full Usage: Energy.ToTemperatureSI(srcValue, srcUnit)

Parameters:
Returns: float Temperature E/kB in Kelvin, where kB is the BOLTZMANN constant and E the energy in Joule.

Returns the temperature (in Kelvin) corresponding to the provided energy.

srcValue : float

Energy value.

srcUnit : EnergyRepresentation

Energy unit.

Returns: float

Temperature E/kB in Kelvin, where kB is the BOLTZMANN constant and E the energy in Joule.