Better Unit Conversion for PowerToys Run
Description of the new feature / enhancement
I noticed that not all units can be conversed. For example kilowatt per hour to horsepower. I would appreciate if there were more units supported
Scenario when this would be used?
Using physics equations such as mass and energy conservation, usually problems are expressed using the imperial system but many books where someone can find the equations mentioned above use the metric system. Thus it would be very helpful not searching the internet each time for these types of conversions. Thanks a lot!
Supporting information
No response
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Open similar issues:
- More BIG and small units for Unit Converter - PowerToys Run (#16250), similarity score: 0.77
- [Run: Unit converter] Add more types of unit convertion (#30043), similarity score: 0.76
Closed similar issues:
- Unit Conversion in Powertoys run. (#31933), similarity score: 0.80
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Kilowatt-hours is a unit of energy, while horsepower is a unit of power.
To convert kWh to hp, you need to know the time period over which the energy is used. The formula to convert kWh to hp is:
hp = (kWh × 1.3404825737) / hours
For example, if you have a machine that uses 200 kWh over a period of 20 hours, the power in horsepower would be:
hp = (200 × 1.3404825737) / 20 = 13.404825 hp
I don't think this is a reasonable conversion ask without a second parameter into the equation. Reformatting this logic to be able to accept two parameters might feels too complex.
Even other launchers (like Raycast for Mac) don't support this type of conversion:
I think general guidance is that we should aim to support unit conversions when additional parameters (like time in this case) aren't required. But for this example, it's likely better off to use a proper calculator or online conversion.
Ohh right right, my mistake, by the way thanks a lot.
On Fri, May 10, 2024, 9:07 PM Ethan Fang @.***> wrote:
Closed #32807 https://github.com/microsoft/PowerToys/issues/32807 as completed.
— Reply to this email directly, view it on GitHub https://github.com/microsoft/PowerToys/issues/32807#event-12772619912, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEZDTHSGQT4MRESY45P4DH3ZBUEHZAVCNFSM6AAAAABHQOF4MKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSG43TENRRHE4TCMQ . You are receiving this because you authored the thread.Message ID: @.***>