Hello!
I am fascinated from the sysdyn tool! Big thanks to it's developers.
I am trying to simulate a simple model, spring_mass system, in which cosine function is used, please see attached file. Unfortunately, I got an error message "Simulation failed. No value for xdd". I have a feeling, that the program doesn't understand that the cosine function exist in it's list of functions.
Please help!
Regards,
Rosen MITREV, TU-Sofia, Bulgaria
Problem with cosine function
Problem with cosine function
- Attachments
-
- SpringMass.rar
- (5.94 KiB) Downloaded 2779 times
Re: Problem with cosine function
Problem solved!
Just switched to OpenModelicaSolver.
Just switched to OpenModelicaSolver.
-
- Site Admin
- Posts: 31
- Joined: March 11th, 2013, 3:14 pm
Re: Problem with cosine function
Yup, the Internal solver in under development and thus lacking some Modelica features. In the upcoming release the Internal solver will be improved a lot and it will be better than OpenModelica in many applications.
BR,
Tuomas
BR,
Tuomas
Re: Problem with cosine function
Tuomas, thanks for the answer, community is looking forward to the next version:)
Another question - is it possible to use random numbers in the sysdyn tool?
Regards,
Rosen
Another question - is it possible to use random numbers in the sysdyn tool?
Regards,
Rosen
-
- Site Admin
- Posts: 31
- Joined: March 11th, 2013, 3:14 pm
Re: Problem with cosine function
The only way that I know of how to use randomness is with sensitivity analysis experiments. We tried to implement a random variable as such a couple of years ago but didn't succeed too well. I think it was due to Modelica not supporting random numbers.
BR,
Tuomas
BR,
Tuomas
Re: Problem with cosine function
Thank you one more time!