Current literature regarding the use of vector shift relays, given in Table 1, does not go into the details of how to implement it from scratch when using a software that does not contain this type of protection device in its default library, nor how to design it when applied to a synchronous generator. Simulation software is a powerful tool to help students, engineers, and researchers study these systems, and it is used to overcome the difficulties of safety, cost, and space that exist in implementing DG experiments. Thus, this article, giving complete step-by-step modeling of a vector shift relay applied in distributed bio-energy systems, is proposed and demonstrated in MATLAB/SIMULINK.The organization of this article is done as follows: in Section 2 is first done a review about the standards related to the islanding detection, so that this information guides in choosing the components to the proposed diagram as well as their settings. After this, a second sub-section is used to do a review about the vector shift relay working principle and to explain its implementation in MATLAB/SIMULINK. Later, each subsection is used to describe in detail each of the others blocks necessary to the simulation. Within each subsection, some suggestions of problems and possible research to be performed with the students are presented. Conclusion is given in Section 3.