Giter VIP home page Giter VIP logo

mat2pws's Introduction

mat2pws

An interface script between Matlab and PowerWorld Simulator.

Licence

None. Feel free to use it as you wish.

Context

Developing smart control strategies for power systems requires testing their behavior and performance, at first in simulation, as shown in a recent paper. To do that, you need a simulation tool capable of advanced analysis (e.g., power flow) and of advanced and customizable control algorithms.

As we could not find any satisfactory existing solution, we developed an interface between two/three software to achieve it: JADE / Matlab / PowerWorld Simulator.

This interface was developed in collaboration with Colorado State University's Dr. Suryanarayanan.

Interface between JADE, Matlab and PowerWorld Simulator

mat2pws is only a portion of the whole interface, as it only concerns the interface between Matlab and PowerWorld Simulator. See mat2jade and jade2pws for the other parts of the whole interface.

Interface concept

This script is a basic interface between Matlab and PowerWorld Simulator with SimAuto. It is based on the documentation of PowerWorld Simulator, and extends the examples provided. It can be easily tested and modified.

Code structure

  • main.m: The test file for Matlab.
  • ieee14.PWB: A test case (the IEEE 14 bus system) created in PowerWorld Simulator.

Using the code

Matlab (tested with R2011b), as well as PowerWorld Simulator (tested with version 16) with the SimAuto add-on that provides COM connectivity are required for using mat2pws.

Code use instructions are as follows:

  1. Get the mat2pws files.
  2. Run the main.m file.
  3. The communication should then be established and data should be exchanged. You should see things displaying in the console. If not, well, there is a problem somewhere.

Please cite one of my papers if you use it, especially for research: http://dx.doi.org/10.1109/DEXA.2012.9

Limitations

  • No extensive testing has been done, so use it at your own risk.
  • If you find bugs, errors, etc., or want to contribute, please let me know.
  • Also refer to PowerWorld's user manual for information on how data is structured.

Contact

Robin Roche - robinroche.com

mat2pws's People

Contributors

robinroche avatar

Stargazers

hustee avatar  avatar Stanton T. Cady avatar

Watchers

 avatar James Cloos avatar

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.