Filter löschen
Filter löschen

getpowerlosses - variable during simulation

1 Ansicht (letzte 30 Tage)
Christian Kiepfer
Christian Kiepfer am 3 Mai 2020
Beantwortet: Sabin am 18 Mär. 2023
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 Kommentare
Paresh yeole
Paresh yeole am 3 Mai 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 am 3 Mai 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?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Sabin
Sabin am 18 Mär. 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.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by