Necessity of electricity access in remote area is the main reason for expanding decentralized energy system such as stand-alone power systems. The best electrical power supply must provide a constant magnitude and frequency voltage. Therefore, good power quality is an important factor for the reliable operation of electrical loads in a power system. However, the current drawn by most of electronic devices and non-linear loads are non-sinusoidal, which can result in a poor power quality, especially in off-grid power systems. Poor power quality is characterized by electrical disturbances such as transients, sags, swells, harmonics and even interruptions in the power supply. Off-grid power systems worldwide often struggle with system failures and equipment damage due to poor power quality. In this paper, MAT- LAB/Simulink is used to model and analyses power quality in an off-grid renewable energy system. The results show high voltage transient when the inductive loads were switched OFF. The voltage and current harmonics are also determined and compared for various types of loads.
 M. Hojabri, A. Z. Ahmad, A. Toudeshki and M. Soheilirad, “An Overview on Current Control Techniques for Grid Connected Renewable Energy Systems,” 2nd International Conference on Power and Energy Systems (ICPES), November 2012, pp. 119-126.
 J. H. R. Enslin and P. J. M. Heskes, “Harmonic Interaction between a Large Number of Distributed Power Inverters and the Distribution Network,” IEEE Transactions on Power Electronics, Vol. 19, No. 6, 2004, pp. 1586-1593.
 A. Bhowmik, A. Maitra, S. M. Halpin and J. E Schatz, “Determination of Allowable Penetration Levels of Distributed Generation Re-Sources Based on Harmonic Limit Considerations,” IEEE Transactions on Power Delivery, Vol. 18, No. 2, 2003, pp. 619-624.
 H. L. Jou, W. J. Chiang and J. C. Wu, “A Simplified Control Method for the Grid-Connected Inverter with the Function of Islanding Detection,” IEEE Transactions on Power Electronics, Vol. 23, No. 6, 2008, pp. 2775-2783.
 M. Dai, M. N. Marwali, J. W. Jung and A. Keyhani, “A Three-Phase Four-Wire Inverter Control Technique for a Single Distributed Generation Unit In Island Mode,” IEEE Transactions on Power Electronics, Vol. 23, No. 1, 2008, pp. 322-331.
 Q. Zhang, L. Qian, C. Zhang and D. Cartes, “Study on Grid Connected Inverter Used in High Power Wind Generation System,” 41st IAS Annual Meeting, Industry Applications Conference, Tampa, 8-12 October 2006, pp. 1053-1058.
 MathWorks, “Product Documentatio Choosing a Solver,” MathWorks, 2012.
 MathWorks Products, “Choose a Solver,” Documentation Center, 2013.