Specialized Power Systems Multimeter Block

3 次查看(过去 30 天)
Is there a way to extract numerical results from the phasor analysis of the multimeter block?
What is the output format of this block and how to separate the output measurements into individual items?

采纳的回答

Gayatri
Gayatri 2024-4-23
Hi Zbigniew,
Here are few steps to extract numerical results from the phasor analysis of the multimeter block:
  • Use the Simulation Data Inspector or a "To Workspace" block to log the output of the Multimeter block.
  • If using the Simulation Data Inspector, you can access the logged data through the Simulink interface and export it for further analysis. If using a "To Workspace" block, the data will be saved in the MATLAB workspace in the specified variable.
  • The output format of the Multimeter block typically includes complex numbers: 1) The magnitude of each complex number represents the phasor magnitude of a measured quantity. 2) The angle or phase of each complex number represents the phasor angle.
  • After accessing the output data, you can separate the magnitudes and angles using MATLAB functions as below:
% Assuming phasorData contains the complex phasor output from the Multimeter block
magnitudes = abs(phasorData); % Extract magnitudes
angles = angle(phasorData); % Extract angles (in radians)
Please refer the below documentations for multimeter, Simulation Data Inspector and To Workspace blocks respectively:
I hope it helps!

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Spectral Measurements 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by