Skip to content

Latest commit

 

History

History
93 lines (62 loc) · 8.65 KB

File metadata and controls

93 lines (62 loc) · 8.65 KB
graph LR
    Data_I_O_Persistence["Data I/O & Persistence"]
    Network_Model_Core["Network Model Core"]
    Network_Pre_processing_Validation["Network Pre-processing & Validation"]
    Analysis_Optimization_Engine["Analysis & Optimization Engine"]
    Results_Visualization["Results & Visualization"]
    Data_I_O_Persistence -- "Loads Network Data Into" --> Network_Model_Core
    Network_Model_Core -- "Exports Processed Network From" --> Data_I_O_Persistence
    Network_Model_Core -- "Provides Raw Network To" --> Network_Pre_processing_Validation
    Network_Pre_processing_Validation -- "Outputs Validated/Transformed Network To" --> Network_Model_Core
    Network_Model_Core -- "Provides Network for Analysis To" --> Analysis_Optimization_Engine
    Analysis_Optimization_Engine -- "Outputs Updated Network To" --> Network_Model_Core
    Network_Model_Core -- "Provides Data For" --> Results_Visualization
    Analysis_Optimization_Engine -- "Provides Analysis Results To" --> Results_Visualization
    click Data_I_O_Persistence href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/PyPSA/Data_I_O_Persistence.md" "Details"
    click Network_Model_Core href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/PyPSA/Network_Model_Core.md" "Details"
    click Network_Pre_processing_Validation href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/PyPSA/Network_Pre_processing_Validation.md" "Details"
    click Analysis_Optimization_Engine href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/PyPSA/Analysis_Optimization_Engine.md" "Details"
    click Results_Visualization href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/PyPSA/Results_Visualization.md" "Details"
Loading

CodeBoardingDemoContact

Details

The PyPSA framework is structured around a central Network Model Core that serves as the authoritative data repository for power system networks. Data ingress and egress are managed by the Data I/O & Persistence component, which handles various file formats. Raw network data from the Network Model Core is channeled to the Network Pre-processing & Validation component for cleansing, transformation, and aggregation, with the processed data subsequently returned to the Network Model Core. For analytical tasks, the Network Model Core provides network data to the Analysis & Optimization Engine, which performs power flow calculations and solves optimization problems, then updates the Network Model Core with the results. Both the Network Model Core and the Analysis & Optimization Engine feed data into the Results & Visualization component for statistical analysis and graphical representation, enabling comprehensive insights into the power system.

Data I/O & Persistence [Expand]

Manages the import and export of network data from and to various file formats (CSV, Excel, HDF5, NetCDF). It acts as the gateway for external data into the PyPSA environment and for saving results.

Related Classes/Methods:

Network Model Core [Expand]

The foundational data structure representing the entire power system network, including all its components (buses, lines, generators, storage units, etc.), their attributes, and associated time-series or scenario data. It serves as the central repository for all network-related information.

Related Classes/Methods:

Network Pre-processing & Validation [Expand]

Responsible for preparing and ensuring the integrity of the network data. This includes validating data consistency, performing transformations (e.g., per-unit conversion), merging networks, and applying aggregation or clustering techniques (spatial and temporal) to simplify the model.

Related Classes/Methods:

Analysis & Optimization Engine [Expand]

Encompasses the entire analytical and optimization workflow: implementing algorithms for power flow calculations and formulating/solving mathematical optimization problems (defining objective functions, operational constraints, global constraints), interfacing with external optimization solvers, and processing solver output. It also includes functionalities for advanced optimization analyses like multi-objective optimization.

Related Classes/Methods:

Results & Visualization [Expand]

Aggregates and calculates various statistical metrics and key performance indicators from the network data and the results of simulations or optimizations. It also generates geographical maps and various statistical charts to visualize network topology, input data, analysis results, and statistical insights, providing graphical representations for better understanding and communication.

Related Classes/Methods: