ACPFlow Runner Reference
Sparlectra.run_acpflow — Method
run_acpflow(; net=nothing, casefile=nothing, path=nothing, config=nothing, performance_profile=nothing) -> SparlectraRunResultCompatibility alias for run_sparlectra.
This function uses the same configuration-driven framework workflow as run_sparlectra. It does not support the former keyword-heavy runner API. Solver, import, output, Q-limit, start-mode, and diagnostic behavior must be configured through SparlectraConfig or YAML.
Sparlectra.run_sparlectra — Method
run_sparlectra(; net=nothing, casefile=nothing, path=nothing, config=nothing, performance_profile=nothing) -> SparlectraRunResultRun the configuration-driven Sparlectra framework workflow. Pass exactly one of net or casefile. File-based runs import a MATPOWER case using config.matpower; in-memory runs solve the supplied network directly. Solver, control-loop, and output behavior are taken from one SparlectraConfig.
Sparlectra.run_sparlectra_cases — Method
run_sparlectra_cases(; config=nothing, path=nothing, performance_profile=nothing) -> Vector{SparlectraRunResult}Run configured MATPOWER cases sequentially in deterministic order. A non-empty config.matpower.cases list takes precedence over config.matpower.case. Bare case names are resolved through ensure_casefile, which downloads standard MATPOWER cases on demand. Batch-level performance-profile aggregation is not supported; profile individual run_sparlectra calls instead.
Sparlectra.SparlectraRunResult — Type
SparlectraRunResultTyped result returned by run_sparlectra. The solved network is always available as net, while the remaining fields provide stable framework-level solver, validation, control-loop, timing, and rectangular diagnostic metadata.