Hi,<br><br>I&#39;m using accumulate with sliding windows to verify that certain event conditions are present for a specified period of time, which works fine, however<br>I need to verify that both conditions are present at the same time, i.e Foo.value &gt; 1 for 10 seconds and Bar.value &lt; 1 for 10 seconds. There doesn&#39;t<br>
appear to be an obvious way to use the temporal operators in this situation. Can anybody offer any suggestions?<br><br>    rule test no-loop true<br>    when<br>        $f : Double(doubleValue &gt; 1.0) from accumulate( Foo($v : value) over window:time ( 10s )<br>
            from entry-point EntryPoint, min($v))<br>        $b : Double(doubleValue &lt; 1.0) from accumulate( Bar($v : value) over window:time ( 10s )<br>            from entry-point EntryPoint, max($v))<br>    then<br>
        // ...<br>    end<br>    <br>Any help greatly appreciated.<br><br>Thanks,<br><br>Paul<br>