Replies: 1 comment
-
Hi @toddleif, I think the problem is that you are trying to solve a test case that is not 'Explicit Neutral' (en) and the default for the function See: PowerModelsDistribution.jl/src/data_model/transformations/initialization.jl Lines 228 to 229 in 3014d49 I tried your case, using the following code instead:
and it seems to work fine. I am having issues running the Let me know if that works for you. FYI: I did not validated the outputs, but the error disappeared. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I’m a new PowerModelsDistribution.jl user, so my apologies if this is a basic question!
I’m trying to optimize a simple three-phase distribution network that includes a three-phase transformer. In my code, I’m running into an issue with the
add_start_vrvi!()
function to initialize the voltages on the transformer nodes. The issue seems to be replicated with theut_trans_2w_yy.dss
input file located in the PowerModelsDistribution.jl>test>data>opendss folder.The code I wrote is:
The issue happens when I run
add_start_vrvi!(data_math_mn)
to initialize the voltage values. I get the following error:The error appears to be caused by line 107 in the
initialization.jl
file, which is part of thecalc_start_voltage()
function and is part of the code that initializes voltages for transformers.Interestingly, the optimization solves when I remove the
add_start_vrvi!(data_math_mn)
line. Is it possible thatadd_start_vrvi!()
is not applicable to three-phase networks with three-phase transformers? Is there another way I should be initializing the voltages?Beta Was this translation helpful? Give feedback.
All reactions