-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pf and pt dcline active power with same sign in psse parser #794
Comments
In PowerModels I presume this was checked when we built the Matpower parser (and the associated negative sign). However, if you find there is an inconsistency in that interpretation, please let me know. I'll ask @jbarberia regarding what is the convention for this in of PSSE. |
In Matpower parser this seems to be correct!
Additionaly, if we look at the hvdc psse parsing test, the limits for julia> data = PowerModels.parse_file("../test/data/pti/two-terminal-hvdc_test.raw")
julia> data["dcline"]["1"]
Dict{String, Any} with 26 entries:
"pmaxt" => 0.0
"pmint" => -0.2
"pt" => 0.2
"pmaxf" => 0.2
"pminf" => 0.0
"pf" => 0.2 I believe that the PSSE parser don't have the loss factor information (loss = 0). Therefore, the equivalence should be something like:
|
In the math model, powermodels sticks with the convention pf+ pt = ploss >=0 (if r>=0). Matpower, however in its data model, defines pf-pt=ploss. I think this is mainly because they're re-using the generator model to implement dc lines instead of the ac line model. This does indeed lead to the optimized variables pf and pt having the same sign in the solution. The minus in the parser comes from this change of convention. I don't know what the PSS/E convention is. |
@jbarberia you do know the PSSE convention on this point? |
@ccoffrin sorry for the delay in replying. In PSSE, the desired power value is set in the rectifier (SETVL> 0) or in the inverter (SETVL <0). In both cases the power-flow goes from the rectifier to the inverter. Example:
For a better conversion of the model from PSSE to PM it would be better to take into account the losses. |
@jbarberia thanks for this. Based on what you say here at least it sounds like we should account for a sign change in the |
I agree with the sign change. We could also add the losses on one side or the other depending on the sign of SETVL. |
Shouldn't the active power in each of the dcline terminations have opposite signs (one end is absorbing - positive sign - and the other is injecting - negative sign)?
I think in matpower convention
pt
is negative andpf
is positive.In psse parser,
power_demand
have the same sign.In matpower parser, the
pt
is set to be negativeThe text was updated successfully, but these errors were encountered: