Coder Social home page Coder Social logo

edxu96 / mgrid Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 2.0 3.33 MB

multilayer network for power grid with multiple voltage levels

Home Page: https://edxu96.github.io/mgrid

License: GNU General Public License v3.0

Python 98.13% Makefile 1.01% HTML 0.86%
graph-theory planar-geometry power-grid topology vertex-splitting

mgrid's Introduction

Edward's Github Stats

Edward has an MSc in engineering from Technical University of Denmark (DTU), and works as a mathematical modeller / software engineer at encoord in Essen, Germany. He is familiar with techniques from mathematical simulation, mathematical modelling and graph theory.

You can know more about him through https://edxu96.github.io/ and have a look at his resume.

mgrid's People

Contributors

edxu96 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mgrid's Issues

Utility to rename curve terminals

It is not necessary to assign every edge attribute in graph, because, for now, only one can be used in vertex splitting. Instead, a dictionary mapping new edges to the original after splitting can be used to update any dataframe associated with edges.

Split multiple vertices

When to specify which vertices should be split, it is not recommended to
use some vertex attribute. Multiple sets of vertices can be passed.
Different arguments can be used each time accordingly.

Find cut(-set) between components

There can another graph never adding new edge from vertex splitting. Then we know how number of components grows. However, it cannot help find cut-sets.(not necessary, should have a property)

Components can be seen in different layers, and cut-sets connect them.

Steps

  • Find all split vertex in first component.
  • Find their pairs.
  • If another component, the edge is in the cut-set.

Intro to multilayer network

To Do

  • most general multilayer network
  • supra-adjacency matrix
  • nodes in different layers are usually distinguished

Inapplicable

  • Tensorial formalism

Set the attribute of resulted edge None

Current, a new attribute split_ is set True. Instead, the attributed used in clustering associated edges can be set None, indicating that the attribute of the new edge is not meaningful.

Networkx function not work

Functions like edge_subgraph will not work if the class is unable to initiate empty networkx graph. The following TypeError will occur:

TypeError: __init__() missing 1 required positional argument: 'g'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.