From 8e346b48c187b2a53907dc031603482f2e6a2017 Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Wed, 17 Apr 2024 17:20:06 +1200 Subject: [PATCH] Fix docstring of DCPPowerModel (#911) * Fix doc string of DCPPowerModel * Update src/core/types.jl --- src/core/types.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/types.jl b/src/core/types.jl index 7e236070..cd2ddc73 100644 --- a/src/core/types.jl +++ b/src/core/types.jl @@ -156,7 +156,7 @@ abstract type AbstractDCPModel <: AbstractActivePowerModel end Linearized 'DC' power flow Model with polar voltage variables. This model is a basic linear active-power-only approximation, which uses branch susceptance values -`br_b = -br_x / (br_x^2 + br_x^2)` for determining the network phase angles. Furthermore, transformer +`br_b = -br_x / (br_r^2 + br_x^2)` for determining the network phase angles. Furthermore, transformer parameters such as tap ratios and phase shifts are not considered as part of this model. It is important to note that it is also common for active-power-only approximations to use `1/br_x` for