{"id":16598,"date":"2023-08-15T05:15:23","date_gmt":"2023-08-15T09:15:23","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/?p=16598"},"modified":"2023-08-15T05:20:21","modified_gmt":"2023-08-15T09:20:21","slug":"simulate-home-battery-management-system","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2023\/08\/15\/simulate-home-battery-management-system\/","title":{"rendered":"Simulate Home Battery Management System"},"content":{"rendered":"<div class = rtcContent><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><a href = \"https:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/869871\"><span>Jiro<\/span><\/a><span>'s Pick this week is <\/span><a href = \"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/127044\"><span>Home Battery Energy Management System<\/span><\/a><span> by <\/span><a href = \"https:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/6664770\"><span>Rodney Tan<\/span><\/a><span>.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>I met Dr. Rodney Tan at a virtual educator workshop we held last year, and there I learned that he is very active in the community with <\/span><a href = \"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/?q=profileid:6664770\"><span>over 100 File Exchange entries<\/span><\/a><span>. His entries are educational in nature, and they help illustrate concepts through simulations and interactivity. <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>The other day, I was looking through his entries, and this one on Home Battery Management System caught my attention. One of my neighbors just recently installed an array of solar panels on their roof and a home energy management system. Since then, I had been curious about how it all worked. When I read up on it, I saw phrases such as photovoltaic capacity, number of panels, inverter efficiency, and state of charge. This Simulink model by Dr. Tan helped me better understand how it worked by connecting these parameters to the simulation output.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"https:\/\/blogs.mathworks.com\/pick\/files\/potw_homebattery_1.png\" width = \"1000\" height = \"537\" alt = \"\" style = \"vertical-align: baseline; width: 1000px; height: 537px;\"><\/img><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Sample input data sets (solar radiation and home load) are provided with this entry, so you can get a simulation of how the battery state of charge changes over time and how much energy is imported from or exported to the grid.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"https:\/\/blogs.mathworks.com\/pick\/files\/potw_homebattery_2.png\" width = \"914\" height = \"1032\" alt = \"\" style = \"vertical-align: baseline; width: 914px; height: 1032px;\"><\/img><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>From the scope, you can see that the state of charge increases with solar radiation and decreases with load. Energy is exported to the grid when the state of charge is above a threshold and is imported from the grid when the state of charge is below a threshold.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Simulation models such as this help deepen the understanding of complex concepts.<\/span><\/div><h3  style = 'margin: 15px 10px 5px 4px; padding: 0px; line-height: 18px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 17px; font-weight: 700; text-align: left; '><span>Comments<\/span><\/h3><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Give this entry a try and leave a <\/span><a href = \"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/127044\"><span>comment<\/span><\/a><span> for Dr. Tan. If you liked this entry, you should also check out the <\/span><a href = \"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/?q=profileid:6664770\"><span>other entries<\/span><\/a><span> by him. In addition to macro-level models such as this entry, he also has many component-level simulation models.<\/span><\/div>\r\n<\/div><script type=\"text\/javascript\">var css = ''; var head = document.head || document.getElementsByTagName('head')[0], style = document.createElement('style'); head.appendChild(style); style.type = 'text\/css'; if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); }<\/script>","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img src=\"https:\/\/blogs.mathworks.com\/pick\/files\/potw_homebattery_1.png\" class=\"img-responsive attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"\" decoding=\"async\" loading=\"lazy\" \/><\/div><p>Jiro's Pick this week is Home Battery Energy Management System by Rodney Tan.I met Dr. Rodney Tan at a virtual educator workshop we held last year, and there I learned that he is very active in the... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2023\/08\/15\/simulate-home-battery-management-system\/\">read more >><\/a><\/p>","protected":false},"author":35,"featured_media":16589,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/16598"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/comments?post=16598"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/16598\/revisions"}],"predecessor-version":[{"id":16601,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/16598\/revisions\/16601"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media\/16589"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=16598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=16598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=16598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}