Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Doing Multiple Solution runs in HFSS

Status
Not open for further replies.

tompson

Newbie level 5
Newbie level 5
Joined
Mar 20, 2006
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,380
hfss script

I need to run many simulations on many different spiral inductor models. My thesis is due in a month, so I am also time limited and so I need to run these simulations as close together as possible. One after the other.

Does anyone know how to start a cue in HFSS to run solution passes one after the other. I know you can do it for different analysis setups in one model, but I want to do it across projects. I really can’t afford to wait between solving each model… Time is quickly running out!

Thanks in advance.
 

leander

Newbie level 5
Newbie level 5
Joined
Feb 22, 2006
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,402
hfss batchsolve

HFSS support VB script. You can record and save your any operation to a VBS file.
Then you open it and add your script such as open a project, run analysis, and close the project and open another...

The above method may fit your need. But I prefer you download a matlab package name hfssapi
**broken link removed**.
It is a set of matlab script that allow you to build 3D models in HFSS, and run simulation and do any things regarding to HFSS in matlab. good luck.

Leander
 

Ruritania

Member level 5
Member level 5
Joined
Nov 18, 2004
Messages
93
Helped
4
Reputation
8
Reaction score
3
Trophy points
1,288
Activity points
856
hfss batch file

Hi, tompson,

HFSSv10 can help you, it has the feature of queque simulation.

However, I think EM modeling is a long term process, it is hard to have everything done in one month.

Good luck!

Ruri
 

tompson

Newbie level 5
Newbie level 5
Joined
Mar 20, 2006
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,380
hfss queue

Sorry, I should have said I was using HFSS V9.2. Do you know if it's possible with this version.

(My lab here at school on has a license for 9.2 which is a bit of a pain)
 

leander

Newbie level 5
Newbie level 5
Joined
Feb 22, 2006
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,402
hfss scripting

tompson,

Well, my method can work under HFSS 9.2, just try it.
 

Lanus

Newbie level 4
Newbie level 4
Joined
Nov 20, 2005
Messages
7
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,344
python hfss script

Hey, i don't know if your problem is solved or not.This is what i did to run simulations across projects.
You have to go to tools ad set the allow queue option. Its a box you have to check. Then you can click on the Q icon on the toolbar. That will open the Stack of pending simulations.
Now just right-click on the sweeps you want analyzed and say analyze. They will be added to the queue. It might say unable to save file before simulation or something like that.
Hope this helps you.
 

waveplumber

Junior Member level 3
Junior Member level 3
Joined
Feb 24, 2006
Messages
26
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,488
hfss, script

Hi Tompson
This problem has been raised in the forum before and a satisfactory answer was given regarding HFSS version 9.2. Basically you need to used a batch file. Do a search of this forum with the keyword "HFSS simulation queue", you'd find the discussion I am talking about.

Added after 4 minutes:

waveplumber said:
Hi Tompson
This problem has been raised in the forum before and a satisfactory answer was given regarding HFSS version 9.2. Basically you need to used a batch file. Do a search of this forum with the keyword "HFSS simulation queue", you'd find the discussion I am talking about.

prepare the next batch file (run_hfss.bat) and run it. Change paths to HFSS & ur projects as u need.

start /wait /low C:\Ansoft\HFSS9\hfss.exe -batchsolve "C:\AProject\HFSS9\projectname1.hfss"
start /wait /low C:\Ansoft\HFSS9\hfss.exe -batchsolve "C:\AProject\HFSS9\projectname2.hfss"
 

costox

Full Member level 4
Full Member level 4
Joined
Mar 5, 2002
Messages
196
Helped
5
Reputation
10
Reaction score
5
Trophy points
1,298
Activity points
1,539
script hfss

Reminder:

From HFSS-10 menu:
Select Tools/Options/General Option
Select "Analysis Option"
Select "Queue all simulation"
 
  • Like
Reactions: asgant

    asgant

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top