So i'd like to model a recurring event (I don't think this is a statistics problem though) that is affected by another event with a different frequency. Say event A has a slower BASE frequency (about every 2.7 seconds), and event B has a higher frequency (about every 1.6 seconds). When the second event occurs, it has a chance to accelerate the next A event, but only if the next event A is more than 20% away from occurring again.
For example, the first event that occurs with the arbitrary numbers we have here would be a B even at time t = 1.6. Because the next event is still 1.1 seconds away, which is more than 2.7*.2, the next event A is accelerated by some time in seconds, lets say 1.5 seconds. If the added time is greater than the remaining time, it just instantly triggers the next event A and it's timer until the next event is reset.
What i'm trying to find is the final resulting interval between A events on average.
I'm not really sure how best to explain it, so if more clarification is needed let me know. It feels like it would be some type of wave sum problem, but I'm not sure how to set it up with all these variables involved.