The invention relates to the technical field of power
system and
demand side management, in particular to a time-of-use
electricity price optimization method based on
electricity consumption data clustering and
demand response elastic modeling, and the method comprises the steps: collecting the
electricity consumption data of a user, carrying out the preprocessing of the data, and extracting a key index as a clustering feature; the method comprises the following steps of: performing clustering on indexes based on clustering
algorithm initialization and a K-means clustering
algorithm, dividing users into different groups, constructing a
demand response model for each
user group, establishing an
electricity price demand
elastic matrix model, performing modeling in combination with user willingness and psychological
response characteristics, and constructing a time-of-use
electricity price optimization model based on a clustering layering result. An
electricity price scheme is iteratively optimized through the
whale algorithm, a time-of-use electricity price strategy is globally searched and optimized through the
whale optimization algorithm, the
whale optimization algorithm improves the search optimization efficiency by simulating whale surrounding and spiral foraging behaviors, the user behavior is combined with a
power grid target, and the user experience is improved. And the time-of-use electricity price is optimally designed from the
system level.