![]() ![]() |
| colinbankier |
Jan 9 2010, 02:26 PM
Post
#1
|
|
Newbie ![]() Group: Members Posts: 1 Joined: 4-January 10 Member No.: 60,464 |
Hi,
I'm using OpenModelica, and am trying to use the random function as per this post: http://www.mail-archive.com/openmodelicain...e/msg00564.html I have included the code for the function in my project, but run into the same issue with overdetermined system the user in that post did. I'm new to modelica, can anyone point me to what I'm doing wrong? My test model is: (Random.random code as per the post above) model Rand import Random; type Seed = Real[3]; Real count; Seed count2; equation (count, count2) = Random.random(); end Rand; simulate(Rand, startTime=0, stopTime=7); record SimulationResult resultFile = "Simulation failed. Too many equations, overdetermined system. The model has 4 variables and 10 equations " end SimulationResult; Any help appreciated. Thanks, Colin. |
![]() ![]() |
| Lo-Fi Version | Time is now: 8th September 2010 - 03:17 PM |