getpowerlosses - variable during simulation

1 view (last 30 days)
Hello,
I am working on an electrical circuit with a few semiconductor components and I want to get the power losses of them. Generally the function:
ee_getPowerLossTimeSeries(node) works pretty good. It takes an internal variable called power_dissipated from each simulink block.
https://de.mathworks.com/help/physmod/sps/ref/ee_getpowerlosstimeseries.html
But I am getting the power losses of this function first, when the simulation is done.
I need the power losses during the simulation. Has anybody an idea, how I can get the power loss data during the simulation?
Thank you so much!
  2 Comments
Paresh yeole
Paresh yeole on 3 May 2020
Hey,
as the ee_getPowerLossTimeSeries(node) function gives the logged values from the simulink,
did you try to look into data inspector in simulink?
That's where the all the logged signals should be visible even during the simulation.
Christian Kiepfer
Christian Kiepfer on 3 May 2020
Hey Paresh yeole,
thank you so much for your answer!
I tried it on a MOSFET, but I can only visualize "outer" Signals not internal with the data inspector. Can I select somewhere the kind of variables, which I want to visualize with the data inspector?

Sign in to comment.

Accepted Answer

Sabin
Sabin on 18 Mar 2023
From R2023a it is possible to use the Probe block to access the same variables that you can see in the simulation data log. This should enable access to the power_dissipated variable.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!