A system for numerical modeling different configurations of a linear factory process with large workpieces (such as dimensional lumber)
poetry install
pytest .
bash .github/format
bash .github/check_lint
After running poetry install
, the script can be run via:
run_sim --visualize --config experiments/basic.yml
Sometimes it's desirable to run the simulation many times over, simultaneously.
The following command will find all *.yml files recursively from the current directory and run the sim on all of them, in parallel:
find . -name '*.yml' -print0 | parallel -0 --progress 'run_sim -c {}'