Expand description
PowerIO C ABI, version 7.
The ABI exposes the same four representation operations as Rust:
pio_parse, pio_emit, pio_module_serialize, and
pio_module_deserialize. Files and memory enter through PioSource;
files, directories, and memory output use PioDestination. Values are
identified by canonical structural type names rather than an ordinal enum.
Modules§
- diagnostics
- The codes the language boundary itself emits, and the workspace gates.
Structs§
- PioAc
BusSpecification View - One bus boundary specification in an AC power flow instance.
- PioAc
DcConverter View - One source neutral AC/DC converter.
- PioAc
OpfBranch View - One active branch row in an AC OPF preparation.
- PioAc
OpfBus View - One dense bus row in an AC OPF preparation.
- PioAc
OpfGenerator View - One generator row in an AC OPF preparation.
- PioAc
OpfPreparation - Owned AC OPF preparation whose borrowed row views remain valid until release.
- PioAc
OpfPreparation View - Shape and conventions of one prepared AC OPF calculation.
- PioAc
OpfStorage View - One storage row in an AC OPF preparation.
- PioActive
Constraint View - One active constraint family and its element selection.
- PioActive
Control View - One active multiconductor equipment control.
- PioActive
Power - Active power replacement with an explicit unit.
- PioActive
Power Control View - Governor and distributed slack settings for a generator or storage element.
- PioApparent
Power - Apparent power replacement with an explicit unit.
- PioArtifact
- Owner-rooted emitted artifact.
- PioBalanced
Area View - One balanced control area.
- PioBalanced
Branch View - One balanced branch or two winding transformer.
- PioBalanced
BusView - One balanced bus. String and coefficient spans borrow from the network.
- PioBalanced
Generator View - One balanced generator.
- PioBalanced
GeoView - Coordinate metadata for a balanced network.
- PioBalanced
Hvdc Converter View - One AC terminal converter station of a balanced HVDC line.
- PioBalanced
Hvdc View - One balanced two terminal HVDC line.
- PioBalanced
Load View - One balanced load.
- PioBalanced
Load Voltage Model View - Voltage dependence attached to one balanced load.
- PioBalanced
Location View - One point in a balanced network coordinate space.
- PioBalanced
Network - Owner-rooted balanced network view.
- PioBalanced
Shunt View - One balanced shunt.
- PioBalanced
Static VarCompensator View - One balanced static VAR compensator.
- PioBalanced
Storage View - One balanced storage element.
- PioBalanced
Switch View - One balanced transmission switch.
- PioBalanced
Three Winding Transformer View - One balanced three winding transformer.
- PioBoundary
Line Generation View - Optional generation attached to one PowSybl boundary line.
- PioBoundary
Line View - One PowSybl boundary line retained beside the balanced calculation view.
- PioBranch
Rating View - One named branch MVA rating beyond rating A, B, and C.
- PioBus
Breaker BusView - One configured bus in bus breaker topology.
- PioBusbar
Section View - One source neutral busbar section.
- PioByte
View - Borrowed binary bytes.
- PioCalculated
BusView - One calculated bus explicitly recorded in node breaker topology.
- PioCalculation
Instance - Owner-rooted calculation instance view.
- PioCalculation
Solution - Owner-rooted calculation solution view.
- PioCalculation
Update - Typed update to a calculation instance.
- PioCase
Metadata View - Source neutral case metadata attached to one subnetwork.
- PioComponent
Alias View - One source neutral component alias.
- PioComponent
Id - Stable, type-qualified component identity.
- PioComponent
IdView - Borrowed stable component identity.
- PioComponent
Metadata View - Source neutral metadata attached to one stable component identity.
- PioConnectivity
Node View - One source neutral connectivity node.
- PioControl
Profile View - One inverter control profile.
- PioDc
BusSpecification View - One bus boundary specification in a DC power flow instance.
- PioDc
Converter Unit View - One source neutral DC converter unit.
- PioDc
Equipment View - One source neutral DC conducting equipment record.
- PioDc
Node View - One physical or energized node in source neutral DC connectivity.
- PioDc
OpfBranch View - One active branch row in a DC OPF preparation.
- PioDc
OpfBus View - One dense bus row in a DC OPF preparation.
- PioDc
OpfGenerator View - One generator row in a DC OPF preparation.
- PioDc
OpfPreparation - Owned DC OPF preparation whose borrowed row views remain valid until release.
- PioDc
OpfPreparation View - Shape and conventions of one prepared DC OPF calculation.
- PioDc
Terminal View - One terminal of source neutral DC conducting equipment.
- PioDestination
- File, directory, or memory output destination.
- PioDetailed
Connectivity - Owner-rooted source neutral hierarchy and detailed connectivity view.
- PioDetailed
Connectivity Counts View - Exact table lengths in source neutral detailed connectivity.
- PioDetailed
Terminal View - One source neutral AC terminal.
- PioDiagnostic
Span View - One borrowed source byte range from a diagnostic.
- PioDiagnostics
- Immutable diagnostic list.
- PioDroop
Curve Segment View - One segment of an AC/DC converter DC voltage droop curve.
- PioEmit
Result - Completed artifact inventory and emission diagnostics.
- PioEquipment
Reactive Limits View - Reactive limits retained for one equipment record.
- PioError
- Structured operation failure.
- PioExternal
Identifier View - One source neutral external component identifier.
- PioF64
View - Borrowed
doublevalues. - PioGenerator
Capability View - One optional generator capability or ramp field.
- PioGenerator
Cost View - One generator cost curve.
- PioGeo
Apply Report - Counts and notes from applying one geographic layer.
- PioGeo
Layer - Parsed geographic sidecar.
- PioInternal
Connection View - One permanent connection between two node breaker connectivity nodes.
- PioInverter
Based Resource View - One inverter based resource.
- PioIsolated
Terminal View - One isolated multiconductor terminal.
- PioJson
Object Entry View - One key and value type in a structured JSON object.
- PioJson
Value - Owner-rooted structured value from module history or extensions.
- PioJson
Value View - One structured JSON value stored in module history or extensions.
- PioJunction
View - One source neutral CIM junction.
- PioModule
- PowerIO value with diagnostics, source mappings, and history.
- PioModule
Extension View - One namespaced structured module extension.
- PioModule
History Entry View - One operation recorded in module history.
- PioModule
History Parameter View - One named structured parameter in a module history entry.
- PioModule
Producer View - Program identity recorded with one module.
- PioModule
Source MapEntry View - One typed value target and its relation to source bytes.
- PioModule
Source View - One durable source descriptor recorded with a module.
- PioMulticonductor
BusView - One multiconductor bus.
- PioMulticonductor
Capacitor View - One multiconductor capacitor.
- PioMulticonductor
Command View - One retained source command.
- PioMulticonductor
Generator View - One multiconductor generator.
- PioMulticonductor
GeoView - Coordinate metadata for a multiconductor network.
- PioMulticonductor
Line Code View - One multiconductor line code.
- PioMulticonductor
Line View - One multiconductor line.
- PioMulticonductor
Load View - One multiconductor load.
- PioMulticonductor
Location View - One point in a multiconductor network coordinate space.
- PioMulticonductor
Network - Owner-rooted multiconductor network view.
- PioMulticonductor
Network Counts View - Exact table lengths in a multiconductor network.
- PioMulticonductor
Shunt View - One multiconductor shunt.
- PioMulticonductor
Switch View - One multiconductor switch.
- PioMulticonductor
Transformer View - One multiconductor transformer.
- PioMulticonductor
Transformer Winding View - One winding of a multiconductor transformer.
- PioMulticonductor
Untyped Object View - One source object retained without a typed PowerIO representation.
- PioMulticonductor
Untyped Property View - One property of an untyped source object.
- PioNetwork
Update - Typed update to physical network data.
- PioObjective
Term View - One typed objective term.
- PioOmitted
Field View - One source field that was absent rather than explicitly assigned a value.
- PioOperating
Point - Owner-rooted operating point view.
- PioOperating
Point Update - Typed update to an operating point.
- PioOperational
Limit Group View - One named source neutral loading limit set at an equipment terminal.
- PioPrescribed
Source Voltage View - One prescribed multiconductor source terminal voltage.
- PioPrescribed
Terminal Power View - One prescribed multiconductor load terminal power.
- PioReactive
Capability Curve Point View - One point of a reactive capability curve.
- PioReactive
Limits View - Min/max or active power dependent reactive limits.
- PioReactive
Power - Reactive power replacement with an explicit unit.
- PioScenario
SetHandle - Owner-rooted scenario set view.
- PioScuc
Active Reserve Period View - One period of an active power reserve zone.
- PioScuc
Active Reserve Zone View - One active power reserve zone.
- PioScuc
Branch Switching Cost View - Connection and disconnection costs for one switchable AC branch.
- PioScuc
Contingency Component View - One component removed by a SCUC contingency.
- PioScuc
Contingency View - One named SCUC contingency.
- PioScuc
Device Period View - One SCUC device period.
- PioScuc
Device View - One SCUC producer or consumer.
- PioScuc
Dimensions View - Set sizes and time horizon of one AC SCUC instance.
- PioScuc
Energy Cost Block View - One piecewise linear active energy cost block.
- PioScuc
Energy Requirement View - One energy requirement over a time window, in per unit as defined by GOC3.
- PioScuc
Initial Commitment View - Initial commitment durations for one SCUC device.
- PioScuc
Ramp Limits View - Active power ramp limits for one SCUC device, in per unit per hour.
- PioScuc
Reactive Capability View - Additional active and reactive power capability relation for one device.
- PioScuc
Reactive Reserve Period View - One period of a reactive power reserve zone.
- PioScuc
Reactive Reserve Zone View - One reactive power reserve zone.
- PioScuc
Reserve Costs View - Reserve costs for one device and one interval, in $/(p.u. h).
- PioScuc
Reserve Limits View - Reserve quantity limits for one SCUC device.
- PioScuc
Shunt View - Discrete step limits for one SCUC shunt.
- PioScuc
Startup Cost Adjustment View - One downtime dependent startup cost adjustment.
- PioScuc
Startup Limit View - One limit on the number of device startups during a time window.
- PioScuc
Transformer Control View - Tap ratio and phase shift bounds for one transformer.
- PioScuc
Violation Cost View - Required SCUC violation costs.
- PioShunt
Block View - One switched shunt block.
- PioSize
View - Borrowed
size_tvalues. - PioSource
- Acquired file, directory, or named memory bytes.
- PioSource
Span View - One borrowed source byte range from a source map entry.
- PioSparse
Matrix - Immutable CSR sparse matrix.
- PioString
- Owned UTF-8 text returned by report functions.
- PioString
Property View - One source neutral string property.
- PioString
View - Borrowed UTF-8 bytes. The bytes need not end in NUL.
- PioSubnetwork
View - One PowSybl subnetwork contained directly by the balanced network.
- PioSubstation
View - One source neutral substation.
- PioTap
Changer Step View - One source neutral transformer tap changer step.
- PioTap
Changer View - One source neutral transformer tap changer.
- PioTemporary
Limit View - One temporary source neutral loading limit.
- PioTerminal
Power View - One terminal of a prescribed multiconductor load.
- PioTerminal
Reference View - Borrowed reference to one numbered equipment terminal.
- PioTerminal
Voltage View - One terminal of a prescribed multiconductor source.
- PioThree
Winding Transformer Impedance View - One pairwise impedance of a balanced three winding transformer.
- PioThree
Winding Transformer Winding View - One winding of a balanced three winding transformer.
- PioTie
Line View - One PowSybl tie line and the two boundary lines that define it.
- PioTime
Series Handle - Owner-rooted time series view.
- PioTopology
Switch View - One source neutral bus breaker or node breaker switch.
- PioTransformer
Control View - Automatic transformer tap or phase control.
- PioUpdate
Change - Owner-rooted view of one changed component field.
- PioUpdate
Report - Exact changes made by one atomic update batch.
- PioValue
Handle - Owner-rooted view of one module or collection value.
- PioVector
- Immutable dense vector.
- PioVoltage
Level View - One source neutral voltage level.
- PioVoltage
Source View - One multiconductor voltage source.
Constants§
- PIO_
ABI_ VERSION - C ABI version.
Functions§
- pio_
abi_ version - Return the ABI number compiled into this library.
- pio_
ac_ ⚠opf_ preparation_ branch_ at - Read one active branch row of an AC OPF preparation.
- pio_
ac_ ⚠opf_ preparation_ bus_ at - Read one dense bus row of an AC OPF preparation.
- pio_
ac_ ⚠opf_ preparation_ generator_ at - Read one generator row of an AC OPF preparation.
- pio_
ac_ ⚠opf_ preparation_ reference_ buses - Borrow the dense reference bus indices of an AC OPF preparation.
- pio_
ac_ ⚠opf_ preparation_ release - pio_
ac_ ⚠opf_ preparation_ retain - pio_
ac_ ⚠opf_ preparation_ skipped_ zero_ impedance - Borrow the analysis rows skipped for zero impedance.
- pio_
ac_ ⚠opf_ preparation_ storage_ at - Read one storage row of an AC OPF preparation.
- pio_
ac_ ⚠opf_ preparation_ summary - Read the dimensions and conventions of an AC OPF preparation.
- pio_
ac_ ⚠pf_ instance_ bus_ specification_ at - Read one AC power flow bus specification by zero based bus table position.
- pio_
ac_ ⚠pf_ instance_ bus_ specification_ count - pio_
ac_ ⚠scuc_ instance_ active_ reserve_ zone_ at - pio_
ac_ ⚠scuc_ instance_ active_ reserve_ zone_ bus_ at - pio_
ac_ ⚠scuc_ instance_ active_ reserve_ zone_ count - pio_
ac_ ⚠scuc_ instance_ active_ reserve_ zone_ period_ at - pio_
ac_ ⚠scuc_ instance_ branch_ switching_ cost_ at - pio_
ac_ ⚠scuc_ instance_ branch_ switching_ cost_ count - pio_
ac_ ⚠scuc_ instance_ contingency_ at - Read one named contingency in source order.
- pio_
ac_ ⚠scuc_ instance_ contingency_ component_ at - Read one stable component identity from a named contingency.
- pio_
ac_ ⚠scuc_ instance_ contingency_ count - Return the number of named contingencies.
- pio_
ac_ ⚠scuc_ instance_ contingency_ get - Read one named contingency by its exact source UID.
- pio_
ac_ ⚠scuc_ instance_ device_ at - pio_
ac_ ⚠scuc_ instance_ device_ count - pio_
ac_ ⚠scuc_ instance_ device_ energy_ cost_ block_ at - pio_
ac_ ⚠scuc_ instance_ device_ energy_ cost_ block_ count - pio_
ac_ ⚠scuc_ instance_ device_ energy_ lower_ bound_ at - pio_
ac_ ⚠scuc_ instance_ device_ energy_ lower_ bound_ count - pio_
ac_ ⚠scuc_ instance_ device_ energy_ upper_ bound_ at - pio_
ac_ ⚠scuc_ instance_ device_ energy_ upper_ bound_ count - pio_
ac_ ⚠scuc_ instance_ device_ get - Read one device by its exact source UID.
- pio_
ac_ ⚠scuc_ instance_ device_ period_ at - pio_
ac_ ⚠scuc_ instance_ device_ startup_ cost_ adjustment_ at - pio_
ac_ ⚠scuc_ instance_ device_ startup_ cost_ adjustment_ count - pio_
ac_ ⚠scuc_ instance_ device_ startup_ limit_ at - pio_
ac_ ⚠scuc_ instance_ device_ startup_ limit_ count - pio_
ac_ ⚠scuc_ instance_ dimensions - Read semantic collection sizes for one AC SCUC instance.
- pio_
ac_ ⚠scuc_ instance_ interval_ durations - Borrow interval durations in hours, in chronological order.
- pio_
ac_ ⚠scuc_ instance_ reactive_ reserve_ zone_ at - pio_
ac_ ⚠scuc_ instance_ reactive_ reserve_ zone_ bus_ at - pio_
ac_ ⚠scuc_ instance_ reactive_ reserve_ zone_ count - pio_
ac_ ⚠scuc_ instance_ reactive_ reserve_ zone_ period_ at - pio_
ac_ ⚠scuc_ instance_ shunt_ at - pio_
ac_ ⚠scuc_ instance_ shunt_ count - pio_
ac_ ⚠scuc_ instance_ shunt_ get - Read one shunt by its exact source UID.
- pio_
ac_ ⚠scuc_ instance_ transformer_ control_ at - pio_
ac_ ⚠scuc_ instance_ transformer_ control_ count - pio_
ac_ ⚠scuc_ instance_ violation_ costs - Read the four required violation costs.
- pio_
ac_ ⚠scuc_ solution_ get_ values_ at - Copy one AC SCUC output row for one time position into an owned vector.
- pio_
ac_ ⚠scuc_ solution_ time_ count - pio_
active_ power_ from_ megawatts - pio_
active_ power_ from_ watts - pio_
active_ ⚠power_ release - pio_
active_ ⚠power_ retain - pio_
active_ ⚠power_ unit - pio_
active_ ⚠power_ value - pio_
apparent_ power_ from_ megavolt_ amperes - pio_
apparent_ power_ from_ volt_ amperes - pio_
apparent_ ⚠power_ release - pio_
apparent_ ⚠power_ retain - pio_
apparent_ ⚠power_ unit - pio_
apparent_ ⚠power_ value - pio_
apply_ ⚠bus_ load_ active_ power - Replace aggregate active demand at one bus using the named allocation rule.
- pio_
apply_ ⚠updates - Apply a complete typed update batch atomically.
- pio_
artifact_ ⚠bytes - Return emitted memory bytes. A path destination has no memory bytes and returns an empty view.
- pio_
artifact_ ⚠name - pio_
artifact_ ⚠release - pio_
artifact_ ⚠retain - pio_
balanced_ ⚠network_ area_ at - Read one control area by zero based table position.
- pio_
balanced_ ⚠network_ area_ count - pio_
balanced_ ⚠network_ base_ frequency_ hz - pio_
balanced_ ⚠network_ base_ mva - pio_
balanced_ ⚠network_ branch_ at - Read one branch by zero based table position.
- pio_
balanced_ ⚠network_ branch_ count - pio_
balanced_ ⚠network_ branch_ rating_ at - Read one additional named branch MVA rating.
- pio_
balanced_ ⚠network_ branch_ route_ point_ at - Read one point from an explicitly stored balanced branch route.
- pio_
balanced_ ⚠network_ bus_ at - Read one bus by zero based table position.
- pio_
balanced_ ⚠network_ bus_ count - pio_
balanced_ ⚠network_ detailed_ connectivity - Return the optional owner-rooted detailed connectivity view.
- pio_
balanced_ ⚠network_ generator_ at - Read one generator by zero based table position.
- pio_
balanced_ ⚠network_ generator_ capability_ at - Read one named generator capability or ramp field.
- pio_
balanced_ ⚠network_ generator_ count - pio_
balanced_ ⚠network_ geo - Read the optional coordinate space metadata for a balanced network.
- pio_
balanced_ ⚠network_ has_ detailed_ connectivity - pio_
balanced_ ⚠network_ hvdc_ at - Read one HVDC line by zero based table position.
- pio_
balanced_ ⚠network_ hvdc_ count - pio_
balanced_ ⚠network_ load_ at - Read one load by zero based table position.
- pio_
balanced_ ⚠network_ load_ count - pio_
balanced_ ⚠network_ name - pio_
balanced_ ⚠network_ release - pio_
balanced_ ⚠network_ retain - pio_
balanced_ ⚠network_ shunt_ at - Read one shunt by zero based table position.
- pio_
balanced_ ⚠network_ shunt_ block_ at - Read one switched shunt block by zero based position.
- pio_
balanced_ ⚠network_ shunt_ count - pio_
balanced_ ⚠network_ static_ var_ compensator_ at - Read one static VAR compensator by zero based table position.
- pio_
balanced_ ⚠network_ static_ var_ compensator_ count - pio_
balanced_ ⚠network_ storage_ at - Read one storage element by zero based table position.
- pio_
balanced_ ⚠network_ storage_ count - pio_
balanced_ ⚠network_ switch_ at - Read one transmission switch by zero based table position.
- pio_
balanced_ ⚠network_ switch_ count - pio_
balanced_ ⚠network_ three_ winding_ transformer_ at - Read one three winding transformer by zero based table position.
- pio_
balanced_ ⚠network_ three_ winding_ transformer_ count - pio_
balanced_ ⚠network_ three_ winding_ transformer_ impedance_ at - Read one pairwise impedance of a three winding transformer.
- pio_
balanced_ ⚠network_ three_ winding_ transformer_ winding_ at - Read one winding of a three winding transformer.
- pio_
build_ ⚠ac_ opf_ preparation - Build the matrix free AC OPF inputs from one typed instance.
- pio_
build_ ⚠dc_ opf_ preparation - Build the matrix free DC OPF inputs from one typed instance.
- pio_
calc_ ⚠branch_ flow_ dc - pio_
calc_ ⚠branch_ flow_ matrix - pio_
calc_ ⚠branch_ phase_ shift_ injection - pio_
calc_ ⚠branch_ susceptances - pio_
calc_ ⚠bus_ injection_ dc - pio_
calc_ ⚠bus_ phase_ shift_ injection - pio_
calc_ ⚠bus_ susceptance_ matrix - pio_
calc_ ⚠incidence_ matrix - pio_
calculation_ ⚠instance_ active_ constraint_ at - Read one active constraint family by zero based position.
- pio_
calculation_ ⚠instance_ active_ constraint_ count - pio_
calculation_ ⚠instance_ active_ constraint_ identity_ at - Read one selected component identity from an
onlyconstraint selection. - pio_
calculation_ ⚠instance_ balanced_ network - pio_
calculation_ ⚠instance_ has_ initial_ point - pio_
calculation_ ⚠instance_ initial_ point - Return the optional owner-rooted initial operating point. A calculation instance with no initial point returns NULL without setting an error.
- pio_
calculation_ ⚠instance_ multiconductor_ network - pio_
calculation_ ⚠instance_ objective_ term_ at - Read one typed objective term by zero based position.
- pio_
calculation_ ⚠instance_ objective_ term_ count - pio_
calculation_ ⚠instance_ release - pio_
calculation_ ⚠instance_ retain - pio_
calculation_ ⚠instance_ type_ name - pio_
calculation_ ⚠solution_ balanced_ network - pio_
calculation_ ⚠solution_ get_ objective - Return an OPF or SCUC objective. SOCWR reports a lower bound through pio_socwr_opf_solution_get_objective_lower_bound instead.
- pio_
calculation_ ⚠solution_ get_ values - Copy one named solution quantity into an independently owned vector.
- pio_
calculation_ ⚠solution_ instance - Return an owner-rooted view of the exact calculation instance retained by a calculation solution.
- pio_
calculation_ ⚠solution_ multiconductor_ network - pio_
calculation_ ⚠solution_ release - pio_
calculation_ ⚠solution_ retain - pio_
calculation_ ⚠solution_ termination - pio_
calculation_ ⚠solution_ type_ name - pio_
calculation_ ⚠update_ from_ network - pio_
calculation_ ⚠update_ from_ operating_ point - pio_
calculation_ ⚠update_ release - pio_
calculation_ ⚠update_ retain - pio_
component_ ⚠id_ local_ id - pio_
component_ ⚠id_ new - Construct a stable component identity.
- pio_
component_ ⚠id_ release - pio_
component_ ⚠id_ retain - pio_
component_ ⚠id_ type - pio_
dc_ ⚠opf_ instance_ branch_ susceptance_ formula - pio_
dc_ ⚠opf_ preparation_ branch_ at - Read one active branch row of a DC OPF preparation.
- pio_
dc_ ⚠opf_ preparation_ bus_ at - Read one dense bus row of a DC OPF preparation.
- pio_
dc_ ⚠opf_ preparation_ generator_ at - Read one generator row of a DC OPF preparation.
- pio_
dc_ ⚠opf_ preparation_ reference_ buses - Borrow the dense reference bus indices of a DC OPF preparation.
- pio_
dc_ ⚠opf_ preparation_ release - pio_
dc_ ⚠opf_ preparation_ retain - pio_
dc_ ⚠opf_ preparation_ skipped_ zero_ impedance - Borrow the analysis rows skipped for zero impedance.
- pio_
dc_ ⚠opf_ preparation_ summary - Read the dimensions and conventions of a DC OPF preparation.
- pio_
dc_ ⚠pf_ instance_ branch_ susceptance_ formula - pio_
dc_ ⚠pf_ instance_ bus_ specification_ at - Read one DC power flow bus specification by zero based bus table position.
- pio_
dc_ ⚠pf_ instance_ bus_ specification_ count - pio_
destination_ ⚠memory - Select memory output and prefix returned artifact names with
root. - pio_
destination_ ⚠path - Select a filesystem output path.
- pio_
destination_ ⚠release - pio_
destination_ ⚠retain - pio_
detailed_ ⚠connectivity_ boundary_ line_ at - Read one PowSybl boundary line by zero based table position.
- pio_
detailed_ ⚠connectivity_ boundary_ line_ reactive_ capability_ point_ at - Read one point from a boundary line generation reactive capability curve.
- pio_
detailed_ ⚠connectivity_ boundary_ line_ reactive_ capability_ point_ property_ at - Read one property from one boundary line reactive capability curve point.
- pio_
detailed_ ⚠connectivity_ boundary_ line_ reactive_ limit_ property_ at - Read one property on a boundary line generation reactive limit record.
- pio_
detailed_ ⚠connectivity_ bus_ breaker_ bus_ at - Read one configured bus breaker bus by zero based table position.
- pio_
detailed_ ⚠connectivity_ busbar_ section_ at - Read one busbar section by zero based table position.
- pio_
detailed_ ⚠connectivity_ calculated_ bus_ at - Read one calculated bus by zero based table position.
- pio_
detailed_ ⚠connectivity_ calculated_ bus_ node_ at - Read one node identity from a calculated bus.
- pio_
detailed_ ⚠connectivity_ component_ alias_ at - Read one alias from a component metadata record.
- pio_
detailed_ ⚠connectivity_ component_ metadata_ at - Read one component metadata record by zero based table position.
- pio_
detailed_ ⚠connectivity_ component_ property_ at - Read one string property from a component metadata record.
- pio_
detailed_ ⚠connectivity_ counts - Read every detailed connectivity table length.
- pio_
detailed_ ⚠connectivity_ dc_ busbar_ at - Read one DC busbar by zero based table position.
- pio_
detailed_ ⚠connectivity_ dc_ converter_ unit_ at - Read one DC converter unit by zero based table position.
- pio_
detailed_ ⚠connectivity_ dc_ ground_ at - Read one DC ground by zero based table position.
- pio_
detailed_ ⚠connectivity_ dc_ line_ at - Read one DC line by zero based table position.
- pio_
detailed_ ⚠connectivity_ dc_ node_ at - Read one physical DC node by zero based table position.
- pio_
detailed_ ⚠connectivity_ dc_ series_ device_ at - Read one DC series device by zero based table position.
- pio_
detailed_ ⚠connectivity_ dc_ switch_ at - Read one DC switch by zero based table position.
- pio_
detailed_ ⚠connectivity_ dc_ topological_ node_ at - Read one DC topological node by zero based table position.
- pio_
detailed_ ⚠connectivity_ equipment_ reactive_ capability_ point_ at - Read one point from an equipment reactive capability curve.
- pio_
detailed_ ⚠connectivity_ equipment_ reactive_ capability_ point_ property_ at - Read one property from an equipment reactive capability curve point.
- pio_
detailed_ ⚠connectivity_ equipment_ reactive_ limit_ property_ at - Read one property from an equipment reactive limit record.
- pio_
detailed_ ⚠connectivity_ equipment_ reactive_ limits_ at - Read reactive limits retained for one equipment record.
- pio_
detailed_ ⚠connectivity_ external_ identifier_ at - Read one external identifier from a component metadata record.
- pio_
detailed_ ⚠connectivity_ internal_ connection_ at - Read one node breaker internal connection by zero based table position.
- pio_
detailed_ ⚠connectivity_ junction_ at - Read one CIM junction by zero based table position.
- pio_
detailed_ ⚠connectivity_ line_ commutated_ converter_ at - Read one line commutated converter by zero based table position.
- pio_
detailed_ ⚠connectivity_ line_ commutated_ converter_ droop_ curve_ segment_ at - Read one DC voltage droop curve segment from a line commutated converter.
- pio_
detailed_ ⚠connectivity_ node_ at - Read one connectivity node by zero based table position.
- pio_
detailed_ ⚠connectivity_ omitted_ field_ at - Read one field that was absent from the source representation.
- pio_
detailed_ ⚠connectivity_ operational_ limit_ group_ at - Read one operational limit group by zero based table position.
- pio_
detailed_ ⚠connectivity_ operational_ limit_ group_ property_ at - Read one string property from an operational limit group.
- pio_
detailed_ ⚠connectivity_ release - pio_
detailed_ ⚠connectivity_ retain - pio_
detailed_ ⚠connectivity_ subnetwork_ at - Read one PowSybl subnetwork by zero based table position.
- pio_
detailed_ ⚠connectivity_ subnetwork_ component_ at - Read one component identity contained by a PowSybl subnetwork.
- pio_
detailed_ ⚠connectivity_ substation_ at - Read one substation by zero based table position.
- pio_
detailed_ ⚠connectivity_ substation_ geographical_ tag_ at - Read one geographical tag of a substation.
- pio_
detailed_ ⚠connectivity_ switch_ at - Read one detailed topology switch by zero based table position.
- pio_
detailed_ ⚠connectivity_ tap_ changer_ at - Read one transformer tap changer by zero based table position.
- pio_
detailed_ ⚠connectivity_ tap_ changer_ step_ at - Read one transformer tap changer step by zero based position.
- pio_
detailed_ ⚠connectivity_ temporary_ limit_ at - Read one temporary current, active power, or apparent power limit.
- pio_
detailed_ ⚠connectivity_ terminal_ at - Read one AC terminal by zero based table position.
- pio_
detailed_ ⚠connectivity_ tie_ line_ at - Read one PowSybl tie line by zero based table position.
- pio_
detailed_ ⚠connectivity_ voltage_ level_ at - Read one voltage level by zero based table position.
- pio_
detailed_ ⚠connectivity_ voltage_ level_ bus_ at - Read one balanced bus ID assigned to a voltage level.
- pio_
detailed_ ⚠connectivity_ voltage_ source_ converter_ at - Read one voltage source converter by zero based table position.
- pio_
detailed_ ⚠connectivity_ voltage_ source_ converter_ droop_ curve_ segment_ at - Read one DC voltage droop curve segment from a voltage source converter.
- pio_
detailed_ ⚠connectivity_ voltage_ source_ converter_ reactive_ capability_ point_ at - Read one point from a voltage source converter reactive capability curve.
- pio_
detailed_ ⚠connectivity_ voltage_ source_ converter_ reactive_ capability_ point_ property_ at - Read one property from a voltage source converter reactive capability point.
- pio_
detailed_ ⚠connectivity_ voltage_ source_ converter_ reactive_ limit_ property_ at - Read one property from a voltage source converter reactive limit record.
- pio_
diagnostic_ ⚠code - pio_
diagnostic_ ⚠details_ json - Serialize this diagnostic’s structured details as an owned JSON object.
- pio_
diagnostic_ ⚠has_ id - Whether this diagnostic has a durable identity.
- pio_
diagnostic_ ⚠has_ suggested_ action - Whether this diagnostic carries a suggested action.
- pio_
diagnostic_ ⚠has_ target - Whether this diagnostic names a value element.
- pio_
diagnostic_ ⚠id - Borrow this diagnostic’s durable identity, or an empty view when absent.
- pio_
diagnostic_ ⚠message - pio_
diagnostic_ ⚠n_ related - Number of other diagnostic identities referenced by this diagnostic.
- pio_
diagnostic_ ⚠n_ spans - Number of source byte ranges attached to this diagnostic.
- pio_
diagnostic_ ⚠related - Borrow one related diagnostic identity, or an empty view when out of range.
- pio_
diagnostic_ ⚠severity - pio_
diagnostic_ ⚠span - Read one source byte range. The source string borrows from
diagnostics. - pio_
diagnostic_ ⚠suggested_ action - Borrow this diagnostic’s suggested action, or an empty view when absent.
- pio_
diagnostic_ ⚠target - Borrow this diagnostic’s value element locator, or an empty view when absent.
- pio_
diagnostics_ ⚠len - pio_
diagnostics_ ⚠release - pio_
diagnostics_ ⚠retain - pio_
emit ⚠ - Emit one module as a grid exchange format.
- pio_
emit_ ⚠result_ artifact - pio_
emit_ ⚠result_ artifact_ count - pio_
emit_ ⚠result_ diagnostics - pio_
emit_ ⚠result_ fidelity - pio_
emit_ ⚠result_ layout - pio_
emit_ ⚠result_ release - pio_
emit_ ⚠result_ retain - pio_
error_ ⚠code - The failure’s stable diagnostic code.
- pio_
error_ ⚠diagnostics - The structured diagnostics that caused the failure.
- pio_
error_ ⚠message - The rendered failure message.
- pio_
error_ ⚠release - pio_
error_ ⚠retain - pio_
geo_ ⚠apply_ report_ matched_ branches - pio_
geo_ ⚠apply_ report_ matched_ buses - pio_
geo_ ⚠apply_ report_ note_ at - pio_
geo_ ⚠apply_ report_ note_ count - pio_
geo_ ⚠apply_ report_ release - pio_
geo_ ⚠apply_ report_ retain - pio_
geo_ ⚠apply_ report_ unlocated_ branches - pio_
geo_ ⚠apply_ report_ unlocated_ buses - pio_
geo_ ⚠apply_ report_ unmatched_ features - pio_
geo_ ⚠layer_ diagnostics - Return diagnostics produced while parsing a geographic sidecar.
- pio_
geo_ ⚠layer_ parse - Parse one geographic sidecar from an acquired source.
- pio_
geo_ ⚠layer_ release - pio_
geo_ ⚠layer_ retain - pio_
json_ ⚠value_ array_ at - Return one owner-rooted element from a structured JSON array.
- pio_
json_ ⚠value_ get - Read the type and scalar or collection data for a structured value.
- pio_
json_ ⚠value_ object_ entry_ at - Read one key and value type from a structured JSON object.
- pio_
json_ ⚠value_ object_ value_ at - Return one owner-rooted value from a structured JSON object by position.
- pio_
json_ ⚠value_ release - pio_
json_ ⚠value_ retain - pio_
mc_ ⚠ac_ pf_ instance_ active_ control_ at - pio_
mc_ ⚠ac_ pf_ instance_ active_ control_ count - pio_
mc_ ⚠ac_ pf_ instance_ isolated_ terminal_ at - pio_
mc_ ⚠ac_ pf_ instance_ isolated_ terminal_ count - pio_
mc_ ⚠ac_ pf_ instance_ load_ at - pio_
mc_ ⚠ac_ pf_ instance_ load_ count - pio_
mc_ ⚠ac_ pf_ instance_ load_ terminal_ at - pio_
mc_ ⚠ac_ pf_ instance_ source_ at - pio_
mc_ ⚠ac_ pf_ instance_ source_ count - pio_
mc_ ⚠ac_ pf_ instance_ source_ terminal_ at - pio_
module_ ⚠apply_ geo_ layer - Apply one geographic layer to a balanced or multiconductor network module.
The input module is unchanged. When
out_reportis not NULL, it receives an independently owned report handle. - pio_
module_ ⚠deserialize - Deserialize one PowerIO IR source.
- pio_
module_ ⚠diagnostics - Return the module’s stored diagnostics.
- pio_
module_ ⚠extension_ at - Read one namespaced structured module extension by zero based position.
- pio_
module_ ⚠extension_ count - pio_
module_ ⚠extension_ value_ at - Return an owner-rooted structured module extension value.
- pio_
module_ ⚠history_ assumption_ at - Read one assumption attached to a history entry.
- pio_
module_ ⚠history_ at - Read one operation from module history by zero based position.
- pio_
module_ ⚠history_ count - pio_
module_ ⚠history_ loss_ at - Read one declared loss attached to a history entry.
- pio_
module_ ⚠history_ parameter_ at - Read one named structured history parameter by zero based position.
- pio_
module_ ⚠history_ parameter_ value_ at - Return an owner-rooted structured history parameter value.
- pio_
module_ ⚠producer - Read the program identity recorded with a module.
- pio_
module_ ⚠release - pio_
module_ ⚠retain - pio_
module_ ⚠serialize - Serialize one module as PowerIO IR.
- pio_
module_ ⚠source_ at - Read one durable source descriptor by zero based position.
- pio_
module_ ⚠source_ count - pio_
module_ ⚠source_ map_ at - Read one source map entry by zero based position.
- pio_
module_ ⚠source_ map_ count - pio_
module_ ⚠source_ map_ span_ at - Read one byte range from a source map entry.
- pio_
module_ ⚠to_ ac_ opf_ instance - Construct an AC optimal power flow calculation module from a balanced network module.
- pio_
module_ ⚠to_ ac_ pf_ instance - Construct an AC power flow calculation module from a balanced network module.
- pio_
module_ ⚠to_ dc_ opf_ instance - Construct a DC optimal power flow calculation module from a balanced network module.
- pio_
module_ ⚠to_ dc_ pf_ instance - Construct a DC power flow calculation module from a balanced network module.
- pio_
module_ ⚠to_ mc_ ac_ opf_ instance - Construct a multiconductor AC optimal power flow calculation module from a multiconductor network module.
- pio_
module_ ⚠to_ mc_ ac_ pf_ instance - Construct a multiconductor AC power flow calculation module from a multiconductor network module.
- pio_
module_ ⚠value - Return an owner-rooted view of the module’s value.
- pio_
multiconductor_ ⚠network_ base_ frequency_ hz - pio_
multiconductor_ ⚠network_ bus_ at - Read one multiconductor bus by zero based table position. Borrowed strings and numeric spans remain valid while the network handle is alive.
- pio_
multiconductor_ ⚠network_ bus_ count - pio_
multiconductor_ ⚠network_ bus_ grounded_ terminal_ at - pio_
multiconductor_ ⚠network_ bus_ terminal_ at - pio_
multiconductor_ ⚠network_ capacitor_ at - pio_
multiconductor_ ⚠network_ capacitor_ terminal_ at - pio_
multiconductor_ ⚠network_ command_ at - pio_
multiconductor_ ⚠network_ control_ profile_ at - pio_
multiconductor_ ⚠network_ counts - Read exact table lengths. Defaulted source fields and arbitrary extension maps are retained internally and are not separate domain tables.
- pio_
multiconductor_ ⚠network_ generator_ at - pio_
multiconductor_ ⚠network_ generator_ count - pio_
multiconductor_ ⚠network_ generator_ terminal_ at - pio_
multiconductor_ ⚠network_ geo - Read the network coordinate metadata, including absence through
has_geo. - pio_
multiconductor_ ⚠network_ has_ name - pio_
multiconductor_ ⚠network_ has_ source_ format - pio_
multiconductor_ ⚠network_ inverter_ based_ resource_ at - pio_
multiconductor_ ⚠network_ inverter_ based_ resource_ terminal_ at - pio_
multiconductor_ ⚠network_ line_ at - pio_
multiconductor_ ⚠network_ line_ code_ at - pio_
multiconductor_ ⚠network_ line_ code_ conductance_ from_ matrix_ row_ at - pio_
multiconductor_ ⚠network_ line_ code_ conductance_ to_ matrix_ row_ at - pio_
multiconductor_ ⚠network_ line_ code_ reactance_ matrix_ row_ at - pio_
multiconductor_ ⚠network_ line_ code_ resistance_ matrix_ row_ at - pio_
multiconductor_ ⚠network_ line_ code_ susceptance_ from_ matrix_ row_ at - pio_
multiconductor_ ⚠network_ line_ code_ susceptance_ to_ matrix_ row_ at - pio_
multiconductor_ ⚠network_ line_ count - pio_
multiconductor_ ⚠network_ line_ route_ point_ at - pio_
multiconductor_ ⚠network_ line_ terminal_ from_ at - pio_
multiconductor_ ⚠network_ line_ terminal_ to_ at - pio_
multiconductor_ ⚠network_ load_ at - pio_
multiconductor_ ⚠network_ load_ count - pio_
multiconductor_ ⚠network_ load_ terminal_ at - pio_
multiconductor_ ⚠network_ name - pio_
multiconductor_ ⚠network_ option_ at - pio_
multiconductor_ ⚠network_ release - pio_
multiconductor_ ⚠network_ retain - pio_
multiconductor_ ⚠network_ shunt_ at - pio_
multiconductor_ ⚠network_ shunt_ conductance_ matrix_ row_ at - pio_
multiconductor_ ⚠network_ shunt_ susceptance_ matrix_ row_ at - pio_
multiconductor_ ⚠network_ shunt_ terminal_ at - pio_
multiconductor_ ⚠network_ source_ format - pio_
multiconductor_ ⚠network_ switch_ at - pio_
multiconductor_ ⚠network_ switch_ terminal_ from_ at - pio_
multiconductor_ ⚠network_ switch_ terminal_ to_ at - pio_
multiconductor_ ⚠network_ transformer_ at - pio_
multiconductor_ ⚠network_ transformer_ winding_ at - pio_
multiconductor_ ⚠network_ transformer_ winding_ terminal_ at - pio_
multiconductor_ ⚠network_ untyped_ object_ at - pio_
multiconductor_ ⚠network_ untyped_ object_ property_ at - pio_
multiconductor_ ⚠network_ voltage_ source_ at - pio_
multiconductor_ ⚠network_ voltage_ source_ terminal_ at - pio_
network_ ⚠update_ release - pio_
network_ ⚠update_ retain - pio_
network_ ⚠update_ set_ branch_ thermal_ rating - pio_
operating_ ⚠point_ balanced_ network - pio_
operating_ ⚠point_ get_ value - Read one operating point quantity by its PowerIO quantity name and stable component identity. Multiconductor terminal identities use component/terminal. Returns false when the point does not contain the quantity or identity.
- pio_
operating_ ⚠point_ multiconductor_ network - pio_
operating_ ⚠point_ release - pio_
operating_ ⚠point_ retain - pio_
operating_ ⚠point_ type_ name - pio_
operating_ ⚠point_ update_ release - pio_
operating_ ⚠point_ update_ retain - pio_
operating_ ⚠point_ update_ set_ branch_ in_ service - pio_
operating_ ⚠point_ update_ set_ generator_ active_ power - pio_
operating_ ⚠point_ update_ set_ generator_ in_ service - pio_
operating_ ⚠point_ update_ set_ generator_ reactive_ power - pio_
operating_ ⚠point_ update_ set_ generator_ voltage_ magnitude - pio_
operating_ ⚠point_ update_ set_ load_ active_ power - pio_
operating_ ⚠point_ update_ set_ load_ reactive_ power - pio_
operating_ ⚠point_ update_ set_ switch_ closed - pio_
operating_ ⚠point_ update_ set_ transformer_ phase_ shift_ degrees - pio_
operating_ ⚠point_ update_ set_ transformer_ tap_ ratio - pio_
parse ⚠ - Parse one acquired grid exchange source.
- pio_
reactive_ power_ from_ megavars - pio_
reactive_ power_ from_ vars - pio_
reactive_ ⚠power_ release - pio_
reactive_ ⚠power_ retain - pio_
reactive_ ⚠power_ unit - pio_
reactive_ ⚠power_ value - pio_
scenario_ ⚠set_ element_ type - pio_
scenario_ ⚠set_ get - Return an owner-rooted scenario value by exact scenario ID.
- pio_
scenario_ ⚠set_ get_ at - Return an owner-rooted scenario value by zero-based position.
- pio_
scenario_ ⚠set_ id_ at - pio_
scenario_ ⚠set_ len - pio_
scenario_ ⚠set_ release - pio_
scenario_ ⚠set_ retain - pio_
schema_ ⚠report - Return version information for this ABI and the PowerIO IR serializer/deserializer.
- pio_
socwr_ ⚠opf_ solution_ get_ objective_ lower_ bound - pio_
source_ ⚠from_ memory - Retain named bytes as an in-memory source. Binary content is supported.
- pio_
source_ ⚠open - Acquire a file or directory path.
- pio_
source_ ⚠release - pio_
source_ ⚠retain - pio_
sparse_ ⚠matrix_ column_ indices - pio_
sparse_ ⚠matrix_ columns - pio_
sparse_ ⚠matrix_ release - pio_
sparse_ ⚠matrix_ retain - pio_
sparse_ ⚠matrix_ row_ offsets - pio_
sparse_ ⚠matrix_ rows - pio_
sparse_ ⚠matrix_ values - pio_
string_ ⚠release - pio_
string_ ⚠retain - pio_
string_ ⚠view - pio_
time_ ⚠series_ element_ type - pio_
time_ ⚠series_ get - Return an owner-rooted entry by zero-based position.
- pio_
time_ ⚠series_ len - pio_
time_ ⚠series_ release - pio_
time_ ⚠series_ retain - pio_
update_ ⚠change_ component_ id - pio_
update_ ⚠change_ field - pio_
update_ ⚠change_ release - pio_
update_ ⚠change_ retain - pio_
update_ ⚠change_ terminal - pio_
update_ ⚠report_ change - pio_
update_ ⚠report_ connectivity_ changed - pio_
update_ ⚠report_ len - pio_
update_ ⚠report_ release - pio_
update_ ⚠report_ retain - pio_
value_ ⚠ac_ opf_ instance - pio_
value_ ⚠ac_ opf_ solution - pio_
value_ ⚠ac_ pf_ instance - pio_
value_ ⚠ac_ pf_ solution - pio_
value_ ⚠ac_ scuc_ instance - pio_
value_ ⚠ac_ scuc_ solution - pio_
value_ ⚠balanced_ network - Borrow the value as a balanced network without serialization or copying.
- pio_
value_ ⚠balanced_ operating_ point - pio_
value_ ⚠dc_ opf_ instance - pio_
value_ ⚠dc_ opf_ solution - pio_
value_ ⚠dc_ pf_ instance - pio_
value_ ⚠dc_ pf_ solution - pio_
value_ ⚠geo_ layer - Take the value as a geographic layer handle. The layer is copied out of
the value, so the handle outlives the module the way
pio_geo_layer_parseproduces one. - pio_
value_ ⚠is_ type - Exact structural type predicate.
- pio_
value_ ⚠mc_ ac_ opf_ instance - pio_
value_ ⚠mc_ ac_ opf_ solution - pio_
value_ ⚠mc_ ac_ pf_ instance - pio_
value_ ⚠mc_ ac_ pf_ solution - pio_
value_ ⚠multiconductor_ network - Borrow the value as a multiconductor network without serialization or copying.
- pio_
value_ ⚠multiconductor_ operating_ point - pio_
value_ ⚠release - pio_
value_ ⚠retain - pio_
value_ ⚠scenario_ set - Borrow the value as a scenario set.
- pio_
value_ ⚠socwr_ opf_ solution - pio_
value_ ⚠time_ series - Borrow the value as a time series.
- pio_
value_ ⚠type_ name - Canonical structural type name, such as
powerio.BalancedNetwork. - pio_
vector_ ⚠release - pio_
vector_ ⚠retain - pio_
vector_ ⚠values - pio_
version - Return the PowerIO crate version.