getpowerlosses - variable during simulation

1 回表示 (過去 30 日間)
Christian Kiepfer
Christian Kiepfer 2020 年 5 月 3 日
回答済み: Sabin 2023 年 3 月 18 日
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
Christian Kiepfer 2020 年 5 月 3 日
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 件)

カテゴリ

Help Center および File ExchangeSources についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by