# Social Force equations in agents.jl

**URL:** <https://discourse.julialang.org/t/social-force-equations-in-agents-jl/82622>\
**Category:** Modelling & Simulations\
**Tags:** agents\
**Created:** [June 12, 2022, 7:16am UTC](https://discourse.julialang.org/t/social-force-equations-in-agents-jl/82622 "2022-06-12T07:16:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fatima](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fatima/32/37094_2.png) [@Fatima](https://discourse.julialang.org/u/Fatima)\
**Post date:** [June 12, 2022, 7:16am UTC](https://discourse.julialang.org/t/social-force-equations-in-agents-jl/82622/1 "2022-06-12T07:16:59Z")

</div>

Hello, I’m new to agents.jl and am planning on creating an agent based model for an evacuation simulation that integrates the impacts of psychological factors on agent velocity. Does the agents.jl package utilize the social force equation and if so, is there a way I can access it to modify it with my psychological force?

---

<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:** [June 12, 2022, 9:54am UTC](https://discourse.julialang.org/t/social-force-equations-in-agents-jl/82622/2 "2022-06-12T09:54:16Z")

</div>

If you know the equation then it is straightforward to implement it as the `update_vel` function in Conrinuous Space . Have you had a look at the docs of continuous space ?

---

<div class="post-metadata">

**Author:** ![Fatima](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fatima/32/37094_2.png) [@Fatima](https://discourse.julialang.org/u/Fatima)\
**Post date:** [July 4, 2022, 11:17am UTC](https://discourse.julialang.org/t/social-force-equations-in-agents-jl/82622/3 "2022-07-04T11:17:24Z")

</div>

Thank you!
