How to convert a simpower system network into a graph with nodes and edges

조회 수: 4 (최근 30일)
Djibril DIOP
Djibril DIOP 2017년 9월 23일
댓글: Siddharth Jawahar 2017년 9월 29일
Hi, I've modeled a power system via simpowersystems and want to convert this electrical network into a matlab graph with nodes and edges. My idea is to know what electrical component is connected to which node so that to use this information in an algorithm. Please advice.

답변 (1개)

Siddharth Jawahar
Siddharth Jawahar 2017년 9월 28일
It would be great if you could explain what these nodes and edges would be. Probably a visual representation of what you are trying to achieve would be helpful. And what properties of the node and edge would be used in the algorithm? Like current and voltage?
  댓글 수: 2
Djibril DIOP
Djibril DIOP 2017년 9월 28일
Hi, Thank for the feedback. Please find attached an example of electrical network. What I want to know through the graph is to get a tree-like structure of the grid in real-time and to know what equipment is connected to what node and if one equipment is actually connected/disconnected to/from the grid. Also to know what current is flowing on each edge. Thank you.
Siddharth Jawahar
Siddharth Jawahar 2017년 9월 29일
Thanks for your reply. Firstly, there are no built in functions that would get the tree representation out. With that out of the questions lets look at some of the options.
1)You could write a script to build a tree structure starting from a node say a generator. You could use the 'get_param' property to get to the outport and start navigating as such to reach the whole diagram. But the complexity come in when you don't know whether to create a new node if you have already passed by that one. Automating this would be a hard task. You can refer to the following link for the get_param options: https://www.mathworks.com/help/simulink/slref/block-specific-parameters.html
2) One more way is to come up with a connection matrix for the nodes available. 0 would represent the breaker is tripped and 1 would mean the opposite. For the connected nodes you get other information like the current and the real and reactive power flowing between the nodes

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Power Converters에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by