To power an LED we need a closed circuit for the current flow. We also know that the LED can’t be powered by the battery without a device to limit the current. This device is a resistor and its value depends on the current needed to power the LED. In our simulation we will use a 1 k resistor for a 12-V power supply. Below the simulation. You can replace the LED1 by the 3D version.
After turn on the O/I keyPress the space key to controle the circuit.
To download the simulation files and Netlist - click here (msb0052.zip)