Skip to content

Latest commit

 

History

History
86 lines (48 loc) · 1.93 KB

power-grid-model-c-api-reference.rst

File metadata and controls

86 lines (48 loc) · 1.93 KB
power_grid_model_c

This is a C-API reference. In the following sections the content of all the headers are shown.

You can include power_grid_model_c.h if you want to use all the symbols (except for the global definition pointers of all datasets, components, attributes).

You can also include one or more of the individual headers to use a subset of the functionality.

-----Main Header -----

The main header is power_grid_model_c.h with all the functions.

power_grid_model_c.h

-----Basics -----

The header power_grid_model_c/basics.h contains definitions of opaque structs and enumerations.

power_grid_model_c/basics.h

-----Handle -----

The header power_grid_model_c/handle.h contains error handling functions.

power_grid_model_c/handle.h

-----Meta Data -----

The header power_grid_model_c/meta_data.h contains functions to retrieve meta data.

power_grid_model_c/meta_data.h

-----Buffer -----

The header power_grid_model_c/buffer.h contains functions of buffer control.

power_grid_model_c/buffer.h

-----Options -----

The header power_grid_model_c/options.h contains functions of creating and setting calculation options.

power_grid_model_c/options.h

Model

The header power_grid_model_c/model.h contains functions to create and calculate the main model: Power Grid Model.

power_grid_model_c/model.h

-----Dataset Definitions -----

The header power_grid_model_c/dataset_definitions.h contains extern global pointer variables of all datasets, compoments, and attributes. This header is not included in power_grid_model_c.h, you need to include it separately.

power_grid_model_c/dataset_definitions.h