Optimal power flow visualisation based on pypsa-eur

Overview

Copper Sushi 🍣

A Power System Analysis and Visualisation Tool

A simple Plotly/Dash web app for visualising power flow optimisation solutions from pypsa-eur.

The web app is deployed here, along with an explanation of the main features.

The pypsa-eur configuration used for the network plotted here can be found in my fork of the pypsa-eur repo: zoltanmaric/pypsa-eur

Local Installation

Installing the dependencies requires Conda, but I recommend installing Mamba (a fully compatible, but better implementation of Conda).

After having installed mamba, just create and activate the Conda environment by running

conda env create -f environment.yml
conda activate coppersushi

Then you can start the server by running

python app.py

Once the server starts, the web app will be available at http://localhost:8050

Installation on Heroku

After creating the Heroku app, run the following to deploy it:

heroku container:push web
heroku container:release web

(based on https://github.com/heroku-examples/python-miniconda)

Performance Profiling

Run the following to show a snakeviz chart of function call durations in your browser.

PYTHONPATH=. python profiling/profiling.py
snakeviz profiling/plot.prof

You might also like...

Framework of scene flow estimation model based on point cloud.

Framework of scene flow estimation model based on point cloud.

OpenPCFlow Introduction A framework of scene flow estimation model based on point cloud. Requirements pytorch = 1.7 numpy numba waymo-open-dataset-tf

Sep 6, 2022

HerosNet: Hyperspectral Explicable Reconstruction and Optimal Sampling Deep Network for Snapshot Compressive Imaging (CVPR2022)

HerosNet: Hyperspectral Explicable Reconstruction and Optimal Sampling Deep Network for Snapshot Compressive Imaging (CVPR2022)

HerosNet: Hyperspectral Explicable Reconstruction and Optimal Sampling Deep Network for Snapshot Compressive Imaging (CVPR 2022) Xuanyu Zhang, Yongbin

Sep 19, 2022

Nondeterministic Optimal Higher-order Machine

NOHM: Nondeterministic Optimal Higher-order Machine This is a research implementation of optimal beta reduction (Asperti98), combining implementation

Mar 9, 2022

Ginex: SSD-enabled Billion-scale Graph Neural Network Training on a Single Machine via Provably Optimal In-memory Caching

Ginex Ginex is a GNN training system for efficient training of a billion-scale dataset on a single machine by using SSD as a memory extension. Ginex a

Sep 29, 2022

This is the official implementation for Estimating the Optimal Covariance with Imperfect Mean in Diffusion Probabilistic Models (Accepted in ICML 2022)

Official implementation for Estimating the Optimal Covariance with Imperfect Mean in Diffusion Probabilistic Models (ICML 2022), and a reimplementation of Analytic-DPM: an Analytic Estimate of the Optimal Reverse Variance in Diffusion Probabilistic Models (ICLR 2022)

Sep 20, 2022

Official Repository for "Optimal Transport for Label-Efficient Visible-Infrared Person Re-Identification", ECCV 2022.

Optimal Transport for Label-Efficient Visible-Infrared Person Re-Identification (OTLA-ReID) This is Official Repository for "Optimal Transport for Lab

Sep 26, 2022

Code for Watch and Match: Supercharging Imitation with Regularized Optimal Transport

Code for Watch and Match: Supercharging Imitation with Regularized Optimal Transport

Watch and Match: Supercharging Imitation with Regularized Optimal Transport This is a repository containing the code for the paper "Watch and Match: S

Sep 12, 2022

algox: python package for assisting users in selecting the most optimal algorithm

algox algox is a python package for assisting users in selecting the most optimal algorithm provided the dataset used must be completely preprocessed.

Aug 14, 2022

Using the premier league api to analyse players data and generate the optimal squad

Using the premier league api to analyse players data and generate the optimal squad

FPL-ideal-team-formation Used the offical premier league api to retrive all players data. Evaluated the players based on : Total points scored by the

Aug 7, 2022
Owner
Zoltán Marić
Zoltán Marić
[CVPR 2022 Oral] CamLiFlow: Bidirectional Camera-LiDAR Fusion for Joint Optical Flow and Scene Flow Estimation

CamLiFlow This is the official PyTorch implementation for paper CamLiFlow: Bidirectional Camera-LiDAR Fusion for Joint Optical Flow and Scene Flow Est

Multimedia Computing Group, Nanjing University 109 Sep 22, 2022
This is a visualisation tool of Conway's Game of Life written in python

Conway's Game of Life This is a visualisation tool of Conway's Game of Life written in python if you make any cool mazes please feel free to contribut

Martin Gurasvili 3 Sep 3, 2022
This is a demo repository for Python application for visualisation of any network topology leveraging NETCONF/YANG data

Drawer of Any Network Topology (DANT) This is a demo repository for an automation tool, which collects the operational data from network devices using

Karneliuk.com 4 Aug 1, 2022
Analysis and visualisation of active OSM users in an area.

OSM Land Gain EN: Analysis and visualisation of active OSM users in an area for QGIS. DE: Script zur Analyse und Visualisierung von aktiven OSM-Usern

null 2 Feb 23, 2022
European Center for Medium-range Weather Forecast (ECMWF) Graphical Data Visualisation

This is a week-long project for learning how to use python with blender. The tool allows to visualise publicly available data from the European Center for Medium-range Weather Forecast.

null 2 Jul 17, 2022
The relevant data and codes of our ISCAS2022 work "Predicting Onset Time of Cascading Failure in Power Systems Using A Neural Network-based Classifier".

Cascading Failure Learning The relevant data and codes of our ISCAS2022 work "Predicting Onset Time of Cascading Failure in Power Systems Using A Neur

Junyuan Fang 6 Sep 16, 2022
A neural network based on the encoder-decoder architecture the modeling power of modern sequence models, Transformers with a set of promising experimental features from various papers.

Multi X Transformers A concise but fully-featured transformer, complete with a set of promising experimental features from various papers. Installatio

Muhammad Faris Adi Prabowo 2 Jul 27, 2022
Simulating Transmission Power Infrastructural System Performance during Hurricanes with a Physics-based Data Generation Engine

Simulating Transmission Power Infrastructural System Performance during Hurricanes with a Physics-based Data Generation Engine This package contains c

Gaby Ou 1 Sep 22, 2022
Audio-Driven Stylized Gesture Generation with Flow-Based Model (ECCV 2022)

Audio-Driven Stylized Gesture Generation with Flow-Based Model (ECCV 2022) This is repository with training and inference code for paper ["Audio-Drive

Sheng Ye 7 Sep 27, 2022
The official implementation of the ECCV 2022 Oral paper: RealFlow: EM-based Realistic Optical Flow Dataset Generation from Videos

[ECCV 2022 Oral] RealFlow: EM-based Realistic Optical Flow Dataset Generation from Videos (Paper) Yunhui Han1, Kunming Luo2, Ao Luo2, Jiangyu Liu2, Ha

MEGVII Research 43 Sep 30, 2022