The application belongs to the technical field of reliability evaluation, and discloses a ship
system reliability calculation method and
system based on discrete events and Monte Carlo
simulation. The method comprises the following steps: (a) constructing a
simulation model according to a
reliability block diagram of a ship
system to be processed; (b) setting a
simulation test number N according to a total task of the ship system to be processed; (c) for the i-th
simulation test, setting a simulation time, a time interval of token generation, generating a plurality of tokens with a
label of 0 at a reliability entrance, transmitting each token along a corresponding directed connection line, updating the
label in the transmission process, and obtaining a final
label when the token reaches a reliability exit; (d) i = i + 1, repeating step (c) until i > N, obtaining the final labels of all tokens in all simulation tests, and calculating the reliability of the simulation model by using the final labels of all tokens. Through the application, the problem that the reliability of a
complex system is difficult to calculate is solved.