Hello guys, currently I am doing a project based on Power Sharing between Solar Home Systems by Smart Control of Power Flow. Any access energy will be share a common DC grid line (neighbouring PV system interconnected each other) based on a certain logic. I need to use a microcontroller which helps to control the power flow by certain simple logic below :
For a PV system, Initially, a microcontroller is checked the panel voltage, If panel voltage is available, then the solar panel will supply the load power. Also, the battery condition is checked simultaneously. If the state of charge of the battery is less than 90%, then the battery is also charged from panel voltage, otherwise, the excess panel voltage goes to the grid for sharing. In the meantime, If there is no panel voltage like abnormal weather and night times, the battery condition is checked and if there is significant charge in the battery, then battery supplies load with necessary voltage, else the microcontroller looks for available power from the grid to borrow where other SHS also interconnected. So voltage and the current sensor also included measuring the power how much send to the grid and how much (KWH or unit) take from the grid.
So now I need help, hopefully, someone will help me how can I start to code it in Arduino ....... or how can I model it MATLAB Simulink. I am looking forward to hearing someone
best regards
Thank You
Md Abu Sayed