- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Simulating a model
Simulating a model
Simulating a model
Hello everyone!
Keep on learning about OpenModelica MDT plug-in for Eclipse, I am trying to simulate a very simple model like this:
Code:
omc> simulateModel(SMIB, stopTime=10, measureTime=true)
omc> plot(h)
false
According to the user manual, this command should produce a report, and then plot the behaviour of the variable h, that's right? What is going wrong here? (I think I have the plug-in correctly installed. I have also have installed OpenModelica 1.9 in my computer)
Greetings!
Re: Simulating a model
Hi,
I assume you do this in the MDT console. If so, the command is simulate(Model) not simulateModel(Model).
Cheers,
Adrian Pop/
- adrpo
- 885 Posts
Re: Simulating a model
I see,
Yes! I am using the MDT console. Now it works!
But... simulation failed.
Code:
messages = "Simulation Failed. Model: SMIB does not exist! Please load it first before simulation.",
How can I solve this? building the project or there is some load function?
Cheers!
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Simulating a model