multisim spice

    1

    Design, verify with ngspice, and automate the import of SPICE netlists into NI Multisim 14.x.

    Free

    1 useSecurity scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    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

    1. Run powershell -File scripts\find-multisim.ps1 -Open "circuit.cir" to import this into Multisim.
    2. Save the imported file as amp_import.ms14.
    3. Run powershell -File scripts\patch-ms14.ps1 "circuit.cir" "amp_import.ms14" "amp_final.ms14" to fix the transistor model and AC settings.
    4. Open amp_final.ms14 and 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 .cir files 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 .model parameters, 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 .meas routines.

    How it works

    1. Clarify circuit parameters like supply voltages, signal frequencies, and target design metrics.
    2. Generate a standard SPICE netlist, leveraging a library of verified reference circuits for diodes, BJTs, and Op-Amps.
    3. Verify the netlist using the bundled ngspice_con.exe and a PowerShell check script to ensure zero convergence errors and met specifications.
    4. Export to Multisim by locating the executable and triggering a schematic import.
    5. Patch the resulting .ms14 file 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.

    Requires Windows and NI Multisim 14.x. Does not support .subckt/X subcircuits due to Multisim import bugs. Requires PowerShell for automated verification scripts.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    1 use

    Times used to date

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    • Free with an Agensi account

    Requires

    Python

    Permissions

    Terminal / Shell
    Network Access
    Listed1 month ago

    What's inside

    Frequently Asked Questions

    This skill bridges the gap between raw circuit descriptions and functional NI Multisim schematics by automatically generating netlists, verifying them via ngspice, and patching model data that Multisim typically loses during imports.

    The skill requires a Windows environment with PowerShell 5.1+ and a local installation of NI Multisim 14.x to function correctly.

    Unlike generic AI prompts, this skill includes a closed-loop verification engine that runs the code through ngspice to catch syntax and convergence errors before the file is even generated.

    Due to known limitations in the Multisim import engine, this skill does not support subcircuits (.subckt); instead, it automatically expands them into primitive components to ensure compatibility.

    You receive the complete automation logic, a library of verified reference circuit templates, and the integrated ngspice binary needed for pre-import verification.

    Yes, the skill is designed to automatically restore transistor polarities (PNP/PMOS) and missing .model parameters that are often stripped out during standard netlist transfers.

    New in APIs & Backend