23 lines
639 B
Python
23 lines
639 B
Python
from __future__ import annotations
|
|
|
|
import os
|
|
from pathlib import Path
|
|
|
|
|
|
APP_DIR = Path(__file__).resolve().parent.parent
|
|
PROJECT_ROOT = APP_DIR.parent
|
|
|
|
_configured_data_dir = os.getenv("SIMULATIONAPP_DATA_DIR")
|
|
DATA_DIR = (
|
|
Path(_configured_data_dir).expanduser().resolve()
|
|
if _configured_data_dir
|
|
else APP_DIR / "data"
|
|
)
|
|
|
|
SIMULATION_RUNS_DIR = DATA_DIR / "simulation-runs"
|
|
SIMULATION_BASELINES_DIR = PROJECT_ROOT / "tests" / "baselines"
|
|
AMESIM_TEST_MQL_ARCHIVE_PATH = PROJECT_ROOT / "AmesimModels" / "test_mql.ame"
|
|
MODELICA_TESTMODEL_RESULT_PATH = (
|
|
PROJECT_ROOT / "ModelicaModels" / "Simulation" / "Testmodel_res.csv"
|
|
)
|