For establishing hybrid real-time simulation of electromechanical transients on the base of RTDS,and realizing modes of different interface,this dissertation establishes simulation of electromechanical transients functioning on VC and RTDS.Consulting the models of generator and control system in the help file of BPA,C++ language is used to realize simulation of electromechanical transients on PC,and what's more,the thinking of oriented-object and sparse memory technology are introduced to improve the legibility and rate of computing.User-defined simulation module of electromechanical transients on the base of CBuilder is carried out to connect with the module of electromagnetic transient simulation.By adopting the technology of multithreading and Gauss network predigest,not only the rate of computing is improved,but also the memory consumed of GPC card is reduced and compute scale of electromechanical transients simulation is improved.By providing the Interface program equivalence of the electromechanical transients for hybrid simulation,connection with electromagnetic transient on RTDS is realized.Validations between the two electromechanical transients simulation of C++ language and CBulider language is carried out to prove the correctness of electromechanical transients program by contrasting the simulation curve with Chinese BPA.
|