[Scilab-users] PID tuning in Xcos

amiege arnaud.miege at gmail.com
Wed Feb 27 13:32:34 CET 2013


Alexandre HERISSE wrote
> Hi,
> 
> In your scilab context, you are defining Kp and Ki variables.
> In the context of your xcos simulation, you define again Kp and Ki.
> This seems to be the root cause of the warnings.
> 
> Please find the updated attached scilab script where Kp have been 
> replaced by Kp0 and Ki have been replaced by Ki0. Note that the context 
> of the xcos simulation is still updated with Kp and Ki.
> 
> Could you give me your feedback ?
> 
> Thanks.

Thanks, that works a treat and it makes sense. I can see now that if the
variables are defined in the workspace, they take precedence over the
context values of the model.

Thanks again,

Arnaud



--
View this message in context: http://mailinglists.scilab.org/PID-tuning-in-Xcos-tp4026069p4026074.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list