Circuit Simulator with Netlist Parser and a layered GUI in MATLAB
Open project_main.mlapp to get to the start page of the project
Click on "Start"
Select "File" if you want to upload a netlist txt file or "Text" if you want to manually write netlist, click "Done Writing" if you are done
Push on the "Simulate" button and follow the options available:
- If no instruction given, it opens a GUI to take the instructions
- Supported components are V, I, R, L, C, VCVS, CCCS, VCCS and CCVS.
- V and I can be DC or a single frequency sinusoidal AC (default frequency is set at 1 KHz)
- AC sources are represented as name p_node n_node AC magnitude phase
- The simulation options are DC Sweep, AC Sweep and Bias Point Details and the commands supported are print, probe, dc, ac and op
- For Bias point, if any AC source present, it does seperate DC and sinusoidal analysis
- You can write comments (in netlist format) in your netlist file and it will be read just fine*
- You can give alphaneumeric value representations (1k, 1u, 10.25Meg) along with the units**
- DC sweep not supported if any any AC src is present
- For doing AC sweep, keep at least one AC src
- Linear and Decade AC Sweep supported, octal not supported.
*Just like in Netlist, you can comment a whole line only
**Option 8 not available for the GUI that will open if no instruction is present