Fuller's Problem (JModelica)
From mintOC
Revision as of 13:45, 15 March 2016 by MadeleineSchroeter (Talk | contribs) (Created page with "This page contains the model formulation of the MIOCP Fuller's problem in [http://jmodelica.org JModelica] format. === JModelica === The model in JModelica code. <sour...")
This page contains the model formulation of the MIOCP Fuller's problem in JModelica format.
JModelica
The model in JModelica code.
// Fuller's problem for an optimal chattering solution. // (c) Sebastian Sager, 2005-2009 // More info on http://mintoc.de/index.php/Fuller's_Problem optimization fuller_opt (objective = cost(finalTime), startTime = 0, finalTime = 1) // Differential states Real x0(start=0.01, fixed=true); Real x1(start=0, fixed=true); Real cost(start=0, fixed=true); // The control signal input Real u(free=true); equation der(x0) = x1; der(x1) = 1-2*u; der(cost) = x0^2; constraint u<=1; u>=0; x0(finalTime)=0.01; x1(finalTime)=0; end fuller_opt;