From 76b6643c66639b897adf6553bd48eb66ac9d7c92 Mon Sep 17 00:00:00 2001 From: Luke Kiernan Date: Tue, 26 May 2026 20:42:26 -0600 Subject: [PATCH] Drop dead PS struct descriptor const; import LinearCurve from IS Co-Authored-By: Claude Opus 4.7 (1M context) --- src/PowerFlowFileParser.jl | 3 ++- src/definitions.jl | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/PowerFlowFileParser.jl b/src/PowerFlowFileParser.jl index 7af61c8..1999ba8 100644 --- a/src/PowerFlowFileParser.jl +++ b/src/PowerFlowFileParser.jl @@ -22,7 +22,8 @@ import InfrastructureSystems const IS = InfrastructureSystems import InfrastructureSystems: - DataFormatError + DataFormatError, + LinearCurve ################################################################################# # Includes diff --git a/src/definitions.jl b/src/definitions.jl index f9d43cb..9458fb5 100644 --- a/src/definitions.jl +++ b/src/definitions.jl @@ -3,9 +3,6 @@ const PS_MAX_LOG = parse(Int, get(ENV, "PS_MAX_LOG", "50")) const DEFAULT_BASE_MVA = 100.0 -const POWER_SYSTEM_STRUCT_DESCRIPTOR_FILE = - joinpath(dirname(pathof(PowerSystems)), "descriptors", "power_system_structs.json") - const DEFAULT_SYSTEM_FREQUENCY = 60.0 const INFINITE_TIME = 1e4