From bc6c9c8614315abb516934d5b522940d857749d4 Mon Sep 17 00:00:00 2001 From: GabrielKS <23368820+GabrielKS@users.noreply.github.com> Date: Tue, 14 Jan 2025 11:42:42 -0700 Subject: [PATCH] Add `to_from` vs. `from_to` distinction to `PowerFlowData` --- src/PowerFlowData.jl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/PowerFlowData.jl b/src/PowerFlowData.jl index 938e8e6..0b70516 100644 --- a/src/PowerFlowData.jl +++ b/src/PowerFlowData.jl @@ -84,8 +84,10 @@ struct PowerFlowData{ branch_type::Vector{DataType} bus_magnitude::Matrix{Float64} bus_angles::Matrix{Float64} - branch_activepower_flow_values::Matrix{Float64} - branch_reactivepower_flow_values::Matrix{Float64} + branch_activepower_flow_to_from::Matrix{Float64} + branch_reactivepower_flow_to_from::Matrix{Float64} + branch_activepower_flow_from_to::Matrix{Float64} + branch_reactivepower_flow_from_to::Matrix{Float64} timestep_map::Dict{Int, String} valid_ix::Vector{Int} power_network_matrix::M