Is there a way to access the underlying model/script of a Simulink/Simscape component?

9 views (last 30 days)
In particular, I am looking at Simscape Power Systems: PV array. It has this function to plot I-V curves for different values of irradiance and temperature in its configuration parameters, and I want to figure out what formulae they use to plot these curves. I have been trying to replicate their results for awhile now, and my results differ slightly from what they have. The formulae listed in the documentation are not sufficient.
If anyone has any insight on this, your help would be greatly appreciated. Thanks!

Accepted Answer

Nicolas Schmit
Nicolas Schmit on 24 Jan 2018
Edited: Nicolas Schmit on 24 Jan 2018
Unfortunately the function plotting the I-V curve is compiled, which means that you cannot access its source code. There is no way to display the formula used to calculate the curve.

More Answers (1)

Birdman
Birdman on 24 Jan 2018
Edited: Birdman on 24 Jan 2018
Hi Jason,
There is a way at least to view the model. Right click on PV Array and go to Mask->Look Under Mask. There will be opened a Simulink model to implement this PV Array. Hope it will be helpful to you.
  1 Comment
Jason Wong
Jason Wong on 24 Jan 2018
That does help. It might at least provide some further insight into replicating it. Thanks for the response, Birdman!

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!