joesef
Newbie
Hi all, I would like to optimize circuits in MATLAB or python.
I prefer to have something working with ADS2009 as past colleagues' files are nonconvertible to the newer ADS formats; there is too much information missing.
As a first step, I tried to run ADS2009 through windows command line with a bat file. A working bat file would allow me to use
function within a MATLAB script.
My test circuit is :
**broken link removed**
I added code to my netlist.log file :
and ran the bat file located inside the ADS Project file using Windows command prompt as Administrator :
But I recieved 0xc000007b error .
I tried a new bat file :
And received the same error. I am not sure what I can do.
However I was successful using ADS 2014 with the bat file :
Some extra information are :
It would be amazing for any usefull tips, or if anyone could walk me through a successful ADS2009 simulation from Windows command prompt on their computers.
If I know this venture of ADS simulation by bat file prove unfeasible (for me), I could earlier start trying to use AEL files in ADS2009 command line to open Python and Matlab files.
I prefer to have something working with ADS2009 as past colleagues' files are nonconvertible to the newer ADS formats; there is too much information missing.
As a first step, I tried to run ADS2009 through windows command line with a bat file. A working bat file would allow me to use
Code:
system
My test circuit is :
**broken link removed**
I added code to my netlist.log file :
Code:
aele Zin1=zin(S11,PortZ1);
aele x=write_var("borrame.s2p","W","#Hz S RI R 50"," ","f",,freq,S11,S21,S12,S22);
and ran the bat file located inside the ADS Project file using Windows command prompt as Administrator :
Code:
set HPEESOF_DIR=C:/ADS2009U1
set COMPL_DIR=%HPEESOF_DIR%
set SIMARCH=win32_64
set PATH = %HPEESOF_DIR%\bin;%HPEESOF_DIR%\bin\%SIMARCH%;%HPEESOF_DIR%\lib\%SIMARCH%;%HPEESOF_DIR%\adsptolemy\lib.%SIMARCH%;%PATH%
hpeesofsim netlist.log
Pause
But I recieved 0xc000007b error .
I tried a new bat file :
Code:
set HPEESOF_DIR=C:/ADS2009U1
set COMPL_DIR=%HPEESOF_DIR%
set SIMARCH=win32_64
path %HPEESOF_DIR%\bin;%HPEESOF_DIR%\bin\%SIMARCH%;%HPEESOF_DIR%\lib\%SIMARCH%;%HPEESOF_DIR%\adsptolemy\lib.%SIMARCH%;%HPEESOF_DIR%\modelbuilder\public_headers\SystemVue;%PATH%
hpeesofsim netlist.log
Pause
And received the same error. I am not sure what I can do.
However I was successful using ADS 2014 with the bat file :
Code:
set HPEESOF_DIR=C:/Agilent/ADS2014_01
set COMPL_DIR=%HPEESOF_DIR%
set SIMARCH=win32_64
path %HPEESOF_DIR%\bin;%HPEESOF_DIR%\lib\%SIMARCH%;%HPEESOF_DIR%\adsptolemy\lib.%SIMARCH%;%HPEESOF_DIR%\SystemVue\2013.08\%SIMARCH%\sveclient;%PATH%;
hpeesofsim netlist.log
dds cell_3.ds
Pause
Some extra information are :
- I am using the chinese OS of windows 10
- while running the bat files for ADS2009, I obtained an un-reproducable error telling me I am missing tiburon-da from my ADS library. Which I added it to my ADS2009 project DesignKit.
- My task manageer showed hpeesofde.exe located from C:\ADS2009U1\bin was running.
It would be amazing for any usefull tips, or if anyone could walk me through a successful ADS2009 simulation from Windows command prompt on their computers.
If I know this venture of ADS simulation by bat file prove unfeasible (for me), I could earlier start trying to use AEL files in ADS2009 command line to open Python and Matlab files.