In the rapid promotion of China’s electricity spot market, a large number of electricity retailers and large consumers participate in power trading, of which medium- and long-term power trading accounts for a large proportion. In the electricity spot market, the previous medium- and long-term transactions need to be closely combined with the current spot market transaction settlement rules. This paper analyzes the trading strategy of large retailers in the power market. In order to effectively reduce the total electricity cost, it is necessary to optimize the medium- and long-term transactions based on three aspects: electricity quantity and benchmark price decisions of medium- and long-term contracts, the daily electricity decomposition method in the day-ahead (DA) market, and the daily load curve decomposition strategy. According to load history characteristics that are extracted by the X12 method, daily electricity is decomposed from the medium- and long-term electricity quantity in the DA market. This paper introduces three methods of decomposing the daily load curve and proves that the particle swarm algorithm is the best method for effectively minimizing the cost in the DA market. Through analyzing the total electricity cost change pattern, we prove that the basic component of decision making is the relative relationship between the electricity price of medium- and long-term contracts and the equivalent kWh price of medium- and long-term electricity in the DA market, which is determined by the decomposition daily curve method. If the equivalent kilowatt-hour price obtained by the decomposition method in the DA market is greater than the electricity price of medium- and long-term contracts, the larger the electrical energy of medium- and long-term contracts, the lower the costs. Based on the above principles, electricity retailers can carry out planning for medium- and long-term transactions, as well as the decomposition and declaration of the daily electricity quantities and daily load curves.
Due to the development of China’s electricity spot market, the peak-shifting operation modes of energy storage devices (ESD) are not able to adapt to real-time fluctuating electricity prices. The settlement mode of the spot market aggravates the negative impact of deviation assessments on the cost of electricity retailers. This article introduces the settlement rules of China’s power spot market. According to the electricity cost settlement process and the assessment methods, this paper proposes a comprehensive electricity cost optimization algorithm that optimizes day-ahead market (DA) electricity cost, real-time market (RT) electricity cost and deviation assessment through ESD control. According to the trial electricity price data of the power trading center in Guangdong province (China), many typical load curves and different deviation assessment policies, the algorithm calculates DA electricity cost, RT electricity cost and deviation assessment cost by utilizing a comprehensive electricity cost optimization algorithm. Compared with the original electricity cost and optimization cost, this method is proven to effectively save overall electricity costs under the spot market settlement system. Based on three different initial investment prices of ESD, this paper analyzes the economics of the ESD system and proves that ESD investment can be recovered within 5 years. Considering the small amounts of operating data in China’s power spot market, the algorithm generates random data according to characteristics of these data. Then, this paper verifies that the comprehensive electricity cost optimization algorithm remains reliable under random circumstances.