Suppr超能文献

Lcapy:使用Python进行符号线性电路分析。

Lcapy: symbolic linear circuit analysis with Python.

作者信息

Hayes Michael

机构信息

Electrical and Computer Engineering, University of Canterbury, Christchchurch, New Zealand.

出版信息

PeerJ Comput Sci. 2022 Feb 18;8:e875. doi: 10.7717/peerj-cs.875. eCollection 2022.

Abstract

Lcapy is an open-source Python package for solving linear circuits symbolically. It uses a superposition of DC analysis, AC (phasor) analysis, transient (Laplace) analysis, and noise analysis. Expressions are evaluated using the computer algebra system SymPy. Lcapy can model circuits comprised of combinations of one-port and two-port networks or circuits specified using a netlist with a Spice-like notation. Lcapy can present the system of equations produced from nodal analysis, modified nodal analysis, loop analysis, and state-space analysis. Expressions can be formatted into many representations, parameterized, and transformed to other domains. Dimensional analysis is performed to reduce user errors and to present results with units. Both continuous and discrete signals are supported. Lcapy produces high-quality output. Textbook quality schematics in a number of different formats can be generated from netlists and customized for different conventions. Expressions can be formatted into LaTeX format for inclusion into a document or numerically evaluated and plotted. An overview of the features and capabilities of Lcapy is presented, along with implementation details and performance considerations.

摘要

Lcapy是一个用于符号求解线性电路的开源Python包。它使用直流分析、交流(相量)分析、瞬态(拉普拉斯)分析和噪声分析的叠加。表达式使用计算机代数系统SymPy进行求值。Lcapy可以对由单端口和双端口网络组合而成的电路或使用类似Spice符号的网表指定的电路进行建模。Lcapy可以给出由节点分析、改进节点分析、回路分析和状态空间分析产生的方程组。表达式可以格式化为多种表示形式、参数化并转换到其他域。进行量纲分析以减少用户错误并以单位形式呈现结果。支持连续和离散信号。Lcapy产生高质量输出。可以从网表生成多种不同格式的教科书质量原理图,并针对不同惯例进行定制。表达式可以格式化为LaTeX格式以包含在文档中,或者进行数值求值和绘图。本文介绍了Lcapy的功能和能力概述,以及实现细节和性能考虑因素。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/1c8e/9044395/391dda0dd2c2/peerj-cs-08-875-g001.jpg

相似文献

1
Lcapy: symbolic linear circuit analysis with Python.Lcapy:使用Python进行符号线性电路分析。
PeerJ Comput Sci. 2022 Feb 18;8:e875. doi: 10.7717/peerj-cs.875. eCollection 2022.
8
Slowly varying function method applied to quartz crystal oscillator transient calculation.
IEEE Trans Ultrason Ferroelectr Freq Control. 1998;45(2):520-7. doi: 10.1109/58.660161.
10
Synthetic Biology: A Unifying View and Review Using Analog Circuits.合成生物学:基于模拟电路的统一观点与综述
IEEE Trans Biomed Circuits Syst. 2015 Aug;9(4):453-74. doi: 10.1109/TBCAS.2015.2461446. Epub 2015 Sep 11.

本文引用的文献

1
SciPy 1.0: fundamental algorithms for scientific computing in Python.SciPy 1.0:Python 中的科学计算基础算法。
Nat Methods. 2020 Mar;17(3):261-272. doi: 10.1038/s41592-019-0686-2. Epub 2020 Feb 3.

文献AI研究员

20分钟写一篇综述,助力文献阅读效率提升50倍。

立即体验

用中文搜PubMed

大模型驱动的PubMed中文搜索引擎

马上搜索

文档翻译

学术文献翻译模型,支持多种主流文档格式。

立即体验