The invention discloses an RTDS simulation resource distribution method and system based on multi-backpack problem analysis. The method comprises the following steps of dividing a power grid into a plurality of sub-networks at a cross section meeting decoupling conditions, calculating the total amount of simulation storage unit resources required by power grid modeling, wherein each RACK can storea resource calculation result, calculating the number of RACK required by the primary power grid model, abstracting the divided sub-networks as to-be-loaded objects, abstracting each RACK as a backpack, and establishing a multi-backpack problem mathematical model for RTDS simulation resource distribution, and solving a multi-backpack dynamic programming algorithm for RTDS simulation resource distribution, and carrying out RTDS simulation resource distribution. According to the method, the modeling designers can be effectively assisted to distribute the RTDS simulation resources through quantitative analysis, and the rationality of the RACK resource distribution and the stability of the simulation operation are improved.