Like to run OpenEMS on a patch antenna under Windows. #26
Replies: 22 comments 34 replies
-
Hi, yeah I just realize that some of the install instructions and how to get started are not again available. I will have to look into that. If you have downloaded the openEMS Windows zip file you really only need to unzip it to somewhere. Maybe to something like C:\openEMS Inside there should certainly be an openEMS.exe but that is the solver directly and should not be just started like that. Then you just can run e.g. the Tutorials provided in the "Matlab" folder. If you want to user the python interface, have a look here. I hope this helps? |
Beta Was this translation helpful? Give feedback.
-
Wow, thanks much! I will look into this especially Octave which I am not familiar with yet. You are correct, some of the links provided yield an HTTP 404. I searched the folder I extracted openEMS-master.zip into and there is no openEMS.exe, in fact no .exe files at all. What I am trying to do is analyze a patch antenna I used an online calculator to create. 4NEC2 gives wild numbers for input impedance and SWR. Thanks and enjoy, John. On Wednesday, February 1, 2023 at 11:57:54 PM CST, Thorsten Liebig ***@***.***> wrote:
Hi, yeah I just realize that some of the install instructions and how to get started are not again available. I will have to look into that.
If you have downloaded the openEMS Windows zip file you really only need to unzip it to somewhere. Maybe to something like C:\openEMS
Inside there should certainly be an openEMS.exe but that is the solver directly and should not be just started like that.
What you need is Octave or Matlab because simulations are setup as Octave scripts.
Octave needs to know where and how to find openEMS. Thus you need to add the path with:
addpath('C:\opt\openEMS\matlab');
Then you just can run e.g. the Tutorials provided in the "Matlab" folder.
If you want to user the python interface, have a look here.
I hope this helps?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Now I'm getting many errors running Simple_Patch_Antenna. Thanks, John.
…----- Forwarded Message ----- From: John Christian ***@***.***>To: Thorsten Liebig ***@***.***>Sent: Thursday, February 2, 2023 at 06:08:14 PM CSTSubject: Fw: [thliebig/openEMS-Project] Like to run OpenEMS on a patch antenna under Windows. (Discussion #26)
Found my problem. I should have DLed openEMS_x64_v0.0.35-86-g0777302_msvc. I have now and will continue to learn. Thanks, John.
I now have Octave installed but cannot figure out how to run the tutorials. Thanks, John.
----- Forwarded Message ----- From: John Christian ***@***.***>To: thliebig/openEMS-Project ***@***.***>Sent: Thursday, February 2, 2023 at 06:59:15 AM CSTSubject: Re: [thliebig/openEMS-Project] Like to run OpenEMS on a patch antenna under Windows. (Discussion #26)
Wow, thanks much! I will look into this especially Octave which I am not familiar with yet. You are correct, some of the links provided yield an HTTP 404. I searched the folder I extracted openEMS-master.zip into and there is no openEMS.exe, in fact no .exe files at all. What I am trying to do is analyze a patch antenna I used an online calculator to create. 4NEC2 gives wild numbers for input impedance and SWR. Thanks and enjoy, John. On Wednesday, February 1, 2023 at 11:57:54 PM CST, Thorsten Liebig ***@***.***> wrote:
Hi, yeah I just realize that some of the install instructions and how to get started are not again available. I will have to look into that.
If you have downloaded the openEMS Windows zip file you really only need to unzip it to somewhere. Maybe to something like C:\openEMS
Inside there should certainly be an openEMS.exe but that is the solver directly and should not be just started like that.
What you need is Octave or Matlab because simulations are setup as Octave scripts.
Octave needs to know where and how to find openEMS. Thus you need to add the path with:
addpath('C:\opt\openEMS\matlab');
Then you just can run e.g. the Tutorials provided in the "Matlab" folder.
If you want to user the python interface, have a look here.
I hope this helps?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Thanks, I have now. At first I DLed Master now I have the one you pointed to. I am making progress, just not there yet. I have sent several e-mails but perhaps you are not getting them. The top link at the bottom of this link works but the other three yield HTTP 404 errors. I watched one of your videos yesterday and will look for more. Thanks, John.
On Friday, February 3, 2023 at 12:29:40 AM CST, Thorsten Liebig ***@***.***> wrote:
Did you download the latest windows build? E.g. here
There must be at least 2 *.exe and lots of *.dll inside... Otherwise you may have downloaded the source code only which will not run very well itself ;)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Got it running but it was one stumbling block after another. My main problem was getting the path defined in Octave for the folder where Physical_Constants was stored. I finnalt use the Octave ADDPATH command but had to change all \ into /. I was surprised by the time it took running all the time steps. Obviously more work si needed by me. Thanks, John.
…----- Forwarded Message ----- From: John Christian ***@***.***>To: thliebig/openEMS-Project ***@***.***>Sent: Friday, February 3, 2023 at 06:01:51 AM CSTSubject: Re: [thliebig/openEMS-Project] Like to run OpenEMS on a patch antenna under Windows. (Discussion #26)
Thanks, I have now. At first I DLed Master now I have the one you pointed to. I am making progress, just not there yet. I have sent several e-mails but perhaps you are not getting them. The top link at the bottom of this link works but the other three yield HTTP 404 errors. I watched one of your videos yesterday and will look for more. Thanks, John.
On Friday, February 3, 2023 at 12:29:40 AM CST, Thorsten Liebig ***@***.***> wrote:
Did you download the latest windows build? E.g. here
There must be at least 2 *.exe and lots of *.dll inside... Otherwise you may have downloaded the source code only which will not run very well itself ;)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Although running getting " Could not find the Qt platform plugin "windows" in "". StackOverflow has a really long answer to this, but I suspect there is a more appropriate method to correct it. Any help appreciated. Thanks and enjoy, John. |
Beta Was this translation helpful? Give feedback.
-
Please tell me how to increase the size of the Command window. Less than 20% of the window is used. My monitor is set to a resolution of 3820x2160. Thanks and enjoy, John. |
Beta Was this translation helpful? Give feedback.
-
Thanks much. Please see my posts for additional problems I am having. Thanks, John.
On Saturday, February 4, 2023 at 07:26:46 AM CST, Thorsten Liebig ***@***.***> wrote:
Hm that is a bit weird. Maybe you can try an older version that was not build using the MSVC.
Otherwise it should really just be setting the correct path with "addpath" and every tutorial should just run... nothing more to it...
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I altered Simple_Patch_Antenna to represent my GPS L1 antenna. It runs and I like the output. Octave still complains about not find QT - don't know what I am missing. Thanks for all the help. I will continue working on my GPS antenna to refine if. Enjoy, John. |
Beta Was this translation helpful? Give feedback.
-
I too am getting a problem with Qt. when I tried to upgrade to the latest version. This is being thrown up by CSXCAD which cannot find the windows platform plugin (presumably qwindows.dll?). I have tried giving it all the paths I can find with no success. If I run the CSXCAD executable from the command line I get: "qt.qpa.plugin: Could not find the Qt platform plugin "windows" in "c:\Qt\5.14.1\msvc2015_64\plugins\platforms" the "c:\Qt..." path it is looking in is what I currently have QT_QPA_PLATFORM_PLUGIN_PATH environment variable set to. "C:\Users\Heather\AppData\Local\Programs\Python\Python311\python.exe: No module named easy_install" I tried doing it with python310 as well with the same error. I think easy_install has been removed since PIP appeared? I have an older version running of openEMS (from 2019 using Qt4) and that works fine with CTXCAD. Any help greatly appreciated. Thanks, |
Beta Was this translation helpful? Give feedback.
-
FYI, the errors I got on building CSXCAD from source started with not having Cython installed (which I fixed with pip install cython). I then get this compiler error ... C:\openEMS\python>cd openEMS-Project/CSXCAD/python C:\openEMS\python\openEMS-Project\CSXCAD\python>python setup.py build_ext -IC:openEMS\include -LC:openEMS HTH, |
Beta Was this translation helpful? Give feedback.
-
BTW, openEMS_x64_v0.0.35-74-g0e54fbf.zip works fine for me. |
Beta Was this translation helpful? Give feedback.
-
Heather, great to hear from a companion traveler. I am not nearly as far into the programmer type stuff as you are, but like you, I have openEMS/Octave working so I can see the plots for my patch antenna. Right now I am going back and reading the details to see what I can learn from the various manuals. Enjoy, John. |
Beta Was this translation helpful? Give feedback.
-
Hi John, |
Beta Was this translation helpful? Give feedback.
-
Thanks, Heather. I agree with you that seeing my structure is important to me and suspect you are correct in that missing QT may be the root of the problem. I come from 4NEC2 (WW II electromagnetic solver) which always shows the structure first and it is also available in the 3D view of the emission pattern. The input impedance made no sense (almost totally imaginary). The numbers I get here are very reasonable and allow me feel better about building. There is a slight chance avoiding QT may be a blessing. I have encountered two really good applications using QT that take almost exactly 5 minutes to open. This started when I installed 22H2 in my W10. Thanks and enjoy, John. |
Beta Was this translation helpful? Give feedback.
-
What is needed, in my opinion, is a clear explanation of the environment variables needed for openEMS, Octave and QT. I do not even know the name of some of these variables, so it is very hard to set them. Also there are so many older versions of all the programs, searching for solutions often leads to stale answers. For us Windows user, we need to know information in Windows terminology not Linux. When we are instructed to do addpath, please say where. Thanks and enjoy, John. |
Beta Was this translation helpful? Give feedback.
-
Getting a little frustrating. I deleted all the files from 86, Dled and extracted 74. I ran my patch antenna based on simple_patch_antenna. In the command window I did: addpath ("C:/openEMS/matlab/") then started the simulation. Immediately I got:
|
Beta Was this translation helpful? Give feedback.
-
I had some real progress today. Still get the "...Point Box..." message, but it does not stop computation. I am getting the structure and it looks good. I got rid of the "...out of bound 0..." message by commenting out the plotRefl instruction and the following title. Now I get five plots (losing the Smith Chart). Turns out I know little about Smith Charts. The results look fairly good except for the feed point impedance. It is a lot more imaginary than I would like. Where can I see tabular data? I would love to receive some advice on reducing the imaginary part of the impedance. I clearly have something I can work with to help me understand. I would also like to get the Command window to be full height, width is OK. Thanks much and enjoy, John. |
Beta Was this translation helpful? Give feedback.
-
Heather, thank you for the information on older versions. Going to 'before MSVC' version 74 cured most of my problems. Thanks and enjoy, John. |
Beta Was this translation helpful? Give feedback.
-
This application is fun to use, so I started making what I thought were minor changes in the plotting area when I got: |
Beta Was this translation helpful? Give feedback.
-
This discussion has gone a bit out of hand as everybody opened a new "thread" instead of answering to an existing one... I have just tested the latest openEMS build with MSVC on a windows machine with Octave 7.3. Everything did run just fine. Note: If you want to reply to this, reply directly below it and not as a new answer/thread please. |
Beta Was this translation helpful? Give feedback.
-
Great to hear from you, thliebig! Not sure what you are referring to since really only Heather and I have been posting besides you. Still some path problems, usually takes two or three tries at running a simulation, mainly path problems. AppCSXCAD, hangs about once every three startups with 'not responding', killing it allows the simulation to continue to completion. Command window will not fill panel but when I left click Window in the left panel then click 'Reset window default layout', the Command window goes to full width (still not in height) but goes back to narrow soon. On some errors reported in the Command window, I can still do things in the command window but can not change windows (e.g. to Edit). Thanks for your time, Enjoy, John. |
Beta Was this translation helpful? Give feedback.
-
I am having a hard time getting traction on running Simple_Patch_Antenna under W10 x64. I have DLed most of what I think is important but can find no executable to run. Are there binaries available, or do I need to build one? Either way, please help me get started. Thank you, John.
Beta Was this translation helpful? Give feedback.
All reactions