Sayeed Hasan, Md. Rifat Hazari, Effat Jahan, Mohammad Abdul Mannan
{"title":"Modeling an Agricultural Microgrid using pvlib-python: A Case Study in Bangladesh","authors":"Sayeed Hasan, Md. Rifat Hazari, Effat Jahan, Mohammad Abdul Mannan","doi":"10.53799/ajse.v22i3.733","DOIUrl":null,"url":null,"abstract":"The article focuses on sizing and designing microgrids with pvlib-python and the Python programming language. Pvlib-python is a free and open-source program for simulating solar photovoltaic (PV) systems. For the design, an existing case study of an agricultural microgrid comprised of PV arrays, batteries, and a biogas-based generator in an off-grid configuration was explored. The solar resources and PV system were modeled using pvlib-python, while the rest of the microgrid was built and simulated using a custom dispatch algorithm written in Python. The study also discussed an in-depth strategy for modeling PV utilizing various data sources using the included modules and functions. A similarly specified microgrid was also modeled in Homer Pro software and the results from the designed microgrid in Python were compared. The hourly distribution of data for both tools exhibits a noticeable deviation. The daily and annual distribution of most of the parameters, on the other hand, produce comparable results.","PeriodicalId":224436,"journal":{"name":"AIUB Journal of Science and Engineering (AJSE)","volume":"593 ","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2023-12-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"AIUB Journal of Science and Engineering (AJSE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.53799/ajse.v22i3.733","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
The article focuses on sizing and designing microgrids with pvlib-python and the Python programming language. Pvlib-python is a free and open-source program for simulating solar photovoltaic (PV) systems. For the design, an existing case study of an agricultural microgrid comprised of PV arrays, batteries, and a biogas-based generator in an off-grid configuration was explored. The solar resources and PV system were modeled using pvlib-python, while the rest of the microgrid was built and simulated using a custom dispatch algorithm written in Python. The study also discussed an in-depth strategy for modeling PV utilizing various data sources using the included modules and functions. A similarly specified microgrid was also modeled in Homer Pro software and the results from the designed microgrid in Python were compared. The hourly distribution of data for both tools exhibits a noticeable deviation. The daily and annual distribution of most of the parameters, on the other hand, produce comparable results.