getpowerlosses - variable during simulation

1 次查看(过去 30 天)
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 个评论
Paresh yeole
Paresh yeole 2020-5-3
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
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?

请先登录,再进行评论。

采纳的回答

Sabin
Sabin 2023-3-18
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.

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by