Skip to content

Latest commit

 

History

History
104 lines (58 loc) · 2.28 KB

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

File metadata and controls

104 lines (58 loc) · 2.28 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 core functionality.

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 for buffer control.

power_grid_model_c/buffer.h

-----Dataset -----

The header power_grid_model_c/dataset.h contains functions for dataset control.

power_grid_model_c/dataset.h

-----Options -----

The header power_grid_model_c/options.h contains functions for 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

-----Serialization -----

The header power_grid_model_c/serialization.h contains functions for serializing and deserializing datasets.

power_grid_model_c/serialization.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