MNA-MAT

授权协议 MIT License
开发语言
所属分类 应用工具、 科研计算工具
软件类型 开源软件
地区 不详
投 递 者 齐志勇
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Logo

MNA-MAT

A SPICE netlist simulation tool for MATLAB

MNA-MAT in action

The netlist file being simulated is example8.cir (included in this repository). As it is an RC circuit, the simulation type used is Transient analysis.

alt text alt text

Standard Analysis

increment

Monte Carlo Analysis

increment

About MNA-MAT

MNA-MAT is a simulation tool designed in MATLAB for solving circuits described as SPICE netlists. It uses the algorithm of Modified Nodal Analysis (MNA). It accepts a file (.cir or .txt) with the SPICE netlist description of the circuit to be simulated. As of now, MNA-MAT supports the following circuit elements :-

  • Resistors (R)
  • Capacitors (C)
  • Inductors (L)
  • Independent voltage sources (V)
  • Independent current sources (I)
  • Voltage controlled voltage sources (VCVS) (E)
  • Voltage controlled current sources (VCCS) (I)
  • Current controlled voltage sources (CCVS) (H)
  • Current controlled current sources (CCCS) (F)

MNA-MAT supports the following simulation types as of present :-

  • DC bias point (for purely resistive circuits)
  • Transient analysis (for pure C, pure L, RC, RL, LC or RLC circuits)
  • Monte Carlo analysis (done using one of the above, again based on the type of circuit)

Note :- This tool works only on versions of MATLAB from R2014b onwards. The voltage source currents are taken in conventional current direction i.e. inside the source, negative to positive terminal.

Features

  1. Easy to use and then analyse results.
  2. Accurate (a bunch of circuits were simulated on this tool and then on TopSpice, the results were always identical).
  3. Saves the results of the previous run simulation.
  4. No installation or initial setup required. You can start using the tool as soon as you download it.
  5. No need to add SPICE commands like .TRAN or .DC. A text description of the circuit is enough.
  6. The written code is flexible - it allows room to make changes and add more features if necessary.

Directions for use

  1. Before you start using the tool, make sure you have read-write permissions in the folder where the tool files are stored. If you aren't sure about this, simply start up MATLAB as Administrator.
  2. Place the netlist file (.cir or .txt) you wish to simulate in the folder where the tool files are stored.
  3. Run the file Main.m.
  4. Simply follow the on-screen instructions.

What's included

  1. The three MATLAB tool files.
  2. A set of 12 examples (.cir SPICE netlists) along with schematics (.png images) of the same.

Just a Request

If you find this tool useful, or at least think it to be ambitious, please consider leaving a star or suggesting changes.

Thank You

 相关资料
  • MNA

    QcloudMna 移动加速是腾讯云针对移动端应用(APP、游戏)推出的加速产品,其主要功能如下: 动态数据加速 利用腾讯遍布全国的200多个加速接入机房和海量带宽,实现用户请求同省同网就近接入; 特有专利技术,实现全网动态智能最优路由接入,大幅提升访问速度和访问成功率。 网络流量优化 针对动态数据实现智能内容压缩,节省流量; 优化TCP和HTTP的协议,提升通讯效率。 智能分析统计 全国地图实时

  • 问题内容: 我正在尝试 通过使用opencv java api 实现以下问题的示例代码 。为了用Java 实现,我使用了这种语法。 因此,现在轮廓应为而不是。 然后我需要实现这个。在java api中,Imgproc.approxPolyDP将参数接受为。我如何将MatOfPoint转换为MatOfPoint2f? 或者有没有办法使用与c ++接口相同的向量来实现这一点。任何建议或示例代码将不胜感

  • 问题内容: 我试图序列化一对映射并获得如下异常: 有某种方式可以将此序列化吗? 问题答案: 我从这里做了一些改进。在这里测试和工作SerializationUtils类

  • 问题内容: 我正在使用,但它会返回如下所示的意外结果: 为什么我得到这些结果? 问题答案: 您是否要使用学位?请记住,并且期望弧度。

  • 问题内容: 我有一个让我发疯的问题。Matlab仅看到我的某些类嵌入到JAR文件中 如果我在包外部编译类,并使用javaaddpath在Matlab中添加类的路径,则不会遇到任何问题 当我在一个包中编译该类,然后尝试在Matlab下访问它们时,出现了问题。下面是一些Matlab代码 现在,在包装中,所有类都是公共的。这是由于 及以下 我在OSX上运行Matlab。我已经尝试过使用Matlab 7.

  • 问题内容: 假设我有这个对象objectDemo,它使用2个参数String和null调用方法objectDemoMethod。现在,我想验证此方法是通过Mockito调用的: 我写了这个: 但它给出了一个错误: 为空值无效使用参数匹配器。 还有其他方法可以传递空值吗? 问题答案: 由于您仅对一个参数使用参数匹配器,而对另一个参数不使用参数,这是您收到的错误消息。从Javadoc: 如果使用参数匹