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 Center および File ExchangePower Converters についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by