This is a student project for Power System Simulation.
This project uses uv for dependency management.
In the root of the repository, sync all dependencies using:
uv syncAfter installation, run the test.
uv run pytestThis project uses ruff for linting and formatting.
You can run the following command to check and auto-fix code issues:
uv run ruff check --fix .You can run the following command to format your code:
uv run ruff format .Jupyter notebooks in the example/ folder can be opened directly in VS Code. The project includes ipykernel in the development dependencies, which allows VS Code to run notebook cells using the .venv environment.
The folder structure of the repository is explained as below.
src/power_system_simulationis the main folder of the package. You should put your new functionality code there.testsis the folder containing the test files. You should put your test code there.examplecontains the example notebook. You should modify the notebook for your presentation..vscodecontains the setting file for the IDE VSCode..github/workflowscontains the continuous integration (CI) configurations.