{"id":37612482,"url":"https://github.com/bressanmarcos/smad-cim","last_synced_at":"2026-01-16T10:24:58.963Z","repository":{"id":124204782,"uuid":"271887285","full_name":"bressanmarcos/smad-cim","owner":"bressanmarcos","description":"Sistema Multiagente de Recomposição Automática desenvolvido com PADE","archived":false,"fork":false,"pushed_at":"2021-05-18T22:29:58.000Z","size":978,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-01-26T10:39:33.836Z","etag":null,"topics":["multi-agent","python","smartgrid"],"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/bressanmarcos.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":"2020-06-12T20:46:25.000Z","updated_at":"2021-05-18T22:30:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"b22ed544-08fa-430b-a485-14a2018c9c2a","html_url":"https://github.com/bressanmarcos/smad-cim","commit_stats":{"total_commits":123,"total_committers":4,"mean_commits":30.75,"dds":0.07317073170731703,"last_synced_commit":"be9ae7ec1872b6226c54c0d612b0a5fc827a842b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bressanmarcos/smad-cim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bressanmarcos%2Fsmad-cim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bressanmarcos%2Fsmad-cim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bressanmarcos%2Fsmad-cim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bressanmarcos%2Fsmad-cim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bressanmarcos","download_url":"https://codeload.github.com/bressanmarcos/smad-cim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bressanmarcos%2Fsmad-cim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["multi-agent","python","smartgrid"],"created_at":"2026-01-16T10:24:58.844Z","updated_at":"2026-01-16T10:24:58.946Z","avatar_url":"https://github.com/bressanmarcos.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sistema Multiagente de Recomposição Automática\n\nDesenvolvido com a biblioteca [PADE](https://github.com/grei-ufc/pade), o Sistema Multiagente de Recomposição Automática (SMRA) apresenta uma abordagem sob o paradigma de programação orientada a agentes para a automação de um sistema de distribuição de média tensão. PADE é um framework voltado à criação, execução e gerenciamento de agentes seguindo as especificações da FIPA (_Foundation for Intelligent Physical Agents_). \n\nO SMRA é concebido de forma a decompor o fluxo de recomposição de um sistema mediante uma falta em 3 categorias de agentes:\n\n- Agente de Diagnóstico e Configuração (ADC);\n- Agente de Comunicação (AC);\n- Agente de Negociação (AN).\n\nInternamente, os ADCs fazem uso da biblioteca [MyGrid](https://github.com/grei-ufc/MyGrid) para representação da porção da rede elétrica pela qual cada agente é responsável. Os ACs fazem a interface entre relés (IED) em campo e ADCs.\n\nDe forma a alavancar a interoperabilidade em Smart Grids, todos os objetos de informação trocados entre agentes são modelados com base no _Common Information Model_, descrito nas normas IEC 61970-301, IEC 61968-11 e IEC 62325-301.\n\n\n## Estudo de Caso\n\nO programa e os agentes estão configurados para a seguinte rede elétrica:\n\n\u003cimg src=\"./docs/images/aquiraz.svg\" alt=\"Rede de Distribuição\" width=\"400px\" /\u003e\n\n\n## Como iniciar programa\n\n1. Instale todos os componentes necessários:\n```bash\npip install -r requirements.txt\n```\n\n2. Inicialize o banco de dados que será utilizado para os agentes do PADE:\n```bash\npade create-pade-db\n```\n\n3. Execute o teste `test_sequence.py` (o script já contém o código necessário para executar o AMS, logo NÃO é necessário executar `pade start-runtime`):\n```bash\npython tests/test_sequence.py\n```\n\n4. Aguarde até que os ADCs se inscrevam junto aos ACs. O seguinte log aparecerá no terminal quando isso acontecer:\n```bash\n[AgenteDiagnósticoConfiguração-1@localhost:60011] 10/11/2020 17:40:30.160 --\u003e Inscrito em AgenteComunicação-1@localhost:60010\n[AgenteDiagnósticoConfiguração-2@localhost:60021] 10/11/2020 17:40:30.221 --\u003e Inscrito em AgenteComunicação-2@localhost:60020\n[AgenteDiagnósticoConfiguração-3@localhost:60031] 10/11/2020 17:40:30.426 --\u003e Inscrito em AgenteComunicação-3@localhost:60030\n[AgenteDiagnósticoConfiguração-4@localhost:60041] 10/11/2020 17:40:30.525 --\u003e Inscrito em AgenteComunicação-4@localhost:60040\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbressanmarcos%2Fsmad-cim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbressanmarcos%2Fsmad-cim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbressanmarcos%2Fsmad-cim/lists"}