A web application for editing and simulating power systems, built on a Flask backend and vis-network frontend. Uses Antares Modeler as the simulation engine.
- Python 3.9+
- Antares Modeler binary (not included in the repository)
git clone git@github.com:nikolaredstork/GEMSAPP.git
cd GEMSAPPpython3 -m venv venv
source venv/bin/activate
pip install flask flask-socketio pyyamlDownload and extract the Antares binary package into the project root so that the path is:
GEMSAPP/antares-9.3.2-Ubuntu-22.04/bin/antares-modeler
At least one study must exist in the project root. Study structure:
MyStudy/
├── parameters.yml
├── input/
│ ├── system.yml
│ ├── model-libraries/
│ └── data-series/
└── output/
New studies can also be created directly through the web interface.
source venv/bin/activate
python app.pyOpen your browser at http://localhost:5000.
Press Ctrl+C in the terminal where the app is running.
If it's running in the background (Linux/macOS):
kill $(lsof -t -i :5000)On Windows:
netstat -ano | findstr :5000
taskkill /PID <PID> /FThe web interface works on Windows, but there are a few differences:
-
Virtual environment activation:
venv\Scripts\activate
-
Antares Modeler: the binary included (
antares-9.3.2-Ubuntu-22.04) is a Linux binary and will not run on Windows. A Windows build of Antares Modeler is required for simulation.
- Studies — create, load, or delete studies from the dropdown menu
- Editor — add components and connections to the system visually (drag & drop)
- Model libraries — import and edit YAML model library files
- Time series — upload CSV files with input data
- Simulation — run Antares Modeler and monitor the log in real time
- Results — browse and download output CSV files