Opened 6 years ago
Last modified 3 years ago
#4979 new defect
An optimization with annotations trouble — at Version 2
Reported by: | massimo ceraolo | Owned by: | Vitalij Ruge |
---|---|---|---|
Priority: | normal | Milestone: | Future |
Component: | Optimization | Version: | |
Keywords: | Cc: | Willi Braun |
Description (last modified by )
I know that dynamical optimization is only partially supported.
However, I guess that it is useful to report a simple issue I've seen, when dynamical optimisation with annotatios is used.
Consider the file InputOptIssues enclosed. It contains two models:
- TimeTable: it finds the optimal value for "torque" variable perfectly. Given the constraints, this is first the max allowed value (90), then the max allower power (9000), then min power, min torque.
- Trapezoid, nearly identical to timetable, but has as load torque a trapezoid. In this case the Trapezoid output is constantly zero instead of the espected shape. The optimal torque is still found, but it is the one corresponding to zero load torque instead of the expected shape.
To reproduce consider that the two models contain all the relevant options inside annotations. So they can reproduced as follows:
- load OMedit (using all default options)
- run TimeTable and see the results
- run Trapezoid and see the results.
Change History (3)
by , 6 years ago
Attachment: | InputOptIssues.mo added |
---|
comment:1 by , 6 years ago
Cc: | added |
---|
comment:2 by , 3 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
There some issue with discret values update. The soultion of the Trapezoid is wrong.
I'm not sure if I can fixed it by my self.