mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-09-28 21:45:27 +08:00
* added shunt power factor correction in electronics * Update shunt_capacitor_power_factor_correction.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update shunt_capacitor_power_factor_correction.py removed unnecessary pass and reformatted long line * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * renamed and added inductor correction * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * updating DIRECTORY.md * Enhance validation and error handling in PF correction Added validation for power factors and frequency in shunt inductor and capacitor functions. Improved error handling for edge cases. * Remove power factor correction functions Removed shunt capacitor and inductor power factor correction functions along with their associated examples and validation logic. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: cclauss <cclauss@users.noreply.github.com>