필터 지우기
필터 지우기

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 CenterFile Exchange에서 Sources에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by