Creates an Energy instance from the given value in joules.
Creates an Energy instance from the given value in kilowatt-hours.
Creates an Energy instance from the given value in watt-hours.