This is a template Python code set which makes it easy to use JModelica to solve optimal control problem.
The template includes a sample model definition file (opt_definition.mop) and a .bat file (run_me.bat) to start its calculation. After download the template, immediately you can run JModelica by only double-clicking run_me.bat file, and obtain the optimization result.
Please go to the page given below for the information of how to start to use this and its details.