hexagon logo

How can I run quasar in batch mode?

Built model in Lunar and saved project to get Simulation.qsr file but want to run next step outside of Lunar.
 
C:\WORK\Test is my project folder, the csv files are created and ready.
 
Running from the installed directory and using the argument list results in import error:
quasarengine_2.exe c:\WORK\Test\Simulation.qsr c:\WORK\Test X_FILE.csv VALIDATION_FILE.csv XN_FILE.csv -2
 
Parents
  • Dear Doug,
     
    The argument list is not correct. To find it, open the “Simulation.log” file in your ODYSSEE CAE project: "C:\Users\...\Documents\ODYSSEE\CAE\Lunar\NameOfProject"
    All the arguments sent in the command prompt are displayed between String[] arguments and Computing results at the right of the equal symbol.
     
    Here an example:
    image
     
    As the list is long, we have a faster way to use it:
     
    1)    Open simulation.log file
    a.    copy the lines from String[] arguments included to the end of the argument list arguments[ ]=  (stop before the dashed line)
     
    2)    Open Simulation.qs file
    a.    search the line 57: String[] arguments <-> $args
    image
    b.    Replace this line by the copy, should get the following result
    image
    c. Save Simulation.qsr the file
     
     
    3)    Finally, in the batch file, run this command line:
    cd "C:\Users\...\Documents\ODYSSEE\CAE\Lunar\NameOfProject"
    "C:\Program Files\ODYSSEE\CAE\QuasarEngine_2.exe" Simulation.qsr
Reply
  • Dear Doug,
     
    The argument list is not correct. To find it, open the “Simulation.log” file in your ODYSSEE CAE project: "C:\Users\...\Documents\ODYSSEE\CAE\Lunar\NameOfProject"
    All the arguments sent in the command prompt are displayed between String[] arguments and Computing results at the right of the equal symbol.
     
    Here an example:
    image
     
    As the list is long, we have a faster way to use it:
     
    1)    Open simulation.log file
    a.    copy the lines from String[] arguments included to the end of the argument list arguments[ ]=  (stop before the dashed line)
     
    2)    Open Simulation.qs file
    a.    search the line 57: String[] arguments <-> $args
    image
    b.    Replace this line by the copy, should get the following result
    image
    c. Save Simulation.qsr the file
     
     
    3)    Finally, in the batch file, run this command line:
    cd "C:\Users\...\Documents\ODYSSEE\CAE\Lunar\NameOfProject"
    "C:\Program Files\ODYSSEE\CAE\QuasarEngine_2.exe" Simulation.qsr
Children
No Data