{"id":19383980,"url":"https://github.com/leandro-bertoluzzi/pyspice-power-electronics","last_synced_at":"2025-02-24T17:20:31.711Z","repository":{"id":159506459,"uuid":"369922094","full_name":"Leandro-Bertoluzzi/pyspice-power-electronics","owner":"Leandro-Bertoluzzi","description":"Power electronics simulations using the PySpice Python module","archived":false,"fork":false,"pushed_at":"2023-01-01T22:19:36.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-07T07:14:31.310Z","etag":null,"topics":["electronics","power-electronics","pyspice","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/Leandro-Bertoluzzi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-22T23:09:25.000Z","updated_at":"2023-01-01T19:38:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"7e414486-a49c-456f-87ee-3aa4558c8933","html_url":"https://github.com/Leandro-Bertoluzzi/pyspice-power-electronics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leandro-Bertoluzzi%2Fpyspice-power-electronics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leandro-Bertoluzzi%2Fpyspice-power-electronics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leandro-Bertoluzzi%2Fpyspice-power-electronics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Leandro-Bertoluzzi%2Fpyspice-power-electronics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Leandro-Bertoluzzi","download_url":"https://codeload.github.com/Leandro-Bertoluzzi/pyspice-power-electronics/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240521037,"owners_count":19814694,"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":["electronics","power-electronics","pyspice","python"],"created_at":"2024-11-10T09:28:34.770Z","updated_at":"2025-02-24T17:20:31.692Z","avatar_url":"https://github.com/Leandro-Bertoluzzi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n\u003cdiv align=\"center\" id=\"top\"\u003e \n  \u003cimg src=\"logo.gif\" alt=\"Pyspice Power Electronics\" /\u003e\n  \u0026#xa0;\n\u003c/div\u003e\n--\u003e\n\n\u003ch1 align=\"center\"\u003ePyspice Power Electronics\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"Github top language\" src=\"https://img.shields.io/github/languages/top/Leandro-Bertoluzzi/pyspice-power-electronics?color=56BEB8\"\u003e\n\n  \u003cimg alt=\"Github language count\" src=\"https://img.shields.io/github/languages/count/Leandro-Bertoluzzi/pyspice-power-electronics?color=56BEB8\"\u003e\n\n  \u003cimg alt=\"Repository size\" src=\"https://img.shields.io/github/repo-size/Leandro-Bertoluzzi/pyspice-power-electronics?color=56BEB8\"\u003e\n\n  \u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/Leandro-Bertoluzzi/pyspice-power-electronics?color=56BEB8\"\u003e\n\n  \u003c!-- \u003cimg alt=\"Github issues\" src=\"https://img.shields.io/github/issues/Leandro-Bertoluzzi/pyspice-power-electronics?color=56BEB8\" /\u003e --\u003e\n\n  \u003c!-- \u003cimg alt=\"Github forks\" src=\"https://img.shields.io/github/forks/Leandro-Bertoluzzi/pyspice-power-electronics?color=56BEB8\" /\u003e --\u003e\n\n  \u003c!-- \u003cimg alt=\"Github stars\" src=\"https://img.shields.io/github/stars/Leandro-Bertoluzzi/pyspice-power-electronics?color=56BEB8\" /\u003e --\u003e\n\u003c/p\u003e\n\n\u003c!-- Status --\u003e\n\n\u003c!-- \u003ch4 align=\"center\"\u003e \n\t🚧  Pyspice Power Electronics 🚀 Under construction...  🚧\n\u003c/h4\u003e \n\n\u003chr\u003e --\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#dart-about\"\u003eAbout\u003c/a\u003e \u0026#xa0; | \u0026#xa0; \n  \u003ca href=\"#rocket-technologies\"\u003eTechnologies\u003c/a\u003e \u0026#xa0; | \u0026#xa0;\n  \u003ca href=\"#white_check_mark-requirements\"\u003eRequirements\u003c/a\u003e \u0026#xa0; | \u0026#xa0;\n  \u003ca href=\"#checkered_flag-starting\"\u003eStarting\u003c/a\u003e \u0026#xa0; | \u0026#xa0;\n  \u003ca href=\"#memo-license\"\u003eLicense\u003c/a\u003e \u0026#xa0; | \u0026#xa0;\n  \u003ca href=\"https://github.com/Leandro-Bertoluzzi\" target=\"_blank\"\u003eAuthor\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n## :dart: About ##\n\nCollection of scripts with the definition and simulation of circuits used in power electronics, written in Python using the module PySpice to interact with NgSpice and Matplotlib to graph the results from the simulations.\n\n## :rocket: Technologies ##\n\nThe following tools were used in this project:\n\n- [PySpice](https://pyspice.fabrice-salvaire.fr/)\n- [NgSpice](http://ngspice.sourceforge.net/)\n- [Matplotlib](https://matplotlib.org/)\n- [Numpy](https://numpy.org/)\n- [Docker](https://www.docker.com/)\n\n## :white_check_mark: Requirements ##\n\n- If you want to use the docker container, you need to [install Docker](https://www.docker.com/get-started) and, optionally, [Docker Compose](https://docs.docker.com/compose/install/) in your machine.\n\n- If you decide to not use docker, you need to install [PySpice](https://pyspice.fabrice-salvaire.fr/). The version currently used is [v1.5](https://pyspice.fabrice-salvaire.fr/releases/v1.5/installation.html). In the same docs you are taught how to install NgSpice.\n\nIf you choose the second option, local setup, and you are a Windows user, I highly recommend installing it via Anaconda or Miniconda.\n\n## :checkered_flag: Starting ##\n\n```bash\n# Clone this project\n$ git clone https://github.com/Leandro-Bertoluzzi/pyspice-power-electronics\n\n# Access the project folder\n$ cd pyspice-power-electronics\n\n# Option 1: Using Docker container through docker-compose\ndocker-compose run --rm pyspice the_folder/the_file.py\n\n# Option 2: Using Docker container without docker-compose\n## Before running it for the first time and every time you modify the scripts, build the docker container\ndocker build -t pyspice .\n## Run the Docker container with the script as a parameter\ndocker run --rm -v %cd%/results:/root/results pyspice the_folder/the_file.py\n\n# Option 3: Installing PySpice in local machine\n## Enter any of the folders and run a script\n$ cd the_folder\n$ python the_file.py\n```\n\n**Note:** If you chose option 2, to get the current directory you must use:\n- Windows (cmd): %cd%\n- Windows (PowerShell): ${PWD}\n- Linux: $(pwd)\n```\n\n## :memo: License ##\n\nThis project is under license from MIT. For more details, see the [LICENSE](LICENSE.md) file.\n\nMade with :heart: by \u003ca href=\"https://github.com/Leandro-Bertoluzzi\" target=\"_blank\"\u003eLeandro Bertoluzzi\u003c/a\u003e\n\n\u0026#xa0;\n\n\u003ca href=\"#top\"\u003eBack to top\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleandro-bertoluzzi%2Fpyspice-power-electronics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleandro-bertoluzzi%2Fpyspice-power-electronics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleandro-bertoluzzi%2Fpyspice-power-electronics/lists"}