• 易迪拓培训,专注于微波、射频、天线设计工程师的培养
首页 > ADS > ADS FAQ > AEL Batch Simulation

AEL Batch Simulation

录入:edatop.com    点击:

I'm trying to write an AEL script and being overwhelmed. I am trying to run a series of simulations with swept variables and appending the values to a text file when the certain criteria are met. I've had intermittent success with
+de_analyze()+
and
+de_release_simulator()+
but cannot get them to function reliably.


Looking at this post:
run de_analyze() back to back
I though waiting until +desim_foreground_simulation_running()+ returned +FALSE+ could prevent a second simulation from starting. However, even long after the simulation finishes it returns +TRUE+. The only way I can stop the simulation is manually clicking the +Stop and Release Simulator+ command from the schematic window. Recoding this macro and adding it to the AEL script did not help either.

Here is simple snippet where it would get stuck for eternity.
-----
de_analyze();
while(desim_foreground_simulation_running())
{
sleep(1);
fputs(stderr,sprintf("desim_foreground_simulation_running: %d", desim_foreground_simulation_running()));
}
-----

Is there a concrete way to determine if a simulator is running, and how to release it?

申明:网友回复良莠不齐,仅供参考。如需专业帮助,请学习易迪拓培训专家讲授的ADS视频培训课程

上一篇:Convergence error in simulation with an EM model
下一篇:Microstrip Tapered Balun

ADS培训课程推荐详情>>

  网站地图