MATLAB: Measuring Solar Cell Block in Simscape

measurementphotovoltaicsimelectronicsSimscapesimulinksolarsolar cellsolar panel

I am new to the simscape library so I am unsure how to properly simulate physical models. I am trying to measure the current across the "solar cell" block in simscape under standard conditions. I have linked the solar cell block to a current sensor then back to the solar cell block, linking the sensor to a PS-S converter then a scope. I have included a solver configuration block, as required from what I can gather, and set it to ode15s. When I run the simulation, however, I get nothing read out on the scope. I tried adding a resistor as a load to measure the current across that but to no avail – the current reading is still 0 on the scope.
I'm not sure how to proceed,can anyone help me to see the error of my ways? I would be happy to supply the simulink model if needed.

Best Answer

Hi Kevin,
Did you supply the irradiance (light intensity) value? If there's no light supplied, there will be no current.
You do that by feeding a constant value into the physical signal port of the solar cell block.
Regards, YA
Related Question