KMITL Expo 2026 LogoKMITL 66th Anniversary Logo

Developing An Open-Source Tool for Power System and Microgrid Analysis

Abstract

In this project, we introduce Power Grid Analyzer (PGAz), an open-source software package based on MATLAB, specifically designed for analyzing and controlling future power grids. Initially, PGAz is equipped with four fundamental features: power flow (PF), optimal power flow (OPF), small-signal stability analysis (SSSA), and time-domain simulation (TS). At this stage, Part I concentrates on the development of PF and OPF. The formats of our developed tool are presented, along with its command prompts. In this part, we have developed several conventional yet effective methods in the PGAz package to address PF and OPF problems, including techniques such as the Newton-Raphson method, Gauss-Seidel method, Interior Point Method, Iwamoto’s method, Fast Decoupled Load Flow, Genetic Algorithm, and Particle Swarm Optimization. Additionally, it emphasizes important aspects, algorithms, and various case studies that have been tested against IEEE benchmarks ranging from the IEEE 5-bus to the IEEE 300-bus test systems. The results demonstrate the capabilities of PGAz for future educational and research applications in PF and OPF. Finally, we outline a plan for developing Part II, which will mainly focus on SSSA and TS.

Objective

ที่มา ปัจจุบันซอฟต์แวร์วิเคราะห์ระบบไฟฟ้าส่วนใหญ่ เช่น DIgSILENT, PSS®Sincal, และ PSCAD มีค่าใช้จ่ายสูงและมีข้อจำกัดด้านการปรับแต่งโมเดล นอกจากนี้ การอัปเดตโมเดลล่าช้า ส่งผลต่อความก้าวหน้าทางการวิจัยและการศึกษา ในขณะเดียวกัน แม้ว่าจะมีซอฟต์แวร์โอเพนซอร์ส เช่น Power System Toolbox (PST), Power System Analysis Toolbox (PSAT) และ MatPower แต่ซอฟต์แวร์เหล่านี้หลายตัวไม่ได้รับการพัฒนาอย่างต่อเนื่อง หรือขาดความสามารถในการรองรับการวิเคราะห์โครงข่ายไฟฟ้าสมัยใหม่ เช่น Cyber-Physical Power Systems (CPPS) และ Microgrids PGAz จึงถูกพัฒนาขึ้นเพื่อเติมเต็มช่องว่างของซอฟต์แวร์เหล่านี้ โดยมุ่งเน้นให้เป็นแพลตฟอร์มที่เปิดกว้าง มีการอัปเดตอย่างต่อเนื่อง และรองรับการวิเคราะห์ระบบไฟฟ้าในเชิงลึกมากขึ้น ความสำคัญ รองรับการปรับแต่งโมเดลอย่างยืดหยุ่นPGAz พัฒนาโดยใช้ MATLAB ซึ่งช่วยให้ผู้ใช้สามารถปรับแต่งและพัฒนาโมเดลได้อย่างอิสระ และสามารถรวมเข้ากับการวิเคราะห์ที่หลากหลาย เช่น การวิเคราะห์กำลังไฟฟ้า การจำลองเชิงเวลาของโครงข่ายไฟฟ้า และการวิเคราะห์เสถียรภาพเชิงสัญญาณขนาดเล็ก ลดข้อจำกัดของซอฟต์แวร์เชิงพาณิชย์ซอฟต์แวร์เชิงพาณิชย์มักมีข้อจำกัดทั้งด้านต้นทุนและโครงสร้างโมเดลที่ปรับแต่งได้ยาก PGAz จึงเป็นทางเลือกที่เปิดโอกาสให้ผู้ใช้สามารถพัฒนาซอฟต์แวร์ของตนเองโดยไม่มีค่าใช้จ่าย รองรับเทคนิคขั้นสูงในระบบไฟฟ้ายุคใหม่PGAz ได้รวมเทคนิควิเคราะห์โครงข่ายไฟฟ้าที่ทันสมัย เช่น การเพิ่มประสิทธิภาพโดย AI และ Machine Learning การวิเคราะห์ Cyber-Physical Systems และการออกแบบระบบที่รองรับทรัพยากรพลังงานหมุนเวียน สนับสนุนการวิจัยและการศึกษาPGAz ช่วยให้นักวิจัยและนักศึกษาสามารถใช้เครื่องมือโอเพนซอร์สในการศึกษาระบบไฟฟ้าโดยไม่ต้องพึ่งพาซอฟต์แวร์ที่มีค่าใช้จ่ายสูง อีกทั้งยังสามารถนำไปใช้เป็นพื้นฐานสำหรับการพัฒนางานวิจัยด้านวิศวกรรมไฟฟ้าและพลังงานในอนาคต

Other Innovations

EV conversion for a pick-up truck taxi

คณะวิศวกรรมศาสตร์

EV conversion for a pick-up truck taxi

ยานยนต์ไฟฟ้าดัดแปลง

Read more
Niyom Thai

คณะศิลปศาสตร์

Niyom Thai

"Niyom Thai" represents health-centric footwear adorned with traditional Thai patterns, embodying an innovative approach to sustainable development tailored to the current needs of local communities. These shoes utilize natural materials to mitigate fatigue and integrate safety technologies, including location tracking via a mobile application and heart rate monitoring. This addresses the aspects of convenience and well-being in both daily life and travel

Read more
Smart system for tracking raising rate of crickets using infrared camera

คณะวิทยาศาสตร์

Smart system for tracking raising rate of crickets using infrared camera

In raising crickets for meat consumption, the growth rate and growth period of crickets are important data used to identify the number of crickets per breeding area at each age. Therefore, the researcher has an idea to create a system for monitoring the growth rate of crickets in a closed system using an infrared camera combined with computer image processing to study the growth and identify the growth period of crickets at each age in order to obtain knowledge that can be disseminated to farmers to improve the breeding process for maximum efficiency.

Read more