Skip to content

Release v0.6.0

Choose a tag to compare

@mcosovic mcosovic released this 17 Jun 18:45
· 15 commits to master since this release

Breaking

  • Renamed the ChiTest.treshold field to ChiTest.threshold.

Added

  • Added LL as a Cholesky-based factorization option for supported power flow and state estimation analyses.
  • Added LL support in bad data analysis by reusing the Cholesky factorization for selected-inverse projections.
  • Added support for optimal PMU placement that includes legacy measurements.
  • Introduced the optimal keyword in the function [powerSystem](@ref powerSystem) to skip importing data related to optimal power flow analyses, see [Partial Load for Faster Import](@ref PartialLoadFasterImportManual).
  • Exported and documented the grouped analysis type aliases [PowerFlow](@ref PowerFlow), [OptimalPowerFlow](@ref OptimalPowerFlow), and [StateEstimation](@ref StateEstimation).
  • Exported and documented the grouped system and measurement type aliases [Component](@ref Component) and [Meter](@ref Meter).
  • Documented that unit, template, configuration, and default macros modify global JuliaGrid settings.

Fixed

  • Improved LDLt handling for symmetric sparse systems whose stored values are not exactly numerically symmetric.
  • Improved package root detection for both installed and development checkouts.
  • Updated documentation for [optimal PMU placement](@ref optimalpmu).
  • Defined optimal PMU placement variables as binary rather than integer.
  • Fixed an error that occurred when bad data was processed after the Peter-Wilkinson method.
  • Fixed PSS/E transformer magnetizing data handling.
  • Fixed @default(power) to reset the apparent power live unit to per-unit.
  • Updated global settings macros to evaluate keyword values at the call site, including local variables.
  • Updated power system tests to match the current cost-function error messages.
  • Adjusted MATPOWER and PSS/E section parsing to avoid a Julia 1.12 compiler regression affecting boolean flag propagation.

Performance

  • Improved efficiency when updating wattmeters with DC state estimation.
  • Reduced allocations and runtime when building AC/DC power system models and detecting physical islands.
  • Reduced allocations and improved efficiency in bad data analysis routines.
  • Reduced allocations in measurement add/update paths for voltmeters, ammeters, wattmeters, varmeters, and PMUs.
  • Improved measurement status configuration routines by avoiding temporary index slices and matrix construction.
  • Reduced allocations in AC/DC postprocessing, including DC state-estimation power updates and DC injection calculations.
  • Improved AC/DC power model postprocessing by reusing existing result containers where possible.
  • Lightly optimized MATPOWER, PSS/E, and HDF5 power system load/save paths.
  • Reduced temporary allocations in selected power flow and state estimation hot paths.
  • Reduced allocations and runtime in observability island detection, especially when merging flow-observable islands.
  • Improved optimal PMU placement result assembly for large systems by avoiding repeated scans over all branches.

Internal

  • Removed unused parameters from the PowerSystem type.
  • Refined branch add/update internals to avoid unnecessary work while preserving model reuse behavior.
  • Reviewed and lightly optimized backend equation helpers.
  • Refined internal template, label, and per-unit conversion utilities for clearer dispatch and less unnecessary work.
  • Refactored template macro helpers and @default reset logic to reduce duplicated internal state updates.
  • Cleaned up repeated field access in postprocessing routines.

Testing

  • Expanded the precompile workload to cover additional commonly used analysis solve paths.
  • Sanity checked the internal cleanup with targeted power flow and state estimation.