# SimPEG Analytical Solutions

**URL:** <https://simpeg.discourse.group/t/simpeg-analytical-solutions/52>\
**Category:** Electromagnetics\
**Created:** [January 22, 2020, 8:19pm UTC](https://simpeg.discourse.group/t/simpeg-analytical-solutions/52 "2020-01-22T20:19:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deniz](https://avatars.discourse-cdn.com/v4/letter/d/3da27b/32.png) [@Deniz](https://simpeg.discourse.group/u/Deniz)\
**Post date:** [January 22, 2020, 8:19pm UTC](https://simpeg.discourse.group/t/simpeg-analytical-solutions/52/1 "2020-01-22T20:19:41Z")

</div>

Hi,

Does anyone have an analytical/numerical comparison of TDEM and FDEM modules for electric dipole? (Ward & Hohmann 2.40 and 2.50). I tried them but the analytical result was like on time and simpeg results were off time? Also, field values were really big.

Thank you.

---

<div class="post-metadata">

**Author:** ![sgkang09](https://yyz2.discourse-cdn.com/free1/user_avatar/simpeg.discourse.group/sgkang09/32/8_2.png) [@sgkang09](https://simpeg.discourse.group/u/sgkang09)\
**Post date:** [January 22, 2020, 9:10pm UTC](https://simpeg.discourse.group/t/simpeg-analytical-solutions/52/2 "2020-01-22T21:10:24Z")

</div>

Hi @Deniz, there is a python package called empymod:

> **[empymod/empymod](https://github.com/empymod/empymod)**
>
> Full 3D electromagnetic modeller for 1D VTI media. Contribute to empymod/empymod development by creating an account on GitHub.

where you can compute analytic solution for 1D layered earth.

---

<div class="post-metadata">

**Author:** ![Deniz](https://avatars.discourse-cdn.com/v4/letter/d/3da27b/32.png) [@Deniz](https://simpeg.discourse.group/u/Deniz)\
**Post date:** [January 24, 2020, 11:03pm UTC](https://simpeg.discourse.group/t/simpeg-analytical-solutions/52/3 "2020-01-24T23:03:59Z")

</div>

Thank you, @sgkang09.

---

<div class="post-metadata">

**Author:** ![prisae](https://yyz2.discourse-cdn.com/free1/user_avatar/simpeg.discourse.group/prisae/32/117_2.png) [@prisae](https://simpeg.discourse.group/u/prisae)\
**Post date:** [February 4, 2020, 9:40am UTC](https://simpeg.discourse.group/t/simpeg-analytical-solutions/52/4 "2020-02-04T09:40:31Z")

</div>

Hi @Deniz

I just stumbled upon this today. Did you found what you were looking for?

I actually have the figures around the equations you mentioned all reproduced, see here: [https://empymod.readthedocs.io/en/stable/examples/reproducing/fem\_tem.html#sphx-glr-examples-reproducing-fem-tem-py](https://empymod.readthedocs.io/en/stable/examples/reproducing/fem_tem.html#sphx-glr-examples-reproducing-fem-tem-py)

empymod has both the numerical and analytical solutions for all possible source-receiver combinations for fullspaces and halfspaces. However, the implementation does not follow Ward and Hohmann (which are derived from potentials, I think), but they follow Hunziker et al, 2015 (fullspaces) and Slob et al, 2010 (halfspaces), see [https://empymod.readthedocs.io/en/stable/references.html](https://empymod.readthedocs.io/en/stable/references.html) for the full references.

I am happy to help with any questions if you have some.

(Thanks @sgkang09 for pointing to empymod!)

---

<div class="post-metadata">

**Author:** ![Deniz](https://avatars.discourse-cdn.com/v4/letter/d/3da27b/32.png) [@Deniz](https://simpeg.discourse.group/u/Deniz)\
**Post date:** [February 4, 2020, 4:11pm UTC](https://simpeg.discourse.group/t/simpeg-analytical-solutions/52/5 "2020-02-04T16:11:24Z")

</div>

Hi @prisae

Thank you so much for the information. I was trying to compare analytical and numerical solutions for SimPEG. FDEM results were perfectly matched with Ward and Hohmann. However, whatever I do, TDEM result doesn’t match perfectly. Analytical and numerical results for TDEM are really close to each other but I was wondering if it is possible to get a better result.

---

<div class="post-metadata">

**Author:** ![prisae](https://yyz2.discourse-cdn.com/free1/user_avatar/simpeg.discourse.group/prisae/32/117_2.png) [@prisae](https://simpeg.discourse.group/u/prisae)\
**Post date:** [February 4, 2020, 6:25pm UTC](https://simpeg.discourse.group/t/simpeg-analytical-solutions/52/6 "2020-02-04T18:25:00Z")

</div>

Can you share your scripts? Then I could have a look, otherwise it is hard to tell…
