Run dpsim asynchronously

The main flask process should not block waiting for dpsim to run.

Work includes:

  • implement redis database in modeldb.py
  • implement /logs and /results endpoints