- Index
- » Users
- » Ilthebest
- » Profile
Posts
Posts
Page Start Prev 1 Next End
Hi,
I started to use openModelica because I must simulate a simple project with it.
My project consists to simulate the trajectories of 15 balls on a table (billiards).
I have a problem: when I simulate the condition "when" in the cycle for isn't respected.
for j in 1:n loop
when x[j] <= 0.05 then
reinit(dx[j], pre(dx[j]));
end when;
How I can fix it?
Tesina.mo
Page Start Prev 1 Next End
- Index
- » Users
- » Ilthebest
- » Profile