As I'm in charge for monitoring the ADAMS usage in our installation, I noticed a group of users having started ADAMS massively more often than normal. (we're talking about 6 digit start numbers)
It turned out that they use Optimus to run some suspension optimization with ADAMS which involved a lot of closing/restarting ADAMS sessions.
Haven't looked in the details, but I assume it's stuff like opening A/Car, opening the base assembly, modifying parameter or hardpoint, run the analysis, close the session.
I'd be eager to save some "obsolete" time in that process.
The most basic solution I have would be to create an acar.bin in the working dir that already has all plugins loaded and the model open.
But the most elegant solution would be a possibility to have Otimus "remote control" one single ADAMS session like
opem ADAMS
open model
modify parameter/hardpoint
loop
run iteration n
update subsystem/assembly (aka reset to initial state)
run analysis
If target not fulfilled
Optimus reading the analysis results and making up a new parameter set
goto loop start
else
break
close ADAMS
Would that be possible, for example via the Python threading (aka import threading)
?
If yes: are there examples to learn from ?