# eleccirsim **Repository Path**: apaki/eleccirsim ## Basic Information - **Project Name**: eleccirsim - **Description**: 电子电路仿真软件,基于SPICE规范。全称:Electrical Circuit Simulation - **Primary Language**: C++ - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 10 - **Forks**: 0 - **Created**: 2026-02-04 - **Last Updated**: 2026-07-14 ## Categories & Tags **Categories**: eda **Tags**: None ## README # eleccirsim 电子电路仿真软件,基于SPICE规范。 **全称:** Electrical Circuit Simulation **作者:** 温建峰 **主页:** [博客](https://blog.wenjianfeng.top) **邮箱:**[orig5826@163.com](mailto:orig5826@163.com) ## 规划说明 |软件 |全称 |中文 | 简介 |---- |---- |---- | ---- |eleccirsim | Electrical Circuit Simulation | 电子电路模拟仿真软件 | 基于SPICE规范,各类电子器件的仿真 |elecsimsystem | Electrical Simulation System | 电子仿真系统 | 基于 eleccirsim 扩展前后端,实现电路设计和仿真结果显示 ## 代码规范说明 ```cpp ``` ## 调试级别 | 级别 | 说明 | 举例 | ---- | ---- | ---- | DEBUG | 开发/测试阶段,打印排查问题需要的关键细节 | 矩阵运算的中间结果,参数/返回值,关键步骤等 | INFO | 程序正常运行的核心节点/必要信息 | 电路仿真结果,电路元件的参数等 | WARN | 已发现的潜在风险提示(非致命) | 矩阵运算元素接近0,可能结果奇异,电路元件参数不合理等 | ERROR | 已发生的可恢复错误 | 文件读写失败,电路元件缺失等 ## 环境搭建 ### Windows #### gcc ```shell gcc.exe (x86_64-posix-seh-rev0, Built by MinGW-Builds project) 13.2.0 ``` #### python 新需要图形化显示的,Windows用户通过以下命令安装库即可。 ```shell python -m pip install -r ./scripts/requirements.txt ``` ### Linux 新需要图形化显示的,Linux用户通过以下命令安装库即可。 ```shell sudo apt install python3-pip sudo apt install python3-venv # linux下最好不要污染系统环境 # 建议才用虚拟环境 python3 -m venv .venv source .venv/bin/activate # 最后在虚拟环境中安装库 python3 -m pip install -r ./scripts/requirements.txt ``` ## 版本说明