Skip to content

FRESNA/network_pca

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

network_pca

Principal Component Analysis for PyPSA networks. This little collection of functions intends to create and visualise Principal Components for PyPSA networks.

For now the code only works with the current 'allocation' branch in pypsa. Please check this out before using.

Example

import pypsa 
import network_pca as npca


n = pypsa.Network('path/to/pypsa/your/solved_network')
npca.analysis.pcs(n)

npca.plot.components(n, region_data='topology', line_data='flow', plot_colorbar=True, figsize=(16,6), flow_quantile=0.9)

Example of European flow pck

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages