Ticket #6107: TestAnnotation.mo
| File TestAnnotation.mo, 386 bytes (added by , 5 years ago) |
|---|
| Line | |
|---|---|
| 1 | model TestAnnotation "Thermal chip model written by explicit ODEs, constant power on half of the bottom surface" |
| 2 | Real x(start = 1, fixed = true); |
| 3 | equation |
| 4 | der(x) = -x; |
| 5 | annotation( |
| 6 | experiment(StartTime = 0, StopTime = 5, Tolerance = 1e-06, Interval = 2e-06), |
| 7 | __OpenModelica_simulationFlags(lv = "LOG_STATS", outputFormat = "mat", s = "euler")); |
| 8 | end TestAnnotation; |
