raulrpearson / PVSystems

A Modelica library for photovoltaic system and power converter design
https://raulrpearson.github.io/PVSystems/
MIT License
29 stars 10 forks source link

Wrong Cell current when Np>1? #7

Closed max-privato closed 3 years ago

max-privato commented 4 years ago

Consider Electrical,PVArray model. In the active region it is: i = -Np*(Ipv - Id - Ir); I think that Ipv and Id are cell currents, and therefore for computing the array current they must be multiplied by Np. the definition of Ir, instead is: Ir = (v - Rsi)/Rp; therefore it is already the "array" current flowing through Rp. Therefore I think the formula for i should be changed into: `i = -Np(Ipv - Id) + Ir;`

raulrpearson commented 4 years ago

Thanks for your comment @max-privato. Are you still interested in figuring this out?

It's a long time since I completed this project and I don't have the right context loaded into my brain, so I might be missing something. Check out chapter 3 of the thesis doc and let me know what you think.

By applying Kirchoff we have that i = Ipv - Id - Ir for one cell. Times Np for parallel cells. Also check out "Comprehensive Approach to Modeling and Simulation of Photovoltaic Arrays" by M.G. Villalva et al.

Let me know if that helps.

max-privato commented 3 years ago

Thanks for your comment @max-privato. Are you still interested in figuring this out?

Personally, I don't need this ticket to be solved anymore. For the time being, I don't simulate PV systems; moreover, during the last two years, I felt comfortable with Photovoltaics. Thank you for your consideration of my report.