An Analysis of Optimal Operation Strategy of ESS to Minimize Electricity Charge Using Octave

Octave를 이용한 전기 요금 최소화를 위한 ESS 운전 전략 최적화 방법에 대한 분석

  • Gong, Eun Kyoung (Department of Electrical Engineering, Hoseo University) ;
  • Sohn, Jin-Man (Department of Electrical Engineering, Hoseo University)
  • 공은경 (호서대학교 전기공학과) ;
  • 손진만 (호서대학교 전기공학과)
  • Received : 2018.01.26
  • Accepted : 2018.04.06
  • Published : 2018.04.30


Reductions of the electricity charge are achieved by demand management of the load. The demand management method of the load using ESS involves peak shifting, which shifts from a high demand time to low demand time. By shifting the load, the peak load can be lowered and the energy charge can be saved. Electricity charges consist of the energy charge and the basic charge per contracted capacity. The energy charge and peak load are minimized by Linear Programming (LP) and Quadratic Programming (QP), respectively. On the other hand, each optimization method has its advantages and disadvantages. First, the LP cannot separate the efficiency of the ESS. To solve these problems, the charge and discharge efficiency of the ESS was separated by Mixed Integer Linear Programming (MILP). Nevertheless, both methods have the disadvantages that they must assume the reduction ratio of peak load. Therefore, QP was used to solve this problem. The next step was to optimize the formula combination of QP and LP to minimize the electricity charge. On the other hand, these two methods have disadvantages in that the charge and discharge efficiency of the ESS cannot be separated. This paper proposes an optimization method according to the situation by analyzing quantitatively the advantages and disadvantages of each optimization method.


Scheduling of ESS;Linear Programming(LP);Mixed Integer Linear Programming(MILP);Optimization;Quadratic Programming (QP)


  1. S. U. Agamah and L. Ekonomou, "Peak demand shaving and load-levelling using a combination of bin packing and subset sum algorithms for electrical energy storage system scheduling," IET Science, Measurement & Technology, vol. 10, no. 5, pp. 477-484, 201. DOI:
  2. I. E. Commission, "Electrical energy storage white paper," Geneva, Switzerland: International Electrotechnical Commission, 2011.
  3. I. Papic, "Simulation model for discharging a lead-acid battery energy storage system for load leveling," IEEE Trans. Energy Convers., vol. 21, no. 2, pp. 608-615, 2006. DOI:
  4. A. Purvins, I. T. Papaioannou, and L. Debarberis, "Application of battery-based storage systems in household-demand smoothening in electricity-distribution grids," Energy conversion and management, vol. 65, pp. 272-284, 2013. DOI:
  5. Z. Zhu, J. Tang, S. Lambotharan, W. H. Chin, and Z. Fan, "An integer linear programming based optimization for home demand-side management in smart grid," in Innovative Smart Grid Technologies (ISGT), 2012 IEEE PES, pp. 1-5: 2012.
  6. M. K. Gharigh, M. S. S. Abad, J. Nokhbehzaeem, and A. Safdarian, "Optimal sizing of distributed energy storage in distribution systems," in Smart Grid Conference (SGC) IEEE., pp. 60-65, 2015. DOI:
  7. D. P. Kothari, "Power system optimization," in Computational Intelligence and Signal Processing (CISP), 2012 2nd National Conference on IEEE., pp. 18-21, 2012. DOI:
  8. Jae-Haeng Heo, Seungkwon Shin, Jong-young Park and Hyeongig Kim, "Study on the Optimal Operation of ESS Considering Urban Railway Load Characteristic," The Transactions of the Korean Institute of Electrical Engineers., vol. 64, no. 10, pp. 1508-1516, 2015. DOI:
  9. D. Maly and K. Kwan, "Optimal battery energy storage system (BESS) charge scheduling with dynamic programming," IEEE Proceedings-Science, Measurement and Technology, vol. 142, no. 6, pp. 453-458, 1995. DOI: