¿ªÔÆÌåÓý

Re: Sweep inductance?


 

¿ªÔÆÌåÓý

On 18/12/2024 09:26, Richard Andrews via groups.io wrote:
Bah, I settled on a .step function for the inductor. I am used to programming and it would be nice to sweep component values with time. It would be a cleaner screen to view.
You can't just sweep C or L values with time without considering the rules of conservation of energy/charge.

There are ways of sweeping some component values with time, but they general involve converting to a B-source. As a general rule, component values cannot be changed during an analysis, because they are parameters, which must be evaluated before the analysis starts.

Certain things can be changed during an analysis, along the lines of your L(t) equation, but they would require using a .FUNCtion. You can find more information:

Help > LTspice > LTspice? > Dot Commands > .FUNC -- User Defined Functions

--
Regards,
Tony


Join [email protected] to automatically receive all group messages.