Specialized Power Systems Multimeter Block

3 ビュー (過去 30 日間)
Zbigniew Wolanski
Zbigniew Wolanski 2024 年 4 月 22 日
コメント済み: Zbigniew Wolanski 2024 年 4 月 23 日
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!
  1 件のコメント
Zbigniew Wolanski
Zbigniew Wolanski 2024 年 4 月 23 日
Very nice, thank you.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by