Syntax
kw=PS2KW(ps)
Input Parameter
Output Parameter
kw : | | SI unit for power in KW |
Examples
PS2KW(1) % A 1000W stove plate consumes more power than a horse, humans maximum 360W
Copyright 2020-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth
Algorithm (Workflow)
This function, named PS2KW, is designed to convert power from horse power (PS) to kilowatts (KW), which is the SI unit for power. The function is part of the SolidGeometry library and was introduced in version 5.0. It is particularly useful in contexts where robots, electric machines, or batteries are used, and understanding power in kilowatts is essential.
Input Parameters
- ps: This is the input parameter representing the power value in horse power (PS).
Output Results
- kw: This is the output result, which is the power converted into kilowatts (KW).
Algorithm Explanation
The function performs a simple conversion from horse power to kilowatts using the formula:
kw = ps / 1.36;
This formula is based on the conversion factor where 1 horse power is approximately equal to 0.7355 kilowatts. The function uses a simplified conversion factor of 1.36 for ease of calculation.
Example
When the function is called with an input of 1 horse power:
PS2KW(1)
The output will be approximately 0.735 kilowatts, indicating that a 1000W stove plate consumes more power than a horse, and humans can produce a maximum of 360W.
Related Functions
The function is part of a library that includes other conversion functions such as:
- KW2PS: Converts kilowatts to horse power.
- Fahrenheit2Celsius: Converts Fahrenheit to Celsius.
- French2mm: Converts French gauge to millimeters.
- mm2inch: Converts millimeters to inches.
- Charriere2mm: Converts Charriere to millimeters.
- Gauge2mm: Converts gauge to millimeters.
- AWG2mm: Converts American Wire Gauge to millimeters.
Algorithm explaination created using ChatGPT on 2025-08-18 23:05. (Please note: No guarantee for the correctness of this explanation)
Last html export of this page out of FM database by TL: 2025-09-21