Page 1 of 1

Excitation setup failed!!

Posted: Tue 13 Apr 2021, 17:30
by Sedictious
Hello!!

I recently started working on OpenEMS and I'm still trying to get the hang of it. As a first project, I tried modeling a simple dipole (there's supposed to be a structure beneath it, that's why the mesh is bigger on the y axis than normally expected), but anytime I'm trying to get it to work I get the following error:
Excitation::buildExcitationSignal: Unknown error... excitation setup failed!!
I'm a bit lost on this. I figured that it's most likely because I either did a mistake on the units or on some of my assumptions on how the excitation port is simulated. I attach a MWE of my code

Thanks in advance!

Re: Excitation setup failed!!

Posted: Wed 14 Apr 2021, 10:42
by asdf
don't you mean
dimension * unit = dimension * 1e-3
instead of
dimension / unit = very_much
???

Re: Excitation setup failed!!

Posted: Wed 14 Apr 2021, 14:48
by Sedictious
Yes, that was one mistake (I meant to use 1e3), but the main one was dividing again by the units for calculating dipole.f.length. After correcting those two mistakes , the simulation is finally running