Giter Site home page Giter Site logo

mzy2240 / gridcal Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sanpen/gridcal

0.0 1.0 0.0 258.88 MB

GridCal, a cross-platform power systems solver written in Python with user interface and embedded python console

License: Other

Python 98.40% Batchfile 0.01% Shell 0.01% HTML 0.04% TeX 0.32% Jupyter Notebook 0.21% C++ 0.13% PostScript 0.43% MATLAB 0.43% Cython 0.04%

gridcal's Introduction

Codacy Badge Documentation Status Build Status DOI Downloads

What is this?

This software aims to be a complete platform for power systems research and simulation.

Installation

You can choose to install GridCal through pip or just get a standalone setup ready to run.

For more options and details follow the installation instructions.

Execution

If you have just installed GridCal on your python distribution, you can call the GUI with the following command:

python3 -c "from GridCal.ExecuteGridCal import run; run()"

Testing GridCal

python3 -m venv venv
venv/bin/python -m pip install --upgrade -r requirements_venv.txt
venv/bin/python -m tox

For detailed instructions, follow the instructions from the project's documentation.

Tutorials

Batteries included

In an effort to ease the simulation and construction of grids, We have included extra materials to work with. These are included in the standalone setups.

Here you can find:

  • Load profiles for your projects
  • Standard IEEE grids as well as grids from open projects
  • Equipment catalogue (Wires, Cables and Transformers) ready to use in GridCal

Examples

Examples are included in Tutorials section. In addition, the tests under src/tests may serve as valuable examples.

Features overview

It is pure Python, it works for Windows, Linux and OSX.

Some features you'll find already are:

  • Compatible with other formats:

    • Import (Drag & Drop)

      • CIM (Common Information Model v16)
      • PSS/e RAW versions 29, 30, 32, 33 and 34.
      • Matpower (might not be fully compatible, notify me if not).
      • DigSilent .DGS (not be fully compatible: Only positive sequence and devices like loads, generators, etc.)
    • Export

      • Zip file .gridcal with CSV inside (fastest, normal GridCal format)
      • Sqlite
      • Excel
      • Custom JSON
      • CIM (Common Information Model v16)
  • Power flow:

    • State of the art multi-terminal AC/DC Newton Raphson in power and current equations.
    • Newton Raphson Iwamoto (optimal acceleration).
    • Fast Decoupled Power Flow
    • AC/DC multi-terminal Levenberg-Marquardt (Works very well with large ill-conditioned grids)
    • Holomorphic Embedding Power Flow (Unicorn under investigation...)
    • DC approximation.
    • Linear AC approximation.
  • Optimal power flow (OPF) and generation dispatch:

    • Linear (DC) with losses.
    • Linear (Ac) with losses.
    • Loss-less simple generation dispatch.
    • All the modes can be split the runs in hours, days, weeks or months!
  • Time series with profiles in all the objects physical magnitudes.

  • PTDF approximated branch flow time series for super fast estimation of the flows.

  • Bifurcation point with predictor-corrector Newton-Raphson.

  • Monte Carlo / Latin Hypercube stochastic power flow based on the input profiles.

  • Blackout cascading in simulation and step by step mode.

  • Three-phase short circuit.

  • Includes the Z-I-P load model, this means that the power flows can handle both power and current.

  • The ability to handle island grids in all the simulation modes.

  • Profile editor and importer from Excel and CSV.

  • Grid elements' analysis to discover data problems.

  • Overhead line construction from wire scheme.

  • Device templates (lines and transformers).

  • Grid reduction based on branch type and filtering by impedance values

  • Export the schematic in SVG and PNG formats.

Check out the documentation to learn more and to get started.

Collaborators

  • Michel Lavoie (Transformer automation)
  • Bengt Lüers (Better testing)
  • Josep Fanals Batllori (HELM)
  • Manuel Navarro Catalán (Better documentation)
  • Paul Schultz (Grid Generator)

Contact

Send feedback and requests to [email protected].

gridcal's People

Contributors

sanpen avatar miek770 avatar bengt avatar manuelnvro avatar atmurray avatar codacy-badger avatar bsanjuan avatar eyllanesc avatar

Watchers

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.