Electronics > Beginners

Seeking help with LTspice simulation of Variable Power Supply

(1/2) > >>

ChanceMcCrance:
Hello,

I am trying to create an LTspice (version XVII) simulation  of a variable power supply.  When I try to run the simulation, I get an error saying "Unknown subcircuit called in: xr1 n004 n003 5000."  Based on what I have read, the software cannot find the subcircuit for R1 (5k, variable resistor).  The component was taken directly from the LTspice library, so I was not sure why I encountered this error.  Any insight as to how I can correct the issue?  Is there something I should add to the simulation command? 

Any help would be super appreciated.  The file is attached if you would like to test it for yourself.

Best,

Chance


hugo:
Why don't you try this one instead?  ;)

Ian.M:
The description of 'xvaristor.asy' that you used for R1 says:

--- Quote ---Generic varistor symbol for use with a model that you supply.
--- End quote ---
If you simply want to patch it to run with the default fixed resistor model, Ctrl-click R1 to open the component attribute editor and change the prefix line from X to R
 

mdszy:
Is there a specific reason you need a variable resistor model? You can always do a .step command to change the value of a normal resistor across multiple simulations and see what the effect of changing the value is.

ChanceMcCrance:
I wanted to create a simulation of a variable power supply that I had built which used a 5k variable resistor.  I suppose using the .step command would be ok for now.

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod