Provided is an active power distribution network
transient state real-time
simulation multi-rate interface method based on an FPGA. Example basic information is read under an offline environment, and time te needed for calculation of each
time step of an electrical
system in the FPGA and time tc needed for calculation of each
time step of a
control system in the FPGA are calculated; a real-time
simulation step size
delta te of the electrical
system is set according to the te; a real-time
simulation step size
delta tc of the
control system is automatically determined according to a formula (please see the formula in the specification); correlation calculation parameters of elements and the example basic information are figured out and uploaded to an online simulation environment, computing
resource allocation is carried out, and simulation time t is equal to zero; calculation of one
time step and calculation of k time steps are carried out on the electrical
system and the
control system respectively, wherein t=t+
delta tc, and t=t+delta te; the electrical system and the control system carry out multi-rate interface communication; whether the simulation time reaches simulation ending time is judged. The method is easy to achieve, solving time of the electrical system and the control system can be worked out in advance, proper real-time computing time steps are set, multi-rate interface
parallel simulation is achieved, on the premise that simulation precision is guaranteed, solving time is greatly shortened, and the implementation difficulty of active power distribution network
transient state real-time simulation is reduced.