**********************************
Trouble solving algebraic loop containing
'Classical_IdealLosslessTurbine/PIDGovernor/PID Controller/D' at time
0.1000000000000018.
Stopping simulation. There may be a singularity in the solution. If
the model is correct, try reducing the step size (either by reducing
the fixed step size or by tightening the error tolerances).
**********************************
When I try up with the fixed step solver (I used variable step solver
initially), there's initial power surge (increment). Shouldn't the
initial power surge to be opposite to the direction of the gate
position change due to the water inertia?
I'm not sure if I'm getting this right? Could somebody assure me
about this? Or is there anything can be done regarding the error
message?
Thankyou
Regards,
Yin Chin
I dont know your model. I assume you use a PID controller to control
the power of your hydraulic system. In the end it doesnt matter. As
Zhao said you must first get rid of the algebraic loop. Algebraic
loops in combination with pid controllers often arise when there is a
direct (algebraic) connection between the output of the pid
controller and the input(feedback) of the pid controller. as Zhao
said you can add a memory to solve the algebraic loop. You can e.g.
set it at the output of the PID controller.
If you dont want to do it this way you must tell us what transfer
function your control path has.
regards
Olaf
Very true. Another option: consider put in some dynamics for the
actuator.
Kelvin B. Hales
Kelvin Hales Associates Limited
Consulting Control Engineers
Web: www.khace.com
getting rid of the algebraic loop is one good thing as the others
have recommended... but you should also consider your test case. in
a real system you can not have a 'step change' in speed. you can
have a step change in the commanded speed, but turbine speed takes
time to change. so look carefully at what you are trying to do and
make sure you aren't forcing something to change instantly which
would break anything that took a derivative of it.
When i did this, there isn't any warning abt the algebraic loop. but
i doubt the response is correct. It doesn't seem ok to me. if there
any way to verify if the model is correct?
Btw, is adding a memory at the output the only solution?
I have couple more models having the same problem (the algebraic
loop), so I need to look into it, and try something on them.
If possible, would anybody suggest a way to verify their model? I
have built-up a number of models, but I'm not sure if they are
correct and ready to be used for stability studies when integrated
into a bigger system. That would be great if anyone could suggest any
verification method, i would really appreciate that.
Thankyou
Cheers,
Yin Chin
I'm just thinking of adding a transport delay at the feedback? should
it do the same to cancel the algebraic loop?
thankyou
http://www.mathworks.com/access/helpdesk/help/toolbox/physmod/powersys/ug/f1-7758.html#f1-7986
redraw your hydraulic stick diagram and see if you can get rid of the
loop another way.