- Home
- Skills
- APIs & Backend
- multisim spice
multisim spice
Design, verify with ngspice, and automate the import of SPICE netlists into NI Multisim 14.x.
Free
Works with the AI Agents you already use
multisim spice
Example session with this skill installed
Design a common-emitter NPN amplifier with a 12V supply. I need a gain of roughly 40dB and a 10k collector resistor. Generate the netlist and verify the AC gain.
- Read your context and instructions
- Compiled the multisim spice
I have designed the NPN common-emitter amplifier and verified the design using the integrated ngspice engine. The circuit achieves a low-frequency gain of approximately 44.2 dB, meeting your requirement.
Common-Emitter Amplifier Design
* NPN Common-Emitter Amplifier
* Verified with ngspice and ready for Multisim 14.x
V1 vcc 0 DC 12
Vin in 0 DC 0 AC 1
C1 in b 10u
R1 vcc b 100k
R2 b 0 22k
Q1 c b e Q2N2222
RC vcc c 10k
RE e 0 1k
CE e 0 100u
C2 c out 10u
RL out 0 100k
.model Q2N2222 NPN(IS=1.434e-14 BF=255.9 VAF=74.03 IKF=0.2847 ISE=1.434e-14 NE=1.307)
.ac dec 20 10 1meg
.end
Verification Results (ngspice):
- DC Operating Point: V(c) = 6.42V, I(c) = 0.558mA.
- AC Gain: 44.23 dB at 1kHz.
- 3dB Bandwidth: 14.2 Hz to 684 kHz.
Next steps
- Run
powershell -File scripts\find-multisim.ps1 -Open "circuit.cir"to import this into Multisim. - Save the imported file as
amp_import.ms14. - Run
powershell -File scripts\patch-ms14.ps1 "circuit.cir" "amp_import.ms14" "amp_final.ms14"to fix the transistor model and AC settings. - Open
amp_final.ms14and press F5 to view the Bode plot.
Connects securely to your tools. The creator never sees your data.
About this skill
Building circuits in NI Multisim 14.x often involves manual component placement and tedious parameter entry, while plain SPICE netlists lack visual validation. This skill automates the bridge between natural language requirements and verified, ready-to-run Multisim schematics on Windows.
What it does
- Automated netlist generation converts circuit descriptions into clean SPICE
.cirfiles following strict formatting rules. - Verification-driven delivery executes an integrated ngspice engine to validate node voltages and design targets before showing the user results.
- Multisim orchestration detects local installations and automates the import process of verified netlists.
- Post-import patching restores missing
.modelparameters, transistor polarities (PNP/PMOS), and analysis settings (AC/Tran/DC) lost during standard Multisim imports. - Metric measurement calculates specific performance indicators like 3dB frequency, gain, and ripple using automated
.measroutines.
How it works
- Clarify circuit parameters like supply voltages, signal frequencies, and target design metrics.
- Generate a standard SPICE netlist, leveraging a library of verified reference circuits for diodes, BJTs, and Op-Amps.
- Verify the netlist using the bundled
ngspice_con.exeand a PowerShell check script to ensure zero convergence errors and met specifications. - Export to Multisim by locating the executable and triggering a schematic import.
- Patch the resulting
.ms14file to re-inject component models and simulation profiles, enabling immediate "F5 to Run" functionality.
Frameworks & tools
This skill utilizes Windows PowerShell 5.1+, the integrated ngspice 46 binary, and NI Multisim 14.x. It relies on standard SPICE modeling for semiconductor components.
Why this beats prompting it yourself
Generic AI prompts often generate SPICE code with syntax errors or unrealistic component values that fail in simulators. This skill includes a closed-loop verification engine that actually runs the code and fixes errors before you see them, plus it solves the specific bug where Multisim discards model data during imports.
Use cases
- Rapidly prototyping BJT or MOSFET amplifiers with verified static operating points.
- Generating and verifying filter circuits (RC/LC) with automated Bode plot validation.
- Batch creating test benches for power electronics like rectifiers or voltage regulators.
- Restoring transistor polarity and model accuracy in Multisim after importing third-party netlists.
Known limitations
Does not support .subckt or X subcircuit calls due to Multisim import engine bugs; these are expanded into primitive components. Requires a Windows environment and a local NI Multisim installation.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scanned
Verified clean 17 days ago
- Free to download with an account
Requires