{"id":20616677,"url":"https://github.com/lukasfrankenq/district-control","last_synced_at":"2025-10-23T15:30:13.555Z","repository":{"id":154612257,"uuid":"405218072","full_name":"LukasFrankenQ/district-control","owner":"LukasFrankenQ","description":"Aims to provide model predictive control for models with PyPSA backend.","archived":false,"fork":false,"pushed_at":"2022-01-16T22:56:21.000Z","size":1640,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T04:32:42.815Z","etag":null,"topics":["control","energy","grid","optimisation","optimization","pypsa","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LukasFrankenQ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-09-10T21:34:00.000Z","updated_at":"2022-03-02T12:18:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"72cfe34e-d25d-4053-9d14-d946999d6657","html_url":"https://github.com/LukasFrankenQ/district-control","commit_stats":{"total_commits":34,"total_committers":2,"mean_commits":17.0,"dds":"0.47058823529411764","last_synced_commit":"96792e695f8dac5b92bf2f23111507adb921d19c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukasFrankenQ%2Fdistrict-control","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukasFrankenQ%2Fdistrict-control/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukasFrankenQ%2Fdistrict-control/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukasFrankenQ%2Fdistrict-control/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LukasFrankenQ","download_url":"https://codeload.github.com/LukasFrankenQ/district-control/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242269333,"owners_count":20100077,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["control","energy","grid","optimisation","optimization","pypsa","python"],"created_at":"2024-11-16T11:19:55.951Z","updated_at":"2025-10-23T15:30:13.435Z","avatar_url":"https://github.com/LukasFrankenQ.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Welcome to Model Predictive Control for PyPSA\n\nThis repository implements model predictive control using the PyPSA's power flow as the optimization backend in each iteration of the rolling horizon.\n\nThis is a work in progress and only contains essential features.\n\n### How it works\n\nControl is based on the interplay of three main components: the __pypsa.Network__, containing the system configuration, multiple objects of the __Prophet__-type, responsible for returning time series to the pypsa components and the __Controller__, rolling snapshots forward in time while storing optimization outcomes.\n\n### Installation\n\nThe repository has minimal requirements and its intended to stay this way. To install the dependencies run\n\n```shell\nconda env create -f environment.yaml\n```\n\nAdditionally, a linear solver is needed. For this, please refer to the [PyPSA installation guide](https://pypsa.readthedocs.io/en/latest/installation.html).\n\n### Examples\n\nA minimal but illustrative example is presented in our [readthedocs](https://district-control.readthedocs.io/en/latest/). Feel free to take a look!\n\n##### Contact\n\nI am always happy about feedback and for people to contribute, feel free to reach out at \u003clukas.franken@ed.ac.uk\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukasfrankenq%2Fdistrict-control","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukasfrankenq%2Fdistrict-control","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukasfrankenq%2Fdistrict-control/lists"}