How to change the value to irradiance block from workspace ? in simelectronices
5 views (last 30 days)
Show older comments
I have built a model of 72 solar cells with 72 different Irradiance block.
I want to increase the value of Irradiance from 5 to 1000. in steps of 10. For example first time value of Irradiance Ir1 is 5, Run the Simulink Calculate all the data each time (Which i have done using a function from workspace)
then again increase the valuse of Irradiance Ir2 to 15 Run the Simulink Calculate everything agian
and so on, I cannot change the Irrandiance value? Any Idea how to do it? I need a routine that control the parameter of Irradiance block, but i cannot find it?
But I cannot
0 Comments
Answers (1)
Sabin
on 19 Jun 2025
The Solar Cell has an input Ir for irradiance. This input can be changed during runtime using a simulink signal and and S-PS Converter. If the goal is to change the irradiance several times during one simulation, this can be done importing the proifile from workspace or using the Signal Editor block.
If the scope is to run several simulations using different irradiation, this can be done using a MATLAB script and running the block in a loop. The irradiance can be set using a constant block which can be programatically chaged using set_param.
0 Comments
See Also
Categories
Find more on Electromechanical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!