Skip to content

PowerIO.jl: bind the distribution C ABI #85

@samtalki

Description

@samtalki

PR #82 added the distribution surface to the C ABI behind the dist cargo feature of powerio-capi: pio_dist_parse_file, pio_dist_parse_str, pio_dist_warnings, pio_dist_to_format, pio_dist_convert_file, pio_dist_convert_str, pio_dist_network_free, all additive (PIO_ABI_VERSION stays 3). PowerIO.jl was deliberately left untouched.

Wiring Julia up needs:

  • the release tarballs to build powerio-capi with --features arrow,dist (today they build --features arrow only), so the artifact PowerIO.jl downloads carries the symbols
  • a DistCase handle type in PowerIO.jl mirroring the C lifetimes (pio_dist_network_free, strings through pio_string_free), with parse_file/parse_str/convert_file/convert_str/to_format/warnings following the naming map in docs/languages.md
  • tandem CI coverage like the existing transmission round trip job

Natural consumer: PowerModelsDistribution users who want the dss/BMOPF conversion without leaving Julia.

Metadata

Metadata

Assignees

No one assigned

    Labels

    interopFormat conversion and ecosystem bridgesjuliaPowerIO.jl and the Julia/C ABI surface

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions