SlideShare a Scribd company logo
1 of 15
Download to read offline
Power Grid Model Workshop
18 January 2024
Alliander N.V. | powergridmodel@lists.lfenergy.org
Agenda (UTC+1)
• 14:00 Welcome + Environment setup
• 14:10 PGM introduction
- Model Function​:Power-flow calculation / State estimation / Short circuit calculation / …...
- Usage from existing solutions : Vision / Pandapower
- Calculation methods
• 14:20 Power flow example + Power flow assignment 1(10), 2 + 3(5), 4(2)
• 15:00 Coffee break
• 15:10 Power flow example + Power flow assignment 5(10), 6(20)
• 16:00 Coffee break
• 16:10 Error handling, State estimation, Short circuit, Serialization
• 17:00 End
Environment Setup
Where would we use it?
• Network Planning
• Contingency Analysis
PGM function
Network
data
• Topology
• Component
attributes
Assumed
load/generat
ion profile
Output
• Bus / Node Voltage
• Magnitude
• Angle
• Power flow at
branches
(Power Flow Calculation)
What-if Analysis
PGM function
(State Estimation)
Where would we use it?
• Estimated States of Real Data
• Bad Data Detection
• Input for Control Operations
Network
data
• Topology
• Component
attributes
Measurements
• Power flow
• Voltage
Output
• Bus / Node Voltage
• Magnitude
• Angle
• Power flow at
branches
• Deviation in all
measurement values
PGM function
(Short Circuit Calculation Based on Standard IEC-60909)
Where would we use it?
• Relay Co-ordination
• Network Planning
Network
data
• Topology
• Component
attributes
Fault(s)
• Impedance
• Location
• Type
Output
• Bus / Node Voltage
at fault conditions
• Magnitude
• Angle
• Steady state short
circuit current
flowing through all
components
Usage from existing solutions​
• Vision
- Current strategy
Vision .xlsx Exports → PGM inputs (.xlsx)
- Future plan
Vision .vnf file → PGM inputs (.xlsx)
from power_grid_model import PowerGridModel
from power_grid_model_io.converters.vision_excel_converter import VisionExcelConverter
# Convert Vision file
vision_converter = VisionExcelConverter(source_file="vision_file.xlsx")
input_data, extra_info = vision_converter.load_input_data()
# Perform power flow calculation
grid = PowerGridModel(input_data=input_data)
output_data = grid.calculate_power_flow()
Usage from existing solutions​
• Vision
- Current strategy
Vision .xlsx Exports → PGM inputs (.xlsx)
- Future plan
Vision .vnf file → PGM inputs (.xlsx)
• Pandapower from power_grid_model import PowerGridModel
from power_grid_model_io.converters import PandaPowerConverter
# Convert pandapower net
pp_converter = PandaPowerConverter()
input_data, extra_info = pp_converter.load_input_data(pp_net)
# Perform power flow calculation
grid = PowerGridModel(input_data=input_data)
output_data = grid.calculate_power_flow()
from power_grid_model import PowerGridModel
from power_grid_model_io.converters.vision_excel_converter import VisionExcelConverter
# Convert Vision file
vision_converter = VisionExcelConverter(source_file="vision_file.xlsx")
input_data, extra_info = vision_converter.load_input_data()
# Perform power flow calculation
grid = PowerGridModel(input_data=input_data)
output_data = grid.calculate_power_flow()
Usage from existing solutions​
• Vision
- Current strategy
Vision .xlsx Exports → PGM inputs (.xlsx)
- Future plan
Vision .vnf file → PGM inputs (.xlsx)
• Pandapower from power_grid_model import PowerGridModel
from power_grid_model_io.converters import PandaPowerConverter
# Convert pandapower net
pp_converter = PandaPowerConverter()
input_data, extra_info = pp_converter.load_input_data(pp_net)
# Perform power flow calculation
grid = PowerGridModel(input_data=input_data)
output_data = grid.calculate_power_flow()
from power_grid_model import PowerGridModel
from power_grid_model_io.converters.vision_excel_converter import VisionExcelConverter
# Convert Vision file
vision_converter = VisionExcelConverter(source_file="vision_file.xlsx")
input_data, extra_info = vision_converter.load_input_data()
# Perform power flow calculation
grid = PowerGridModel(input_data=input_data)
output_data = grid.calculate_power_flow()
import pandapower as pp
# Run power-grid-model directly from pandapower
pp.runpp_pgm(net)
• Iterative methods:
Exact solution within given input tolerance
• Newton Raphson
– Traditional and robust.​
• Iterative Current
– Faster than Newton-Raphson in certain cases. Jacobi method. Equivalent to backward-forward sweep
in radial networks.​
• Linear methods:
Approximate solution. Use only when voltage of bus (p.u.) ≈ 1
• Linear Impedance
– All loads are modelled as constant impedance.​
• Linear Current
– Loads and generations assume supplied voltage as 1 p.u. (i.e. single iteration of iterative current).
(Power Flow Calculation)
Calculation method
• Iterative methods:
Linear weighted least squares
(State Estimation)
Calculation method
• Iterative methods:
Linear weighted least squar
• via link:
- https://github.com/PowerGridModel/power-grid-model-workshop​
• Extra info:
- https://power-grid-model.readthedocs.io/en/stable/
- https://power-grid-model-io.readthedocs.io/en/stable/
Workshop
Serialization
• Load and dump PGM datasets from/to:
- JSON
- Msgpack
• Example:
- https://power-grid-model.readthedocs.io/en/stable/examples/Serialization%20Example.html
Assignment time
● Assignment 1
● Assignment 2
● Assignment 3
● Assignment 4
● Assignment 5
● Assignment 6
Thanks!

More Related Content

Similar to Power Grid Model Workshop - 18 January 2024

IGVC 2010 Presentation
IGVC 2010 PresentationIGVC 2010 Presentation
IGVC 2010 Presentation
devchandan
 
Tooling for Machine Learning: AWS Products, Open Source Tools, and DevOps Pra...
Tooling for Machine Learning: AWS Products, Open Source Tools, and DevOps Pra...Tooling for Machine Learning: AWS Products, Open Source Tools, and DevOps Pra...
Tooling for Machine Learning: AWS Products, Open Source Tools, and DevOps Pra...
SQUADEX
 
WECC_JSIS_LSE_21sept15
WECC_JSIS_LSE_21sept15WECC_JSIS_LSE_21sept15
WECC_JSIS_LSE_21sept15
Lin Zhang, PhD
 
BGPC: Energy-Efficient Parallel Computing Considering Both Computational and ...
BGPC: Energy-Efficient Parallel Computing Considering Both Computational and ...BGPC: Energy-Efficient Parallel Computing Considering Both Computational and ...
BGPC: Energy-Efficient Parallel Computing Considering Both Computational and ...
Tarik Reza Toha
 

Similar to Power Grid Model Workshop - 18 January 2024 (20)

Adaptive Query Optimization
Adaptive Query OptimizationAdaptive Query Optimization
Adaptive Query Optimization
 
Решения WANDL и NorthStar для операторов
Решения WANDL и NorthStar для операторовРешения WANDL и NorthStar для операторов
Решения WANDL и NorthStar для операторов
 
Exploiting GPU's for Columnar DataFrrames by Kiran Lonikar
Exploiting GPU's for Columnar DataFrrames by Kiran LonikarExploiting GPU's for Columnar DataFrrames by Kiran Lonikar
Exploiting GPU's for Columnar DataFrrames by Kiran Lonikar
 
Measurement validation peak load reduction
Measurement validation peak load reductionMeasurement validation peak load reduction
Measurement validation peak load reduction
 
IGVC 2010 Presentation
IGVC 2010 PresentationIGVC 2010 Presentation
IGVC 2010 Presentation
 
Architectural Optimizations for High Performance and Energy Efficient Smith-W...
Architectural Optimizations for High Performance and Energy Efficient Smith-W...Architectural Optimizations for High Performance and Energy Efficient Smith-W...
Architectural Optimizations for High Performance and Energy Efficient Smith-W...
 
OPAL-RT Real time simulation using RT-LAB
OPAL-RT Real time simulation using RT-LABOPAL-RT Real time simulation using RT-LAB
OPAL-RT Real time simulation using RT-LAB
 
Spark Summit EU talk by Nick Pentreath
Spark Summit EU talk by Nick PentreathSpark Summit EU talk by Nick Pentreath
Spark Summit EU talk by Nick Pentreath
 
Track A-2 基於 Spark 的數據分析
Track A-2 基於 Spark 的數據分析Track A-2 基於 Spark 的數據分析
Track A-2 基於 Spark 的數據分析
 
Tooling for Machine Learning: AWS Products, Open Source Tools, and DevOps Pra...
Tooling for Machine Learning: AWS Products, Open Source Tools, and DevOps Pra...Tooling for Machine Learning: AWS Products, Open Source Tools, and DevOps Pra...
Tooling for Machine Learning: AWS Products, Open Source Tools, and DevOps Pra...
 
PL/CUDA - Fusion of HPC Grade Power with In-Database Analytics
PL/CUDA - Fusion of HPC Grade Power with In-Database AnalyticsPL/CUDA - Fusion of HPC Grade Power with In-Database Analytics
PL/CUDA - Fusion of HPC Grade Power with In-Database Analytics
 
WECC_JSIS_LSE_21sept15
WECC_JSIS_LSE_21sept15WECC_JSIS_LSE_21sept15
WECC_JSIS_LSE_21sept15
 
FDMEE Taking Source Filters to the Next Level
FDMEE Taking Source Filters to the Next LevelFDMEE Taking Source Filters to the Next Level
FDMEE Taking Source Filters to the Next Level
 
pgconfasia2016 plcuda en
pgconfasia2016 plcuda enpgconfasia2016 plcuda en
pgconfasia2016 plcuda en
 
BGPC: Energy-Efficient Parallel Computing Considering Both Computational and ...
BGPC: Energy-Efficient Parallel Computing Considering Both Computational and ...BGPC: Energy-Efficient Parallel Computing Considering Both Computational and ...
BGPC: Energy-Efficient Parallel Computing Considering Both Computational and ...
 
Power Electronics with Embedded System
Power Electronics with Embedded SystemPower Electronics with Embedded System
Power Electronics with Embedded System
 
RT15 Berkeley | End-to-End Simulation Solution for Smart Grids Applications -...
RT15 Berkeley | End-to-End Simulation Solution for Smart Grids Applications -...RT15 Berkeley | End-to-End Simulation Solution for Smart Grids Applications -...
RT15 Berkeley | End-to-End Simulation Solution for Smart Grids Applications -...
 
5378086.ppt
5378086.ppt5378086.ppt
5378086.ppt
 
Ge aviation spark application experience porting analytics into py spark ml p...
Ge aviation spark application experience porting analytics into py spark ml p...Ge aviation spark application experience porting analytics into py spark ml p...
Ge aviation spark application experience porting analytics into py spark ml p...
 
RAMSES: Robust Analytic Models for Science at Extreme Scales
RAMSES: Robust Analytic Models for Science at Extreme ScalesRAMSES: Robust Analytic Models for Science at Extreme Scales
RAMSES: Robust Analytic Models for Science at Extreme Scales
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

Power Grid Model Workshop - 18 January 2024

  • 1. Power Grid Model Workshop 18 January 2024 Alliander N.V. | powergridmodel@lists.lfenergy.org
  • 2. Agenda (UTC+1) • 14:00 Welcome + Environment setup • 14:10 PGM introduction - Model Function​:Power-flow calculation / State estimation / Short circuit calculation / …... - Usage from existing solutions : Vision / Pandapower - Calculation methods • 14:20 Power flow example + Power flow assignment 1(10), 2 + 3(5), 4(2) • 15:00 Coffee break • 15:10 Power flow example + Power flow assignment 5(10), 6(20) • 16:00 Coffee break • 16:10 Error handling, State estimation, Short circuit, Serialization • 17:00 End
  • 4. Where would we use it? • Network Planning • Contingency Analysis PGM function Network data • Topology • Component attributes Assumed load/generat ion profile Output • Bus / Node Voltage • Magnitude • Angle • Power flow at branches (Power Flow Calculation) What-if Analysis
  • 5. PGM function (State Estimation) Where would we use it? • Estimated States of Real Data • Bad Data Detection • Input for Control Operations Network data • Topology • Component attributes Measurements • Power flow • Voltage Output • Bus / Node Voltage • Magnitude • Angle • Power flow at branches • Deviation in all measurement values
  • 6. PGM function (Short Circuit Calculation Based on Standard IEC-60909) Where would we use it? • Relay Co-ordination • Network Planning Network data • Topology • Component attributes Fault(s) • Impedance • Location • Type Output • Bus / Node Voltage at fault conditions • Magnitude • Angle • Steady state short circuit current flowing through all components
  • 7. Usage from existing solutions​ • Vision - Current strategy Vision .xlsx Exports → PGM inputs (.xlsx) - Future plan Vision .vnf file → PGM inputs (.xlsx) from power_grid_model import PowerGridModel from power_grid_model_io.converters.vision_excel_converter import VisionExcelConverter # Convert Vision file vision_converter = VisionExcelConverter(source_file="vision_file.xlsx") input_data, extra_info = vision_converter.load_input_data() # Perform power flow calculation grid = PowerGridModel(input_data=input_data) output_data = grid.calculate_power_flow()
  • 8. Usage from existing solutions​ • Vision - Current strategy Vision .xlsx Exports → PGM inputs (.xlsx) - Future plan Vision .vnf file → PGM inputs (.xlsx) • Pandapower from power_grid_model import PowerGridModel from power_grid_model_io.converters import PandaPowerConverter # Convert pandapower net pp_converter = PandaPowerConverter() input_data, extra_info = pp_converter.load_input_data(pp_net) # Perform power flow calculation grid = PowerGridModel(input_data=input_data) output_data = grid.calculate_power_flow() from power_grid_model import PowerGridModel from power_grid_model_io.converters.vision_excel_converter import VisionExcelConverter # Convert Vision file vision_converter = VisionExcelConverter(source_file="vision_file.xlsx") input_data, extra_info = vision_converter.load_input_data() # Perform power flow calculation grid = PowerGridModel(input_data=input_data) output_data = grid.calculate_power_flow()
  • 9. Usage from existing solutions​ • Vision - Current strategy Vision .xlsx Exports → PGM inputs (.xlsx) - Future plan Vision .vnf file → PGM inputs (.xlsx) • Pandapower from power_grid_model import PowerGridModel from power_grid_model_io.converters import PandaPowerConverter # Convert pandapower net pp_converter = PandaPowerConverter() input_data, extra_info = pp_converter.load_input_data(pp_net) # Perform power flow calculation grid = PowerGridModel(input_data=input_data) output_data = grid.calculate_power_flow() from power_grid_model import PowerGridModel from power_grid_model_io.converters.vision_excel_converter import VisionExcelConverter # Convert Vision file vision_converter = VisionExcelConverter(source_file="vision_file.xlsx") input_data, extra_info = vision_converter.load_input_data() # Perform power flow calculation grid = PowerGridModel(input_data=input_data) output_data = grid.calculate_power_flow() import pandapower as pp # Run power-grid-model directly from pandapower pp.runpp_pgm(net)
  • 10. • Iterative methods: Exact solution within given input tolerance • Newton Raphson – Traditional and robust.​ • Iterative Current – Faster than Newton-Raphson in certain cases. Jacobi method. Equivalent to backward-forward sweep in radial networks.​ • Linear methods: Approximate solution. Use only when voltage of bus (p.u.) ≈ 1 • Linear Impedance – All loads are modelled as constant impedance.​ • Linear Current – Loads and generations assume supplied voltage as 1 p.u. (i.e. single iteration of iterative current). (Power Flow Calculation) Calculation method
  • 11. • Iterative methods: Linear weighted least squares (State Estimation) Calculation method
  • 12. • Iterative methods: Linear weighted least squar • via link: - https://github.com/PowerGridModel/power-grid-model-workshop​ • Extra info: - https://power-grid-model.readthedocs.io/en/stable/ - https://power-grid-model-io.readthedocs.io/en/stable/ Workshop
  • 13. Serialization • Load and dump PGM datasets from/to: - JSON - Msgpack • Example: - https://power-grid-model.readthedocs.io/en/stable/examples/Serialization%20Example.html
  • 14. Assignment time ● Assignment 1 ● Assignment 2 ● Assignment 3 ● Assignment 4 ● Assignment 5 ● Assignment 6