Application of HHO to ED

This program is tailored made to force Harris Hawk Optimization to yeild optimum results.
3 Downloads
Updated 25 Dec 2025

View License

13 unit system is tested.The main reasons why HHO does not yeild global optimum is that its get traped in local optimal solutions and diversity of the search space get reduced.
✅ Warm-start: cost = 19129.6004, sum(P) = 1799.999999, shape = 1x13
Run 1/15: ⚠️ 18079.761264 (error 115.816564 $)
Run 2/15: ⚠️ 18050.509379 (error 86.564679 $)
Run 3/15: ⚠️ 18129.241526 (error 165.296826 $)
Run 4/15: ⚠️ 17975.796553 (error 11.851853 $)
Run 5/15: ⚠️ 18078.959065 (error 115.014365 $)
Run 6/15: ⚠️ 18116.398124 (error 152.453424 $)
Run 7/15: ⚠️ 18116.394916 (error 152.450216 $)
Run 8/15: ⚠️ 18055.824562 (error 91.879862 $)
Run 9/15: ⚠️ 18113.038553 (error 149.093853 $)
Run 10/15: ⚠️ 18079.924857 (error 115.980157 $)
Run 11/15: ⚠️ 17972.810517 (error 8.865817 $)
Run 12/15: ⚠️ 18116.406178 (error 152.461478 $)
Run 13/15: ⚠️ 18046.245476 (error 82.300776 $)
Run 14/15: ⚠️ 18089.262047 (error 125.317347 $)
Run 15/15: ⚠️ 18081.401774 (error 117.457074 $)
🏆 BEST COST: 17972.810517 $/h (error = 8.865817 $)
Total generation: 1800.00000000 MW
Max |P_i - P*_i| = 99.999900 MW

Cite As

Heidari, Ali Asghar, et al. “Harris Hawks Optimization: Algorithm and Applications.” Future Generation Computer Systems, vol. 97, Aug. 2019, pp. 849–72, https://doi.org/10.1016/j.future.2019.02.028.

View more styles
MATLAB Release Compatibility
Created with R2025b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

HHO-eco

Version Published Release Notes
1.0.0