ShiboSoftwareDev/simulation

This circuit models an NPN transistor switch with a 5V supply, a base resistor, a collector resistor, a switch controlling the base, and a voltage probe, simulated over 4ms using ngspice.

Usage: To import and use the "@tsci/ShiboSoftwareDev.simulation" package: 1. Import the component in your project: ```tsx import SimulationCircuit from "@tsci/ShiboSoftwareDev.simulation" ``` 2. Use the component within a tscircuit project: ```tsx export default () => ( <board> <SimulationCircuit /> </board> ) ``` The component creates a predefined circuit simulation with a voltage source, resistors, switch, transistor, and voltage probe, configured for a 4ms analog simulation using ngspice.

Version
0.0.1
License
unset
Stars
0

Files