NREL-Sienna / InfrastructureSystems.jl

Utility package for Sienna's simulation infrastructure
https://nrel-sienna.github.io/InfrastructureSystems.jl/
BSD 3-Clause "New" or "Revised" License
38 stars 20 forks source link

Fix deserialization bug with Union{Nothing, Complex} #271

Closed daniel-thom closed 2 years ago

daniel-thom commented 2 years ago

This fixes a bug found by Sourabh when he had HybridSystem.interconnection_impedance set to a complex value. In all other deserialization cases it had been set to nothing.

I tested this with a PowerSystems test, which I'll add after this fix reaches a tagged version.