Electronic – How to change the temperature of sub-circuits in LTSPICE

ltspicepspicespicesubcircuittemperature

I have subcircuits of a solar cell (resistors and diodes) in LTSPICE. I want to connect the solar cells (sub-circuits) together. However, each solar cell has a different temperature. I can set the temperature of the program with .Temp but how can I change the temperature of each sub-circuit separately.

Best Answer

There are a few ways.

You can add it to the actual model you are using as a final parameter or use the component dialog box:

Setting the temperature of a component

To get this dialog for anything that has a .model statement, use CTRL + right click.

If you are adding the temperature command within the SPICE listing, it needs the format of "temp=xx"; no dot required. The listing you show has omitted the '='.