- PS-Simulink/Simulink-PS Converter block is used to connect a physical signal to simulink ouput signal or vice versa, this cannot be used to connect two different simscape components.
- Now in-order to measure/observe the waveform or input given to 'Two-Level Converter' you might have to use some blocks from 'Simscape>Electrical>Specialized Power Systems>Utilities' like Voltage-Current Simscape Interface (gnd) or Current-Voltage Simscape Interface (gnd).
- Two-level converter once connect to 'Voltage-Current Simscape Interface (gnd)' the other port of this block can be connected to corresponding sensor to measure/observe the input.
What is the port compatibility for Simscape blocks?
4 ビュー (過去 30 日間)
古いコメントを表示
Hi,
Whenever I work with simscape, I have this issue. Where is the port compatability defined?? I couldnt find any documentation related to this.
Some of the simscpae blocks are not connectable to any other directly in Simulink. Also, the PS-Simulink converter doesnt help
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1744116/image.png)
Here(in the fig), you can see that the A port is not connecting to anything. I tried to use all possible ways. My main aim is to connect scope to it and check the waveform. But its not connecting simply. I tried using a voltage sensor, which is a simscape element. But still its not connecting.
Ps: its not the issue of input ports or output ports. The conservative ports ABC in the above image are output ports of the block.
0 件のコメント
回答 (1 件)
Divyanshu
2024 年 8 月 1 日
Hi Raghuveer,
There is no such documentation which has information about port compatibility of all Simscape blocks. Generally, two blocks which belong to different Simscape Components cannot be connected directly.
4 件のコメント
Divyanshu
2024 年 8 月 2 日
Hi,
I just wanted to direct you towards using the components from same Simscape Paradigm. The blocks which I mentioned earlier are just example which can be used with 'Two-level converter', they may not be required/relevant in your use-case.
Now if you want to observe certain values of 'Two-level converter' on scope block directly:
Here are the measurement blocks which you can directly connect to scope block on one end and other end to 'Two-level converter': 'Current Measurement','Voltage Measurement','Impedance Measurement' etc.
The path to these blocks is: Simscape> Electrical > Specialized Power Systems > Sensors and Measurements.
You may have to choose appropriate block depending upon the use-case.
参考
カテゴリ
Help Center および File Exchange で Electrical Sensors についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!