The first half of this chapter introduces the solution procedure for multicore simulation of power system transient; that is, the sequence of steps that the multicore solver takes during each timestep. The second half of this chapter provides a simple C# program to show how to parallelize the solution of the equations using threads, and how to synchronize these threads in a “fork/join” algorithm. Each thread will represent a subsystem, which implies that communication between threads will be necessary. Thread synchronization is necessary to exchange data (results) across subsystems at each timestep of the simulation, and it is an important consideration in developing multithreaded solvers.
Multithreading, Page 1 of 2
< Previous page Next page > /docserver/preview/fulltext/books/po/pbpo067e/PBPO067E_ch8-1.gif /docserver/preview/fulltext/books/po/pbpo067e/PBPO067E_ch8-2.gif