Comments (14)
@petitrenaudseb
I'm not sure I understand what your point is. When you convert loads and gens before you perform dynamic simulations, you have to select a and b parameters. That is, you have to select what percentage of load will no longer be fixed power and how this percentage will be converted to constant shunt or current load. a and b are not accessible per se in the PSSE but you can use them as I wrote before.
The last sentence I do not understand at all. What would the user choose and why would you think our model parameters are hard coded? If you think about the lines where it says a(re=1,im=0) and b(re=0,im=1) those are just starting parameters.
from ipsl.
Let me try to explain my point of view. The easier is the second one.
When you look at the BaseClasses model, there is some parameters (a2, b2,a0,a1,b1) who are hard coded (fix values), and use in equations. Is it intentional or a mistake? (i don't speak about default parameters such as a(re=1, im=0))
For the first point, i understand what is a and b. My question is that if you set S_p, S_i and S_y it's enough to deduce a and b.
Other way, you can set P0 and Q0, a and b and then deduced S_p, S_i, S_y .
from ipsl.
@petitrenaudseb Ok, now I understand.
Regarding the first point, which was originally second, yes, they are hardcoded. PSSE has a certain way of scaling the load depending on the voltage below the threshold value. To my knowledge, my predecessors were not able to find the exact way of describing this function of load vs. voltage. The a0,a1 and a2 came from the curve fitting experiments in Matlab. I should also mention that there are two ways in which this behaviour was modelled and it can be selected via "characteristic" parameter. For the exact functions you can check the code.
Regarding the S_p,i and y, I can say that this is done in the same way in PSSE. During the power flow, you can set the constant power, current or shunt and any combination of those three. Then, when you convert the load, constant power can be assigned to constant current or shunt with parameters a and b. So, what you set with S_i and S_y in parameters might not be the same as what you get after conversion with a and b. Check the code and parameters S_P, S_I and S_Y (notice the capital letters).
from ipsl.
About hardcoded parameters, you explanation is ok for me.
Regarding the load combination, i try to understand (thanks to your explanation), how to use this model.
Let's say that i previously made a load flow that give me V, P0 and Q0.
What i want is that , what ever the combination of the load, P(t=0) =Q0 and Q(t=0) = Q0.
That's why i ask the previous question:
if you set a and b, S_p, S_i and S_y, you are not sure that the initial point of your load is the one you calculate with a load flow and then the simulation would not be in steady state at the beginning.
In the example i found in the IPSL, it works because a(re=1,im=0), b(re=0, im=1) and S_i and S_y is equal to zero
from ipsl.
See the screenshot - Pload and Qload are S_p, IPload and IQload are S_i and YPload and YQload are S_y in Modelica. The screenshot is from the Network Data->Load
Let's say that you do a load flow which results in Pload = x, Qload = y, IPload = x1, IQload = y1, and YPload = x2 and YQload =y3.
The end result after conversion with a and b will be as follows:
Pload=(1-a.re-b.re)x, Qload = y(1-a.im-b.im), IPload = x1+x_a.re, IQload = x1+y_a.im, YPload = x2+x_b.re, YQload = x1+y_b.im
My point here is, after the power flow you might not have only constant power load! (which is strange to me). Before dynamic simulation you can shift constant power load between the other two as you wish.
I hope this explains it.
from ipsl.
it's clear that you might not have only constant power load during dynamic simulation.
Thanks for you example, i understand what you mean !
before closing this interesting discussion, when you look at the equations described in the model, parameters S_P, S_Y, and S_I are never used. I think this is a mistake (?)
from ipsl.
You're welcome.
Nope. What you're looking at is the base class which is then extended by the models above (Load and Load_variation). So, I'm now closing this issue. :)
from ipsl.
i'm still investigating why, when i use this model, i'm not on steady state, and i think i found something. Let me know if you agree.
If i set S_p, a and b, it works (S_y and S_i are equal to zero)
But if i set S_p, S_i, S_y it does not works. The fix i found is to per unit S_i and S_y with v0 or vo^2 when S_I and S_Y are calculated
from ipsl.
@tinrabuzin @petitrenaudseb which is the status of this issue?
from ipsl.
I still do not agree with the psse base load model, one correction i made in my local library is the following:
parameter Complex S_I = S_i**/v0** + Complex(a.re * S_p.re / v0, a.im * S_p.im / v0);
parameter Complex S_Y = S_y**/v0^2** + Complex(b.re * S_p.re / v0 ^ 2, b.im * S_p.im / v0 ^ 2);
from ipsl.
I disagree. You can have a look at the section 7.2.2. of PAGV1 of PSSE. And I consider this issue closed.
from ipsl.
@tinrabuzin
May you send me this section please ?
from ipsl.
@tinrabuzin
Thanks for the documentation.
@AIAitesla
If we follow the documentation of PSSE, we should use the load as following (assuming that the load flow calculate P0, Q0 and V0) for our case :
S_p(re=P0, im=Q0),
S_i(re=0.0, im=0.0),
S_y(re=0.0, im=0.0),
a(re=1, im=0),
b(re=0, im=1),
v0 = V0
from ipsl.
OK. We will do this.
Thanks
from ipsl.
Related Issues (20)
- WT3E1 - Terminal voltage control
- ST5B excitation limiters
- Convention for set points in models
- Missing bitmap for icon of WindGenerator
- SimpleLagLimVar behaviour when the limit is hit HOT 1
- PSSE generators not working in OpenModelica
- N44 system has to be updated with the new version of 2winding transformer
- Initilization issue with New Line model ?
- Model Electrical/Events/Breaker.mo HOT 2
- Important to REN network: division by zero HOT 2
- Models LOADPQ/LOADPQ_variation HOT 10
- Permission denied HOT 4
- Line models update not fully propagated in Examples HOT 1
- PSAT AVR Types II and III - Initialisation HOT 4
- PSAT OEL should be revised HOT 1
- OpenIPSL Fork
- Add P and Q to Eurostag machine models HOT 1
- Modify comment for nstep in capacitor model HOT 1
- Minor bug fixes and code cleaning following the OpenModelica conference
- Package HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipsl.