Skip to content

Running Simulations

FLoRaSat simulations are launched from inside a scenario directory. The florasat binary is at the project root; the path from a scenario folder two levels deep is ../../florasat, and three levels deep is ../../../florasat.

Command-Line Mode

The standard way to run in batch or CI environments:

cd simulations/Tutorials/01-First_Exploration
../../../florasat -u Cmdenv -c First_Exploration First_Exploration.ini

Useful Flags

Flag Description
-u Cmdenv Run without GUI (faster)
-u Qtenv Run with graphical interface
-c <config> Select a named [Config ...] section from the .ini file
-r <runs> Select specific run numbers (e.g. -r 0,1,2 or -r 0..9)
--cpu-time-limit Stop after a given wall-clock time

Running Multiple Configurations

If your .ini file defines multiple [Config ...] sections, run them individually:

../../../florasat -u Cmdenv -c BlindRun Custom_default.ini
../../../florasat -u Cmdenv -c SatDetectRun Custom_default.ini

Parallel Parameter Sweeps

Use opp_runall to launch all runs of a sweep configuration in parallel:

opp_runall -j $(nproc) -c MySweep Custom_default.ini