Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Simulation interval when Noise library is used

Simulation interval when Noise library is used

I have set the Interval to 100s as I'd like to have the results logged every 100 seconds. However, when I use the noise library and use a sample period of say 20s, the result file looks weird. There are two entries corresponding to each time instant. The file looks something like -

time    Ts_zon    PI.y
-----------------------------
0    16            0.01
0    16            0.01
0    16            0.01
20    15.5694    0.107582
20    15.5694    0.107582
40    15.3485    0.207582
40    15.3485    0.207582
60    15.2997    0.307582
60    15.2997    0.307582
80    15.394    0.407582
80    15.394    0.407582
...
exportedVariables.csv


I would like to know why this is happening and if it's okay to just discard the repeated values and intermediate values.

Thanks in advance!

Edited by: ranadeakshay - Mar-08-18 15:35:41
There are 0 guests and 0 other users also viewing this topic
You are here: