# DC inversion failing

**URL:** <https://simpeg.discourse.group/t/dc-inversion-failing/394>\
**Category:** DC and IP\
**Created:** [December 10, 2022, 2:41pm UTC](https://simpeg.discourse.group/t/dc-inversion-failing/394 "2022-12-10T14:41:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabioca](https://avatars.discourse-cdn.com/v4/letter/f/c68b51/32.png) [@fabioca](https://simpeg.discourse.group/u/fabioca)\
**Post date:** [December 10, 2022, 2:41pm UTC](https://simpeg.discourse.group/t/dc-inversion-failing/394/1 "2022-12-10T14:41:38Z")

</div>

I am modifying the DC resistivity inversion script (with irls) to use my own data. Even though my data have been acquired with a Wenner-Schlumberger configuration, I was able to create a .obs file. Everything seems to work fine (after I adapted the mesh), but teh inversion apparently does not converge: after several iterations is gives me an error (singular factor). I shoudl really dig in, but if someone had an easy way-out, it would be appreciated. Thank you.  
Let me know, and I will send the file and the script I am using (but it is just a sligtht modification of the original).

---

<div class="post-metadata">

**Author:** ![pycoklat](https://avatars.discourse-cdn.com/v4/letter/p/b77776/32.png) [@pycoklat](https://simpeg.discourse.group/u/pycoklat)\
**Post date:** [March 19, 2024, 3:12am UTC](https://simpeg.discourse.group/t/dc-inversion-failing/394/2 "2024-03-19T03:12:55Z")

</div>

hi can you help me, I’m currently working on simpeg project with wenner Schlumberger survey. would you help me by answering some questions i had
