- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » How to get more information in the...
Page Start Prev 1 Next End
How to get more information in the simulation result?
Re: How to get more information in the simulation result?
Aug-17-10 11:34:56
CPU time (after you have compiled the model, e.g. by running the simulate() command first):
Code:
system("time ./ModelA > output.log"); readFile("output.log");
or (not as accurate):
Code:
timing(system("./A"));
Number of zero crossings (after you have generated source code, e.g. using the buildModel() or simulate() command):
Code:
system("grep \"^#define NG\" ./ModelA.cpp")
Maximum integration order I don't know how to get.
- sjoelund.se
- 1700 Posts
Page Start Prev 1 Next End
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » How to get more information in the...
There are 0 guests and 0 other users also viewing this topic