A simulation platform for study of PCS in smart grid, based on Ptolemy II 8.0.1 and matlab-simulink, using java-swing to develop the main UI-window, using pt-plot packages to implement dynamic run-time data-plot on screen.