Hi there,
this group looks pretty spamed, but i'll try my luck.
does any one knows how to make a constant power load in the LTspice?
i've tried a few things but they all involving using dynamic variables.
maybe it's the question of how to use dynamic variable in LTspice.
for example, the idea is:
R1 N002 N001 100 I1 N002 0 {current(p,V(n002))} V1 N001 0 10 Rser=1 .param p=10 .func current(power,voltage) {power/voltage} .tran 0 1m 0 1u startup .backanno .end
but this won't work since i can't just pass V(n002) as a parameter since it's a dynamic variable.
is there a way i can fix this?
many thanks
Ren