  This paper presents an open source Simulink based program developed for
simulating power systems integrated with renewable energy sources (RES). The
generic model of a photovoltaic, wind turbine, and battery energy storage is
used for the RES. The program can be used for educational and research studies.
It comes with several important subjects in power systems including power
system modeling and integration, linearization, modal analysis, participation
factor analysis, controller selection using residue analysis, and frequency
response analysis. IEEE 68 bus dynamic test system is used to verify the
performance of the program. The results show the efficiency and speed of the
program to simulate a large scale modern power system.
