Excitation setup failed!!

How to use openEMS. Discussion on examples, tutorials etc

Moderator: thorsten

Post Reply
Sedictious
Posts: 2
Joined: Fri 09 Apr 2021, 22:17

Excitation setup failed!!

Post by Sedictious » Tue 13 Apr 2021, 17:30

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!
Attachments
simple_dipole.m
(2.82 KiB) Downloaded 91 times

asdf
Posts: 9
Joined: Sat 11 Aug 2018, 08:19

Re: Excitation setup failed!!

Post by asdf » Wed 14 Apr 2021, 10:42

don't you mean
dimension * unit = dimension * 1e-3
instead of
dimension / unit = very_much
???

Sedictious
Posts: 2
Joined: Fri 09 Apr 2021, 22:17

Re: Excitation setup failed!!

Post by Sedictious » Wed 14 Apr 2021, 14:48

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

Post Reply