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
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.

回答(1 个)

Divyanshu
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.
  • 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.
  4 个评论
Divyanshu
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.
RAGHUVEER RAJESH
RAGHUVEER RAJESH 2024-8-2
Hello @Divyanshu, Thank you once again for your response. I understand that this might not be direct solution for my problem. And I appriciate your efforts.
What I am trying to figure out is, how do I know what is the solution? Where could I possibly find the solution to this compatibility issue? Is it documented anywhere by @MathWorks Support Team? I need to provide refrences to everyhting I do in the model. Where can I find the reference for the technique you have exaplined? @MathWorks Support Team could you please help me finding a proper documented reference for the above method.
@MathWorks Support Team, whenever I work with simscape, I have this issue. Where is the port compatability defined?? I couldnt find any documentation related to this.
Thanks in advance...

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Electrical Sensors 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by