# Jump process with multiple jumps, which jump occurs?

**URL:** https://discourse.julialang.org/t/jump-process-with-multiple-jumps-which-jump-occurs/81122
**Category:** Modelling & Simulations
**Tags:** modelling
**Created:** [May 15, 2022, 11:36pm UTC](https://discourse.julialang.org/t/jump-process-with-multiple-jumps-which-jump-occurs/81122 "2022-05-15T23:36:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Max\_Beez](https://avatars.discourse-cdn.com/v4/letter/m/7bcc69/32.png) [@Max\_Beez](https://discourse.julialang.org/u/Max_Beez)
#### Post date: [May 15, 2022, 11:36pm UTC](https://discourse.julialang.org/t/jump-process-with-multiple-jumps-which-jump-occurs/81122/1 "2022-05-15T23:36:43Z")

</div>

If we construct a jump process, say one with an underlying ODE and 5 jumps are defined with differing affects. We then pass the jumps, say j1,j2, j3, j4 and j5 to the JumpProblem constructor.

How is which jump occurs implemented?

---

<div class="post-metadata">

### Author: ![skleinbo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/skleinbo/32/36080_2.png) [@skleinbo](https://discourse.julialang.org/u/skleinbo)
#### Post date: [May 16, 2022, 9:21am UTC](https://discourse.julialang.org/t/jump-process-with-multiple-jumps-which-jump-occurs/81122/2 "2022-05-16T09:21:08Z")

</div>

You can select from a variety of jump aggregators

[https://diffeq.sciml.ai/stable/types/jump\_types/#Constant-Rate-Jump-Aggregators](https://diffeq.sciml.ai/stable/types/jump_types/#Constant-Rate-Jump-Aggregators)

For the actual implementations, see for example [JumpProcesses.jl/direct.jl at master · SciML/JumpProcesses.jl · GitHub](https://github.com/SciML/DiffEqJump.jl/blob/master/src/aggregators/direct.jl)
