Skip to content

Commit

Permalink
Add initialization script.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquinffernandez committed Nov 8, 2024
1 parent 8071e77 commit 51269a5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/python/qss_solver/qss_init.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import os
import sys

import logging

MMOC_SRC = os.environ['MMOC_SRC']
logging.debug(f"Searching for model file with relative path: {MMOC_SRC}")
sys.path.append(MMOC_SRC+'/python')
sys.path.append(MMOC_SRC+'/python/qss_solver')

import qss_solver
import qss_solver.results as solver_results
import qss_solver.model as solver_model
import qss_solver.simulate as solver_sim

0 comments on commit 51269a5

Please sign in to comment.