# Coupling PDEs to Agents.jl

**URL:** <https://discourse.julialang.org/t/coupling-pdes-to-agents-jl/80977>\
**Category:** Modelling & Simulations\
**Tags:** agents\
**Created:** [May 12, 2022, 8:18pm UTC](https://discourse.julialang.org/t/coupling-pdes-to-agents-jl/80977 "2022-05-12T20:18:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sahil\_Kulkarni](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sahil_kulkarni/32/30481_2.png) [@Sahil\_Kulkarni](https://discourse.julialang.org/u/Sahil_Kulkarni)\
**Post date:** [May 12, 2022, 8:18pm UTC](https://discourse.julialang.org/t/coupling-pdes-to-agents-jl/80977/1 "2022-05-12T20:18:28Z")

</div>

I want to couple PDEs to with ABMs, on the website of Agents.jl, there is a tutorial that explains how to integrate ODEs with Agents, I was wondering if I discretize a PDE with DiffEqOperators.jl and then solve the remaining part as ODE with DifferentiaEquations.jl, will I be able to couple that with Agents.jl?

---

<div class="post-metadata">

**Author:** ![Datseris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/datseris/32/13406_2.png) [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Post date:** [May 13, 2022, 8:08am UTC](https://discourse.julialang.org/t/coupling-pdes-to-agents-jl/80977/2 "2022-05-13T08:08:52Z")

</div>

Discretized PDEs and ODEs are the same thing for a computer, so I don’t see any reason why the ODE integration example we have wouldn’t apply to PDEs!

---

<div class="post-metadata">

**Author:** ![xtalax](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xtalax/32/35293_2.png) [@xtalax](https://discourse.julialang.org/u/xtalax)\
**Post date:** [May 17, 2022, 3:09pm UTC](https://discourse.julialang.org/t/coupling-pdes-to-agents-jl/80977/3 "2022-05-17T15:09:41Z")

</div>

If you are interested in PDEs, see [MethodOfLines.jl](https://github.com/SciML/MethodOfLines.jl) which has almost completely superseded DiffEqOperators at this point.
