The invention discloses a method for grid and province two-stage real-time generation schedule coordinative optimization under a generalized
tie line mode. The method is characterized by comprising the following steps that firstly, province scheduling generalized
tie line plans are obtained through calculation; secondly, a
grid scheduling department issues all the province scheduling generalized
tie line plans to corresponding province scheduling departments, and the
grid scheduling department obtains a generalized tie line plan of each
grid scheduling side directly under the province scheduling through calculation; thirdly, sensitivity information is calculated; fourthly, all kinds of information are read; fifthly, the generalized tie line soft constraint of the corresponding province is added, soft constraint cost is added to a conventional optimization object at the same time, then a province-stage
power grid mathematic model is formed, the generalized tie line soft constraint of each grid scheduling side directly under the province scheduling is added, soft constraint cost is added to the conventional optimization target at the same time, then a first area
power grid mathematic model is formed, the whole-grid grid scheduling side generalized tie line constraint is added on the basis of the first mathematic model, and a second area
power grid mathematic model is formed; sixthly, optimization calculation is started. The method for grid and province two-stage real-time generation schedule coordinative optimization under the generalized tie line mode has the advantages that calculation intensity is low and adaptability is high and is suitable for popularization and application in China scheduling mechanisms of all scales.