what is DSTATE?
It is defined as 'the values of the corresponding time derivative (DSTATE)' in API. However, I did not get it. Can anyone help?
Thanks.
[Solved] Please read the comments.
First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
It is defined as 'the values of the corresponding time derivative (DSTATE)' in API. However, I did not get it. Can anyone help?
Thanks.
[Solved] Please read the comments.
In case you retrieve the state variable from the API, why don't you calculate it in an 'a posteriori' pattern, after the value of the state variable is available? You could calculate it as a divided difference, since the time step is known.
Thank you for the answer. The was the thing that came to my mind after RJG@PSM's answer. I think I'll go with this. I think what you suggest will work fine in quasi steady-state operation. During the transient, I think this is the best I can get. Thank you again for the answer.
DSTATE is the derivate of the state variable, PSS/E looks at it during initialization to check if it is zero (in steady state the state variable is a constant).
Thank you for the answer. I am changing the state variable in every timestep. In this case, how do we know the derivative of the state variable? I mean we don't know the diff. algebraic equations corresponding the state variables. Is it OK if we just write something other than 0?
@jfconroy Do I have to provide a derivative to PSS/E? Doesn't it have Differential Algebraic Equations which it can make a transition to next state(k+1)?
Asked: 2020-12-09 06:46:49 -0500
Seen: 1,500 times
Last updated: Dec 17 '20