You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This conversion is redundant. We already have DatasetHandler which handles datasets.
Adjustments
Create export function in DatasetHandler to export a std::span for a single component.
Remove export_dataset function in DatasetHandler.
Change the constructor, get output, and update function of MainModel to receive range of a certain component type.
Create a new class OwningDataset to contain owned buffers. This can be used for the validation test and later for the serialization-to-serialization API for the C-API. (msgpack input -> msgpack output).
The text was updated successfully, but these errors were encountered:
Background
Currently we use
Dataset
as the input view forMainModel
, such as:power-grid-model/power_grid_model_c/power_grid_model/include/power_grid_model/main_model.hpp
Lines 101 to 102 in 9521280
The C-API receives
DatasetHandler
, we have a function to export to aDataset
. See blow:power-grid-model/power_grid_model_c/power_grid_model/include/power_grid_model/auxiliary/dataset_handler.hpp
Lines 69 to 71 in 9521280
This conversion is redundant. We already have
DatasetHandler
which handles datasets.Adjustments
DatasetHandler
to export astd::span
for a single component.export_dataset
function inDatasetHandler
.MainModel
to receiverange
of a certain component type.OwningDataset
to contain owned buffers. This can be used for the validation test and later for the serialization-to-serialization API for the C-API. (msgpack
input ->msgpack
output).The text was updated successfully, but these errors were encountered: