Folder Structure of the Repository
The repository folder structure is as follows. The docs
and scripts
folders are self-explanatory.
The C++ calculation core is inside include/power-grid-model.
The C-API is inside power_grid_model_c.
The C program example to use the C-API is inside power_grid_model_c_example.
The python interface code is in src/power_grid_model
The code for validation of input data is in validation folder.
The [tests](tests) folder is divided in the following way:
cpp_unit_tests
contains the tests for the C++ calculation core.benchmark_cpp
contains a benchmark test case generator in C++.unit
folder contains tests for the python code.data
contains validation test cases designed for every component and algorithm. Some sample network types are also included. The validation is either against popular power system analysis software or hand calculation.