Actually I was asking because LTSpice coudln't simulate it :) I think I got it working at last, will be sure after making all simulations I need. Thanks again for all your help!
It seems that simulation runs, but the values are totally wrong, it should be around 300 mV of amplitude at the output of the circuit. I've tested it in the lab :) Is it possible that ngspice can't simulate switching capacitance circuits?
Actually I can only find spinit file. I downloaded the ngspice-31_64.zip file.Also it seems that simulation runs, but the values are totally wrong, it should be around 300 mV of amplitude at the output of the circuit. I've tested it in the lab :) Is it possible that ngspice can't simulate switching capacitance circuits?
Ok I did as you said, but still it says that tc is unknown (it's some parameter in tmux1208) model. And also that rideal is unknown which I suppose is in AD library
ok so if I'm using windows I should put the .spiceinit in the same folder as my circuit and libraries files?
I think that the problem is I know that transitos is in PSpice, the tmux is a model of Tina Ti Spice, and the opamp doesn't say for which simulator was made. Every manufacturer has it's own "favorite" simulator so they give models to their parts in that simulators.... Because of that I'm not sure if changing the .spiceinit as you mentioned would work
thanks a lot! when I changed to V(1)V(1) it simulated something but I got a bunch of errors like "Error on line 3 : v1 n007 0 pulse(0 2 0 1n 1n 5u 10u) rser=50 unknown parameter (rser)" The resistance of voltage source can't be add in ngspice? Also I have " Error on line 0 : c.xu15.c_u15_c3 0 xu15.u15_rc_out 9n tc=0 0 unknown parameter (tc) " (this error occurs around 1000 times actually)
Thanks I got it all working on this small circuit. Could you also help me in finding mine mistake in a "big one"? when I try to simulate it the same way as before I got error: Circuit: * circuit Error: no such function 'pwr' internal error -- segmentation violation The circuit is below: circuit C1 N016 0 4.55n V1 N007 0 PULSE(0 2 0 1n 1n 5u 10u) Rser=50 Vs1 N015 0 SINE(0 0.3 3500) AC 0 Rser=50 C6 N017 0 0.015µ V2 N008 0 PULSE(0 2 5u 1n 1n 5u 10u) Rser=50 C2 N014 0 11.6n C3 N019 0 680p C4 N018 0 41.6n...
Thanks I got it all working on this small circuit. Could you also help me in finding mine mistake in a "big one"? when I try to simulate it the same way as before I got error: Circuit: * circuit Error: no such function 'pwr' internal error -- segmentation violation The circuit is below: circuit C1 N016 0 4.55n V1 N007 0 PULSE(0 2 0 1n 1n 5u 10u) Rser=50 Vs1 N015 0 SINE(0 0.3 3500) AC 0 Rser=50 C6 N017 0 0.015µ V2 N008 0 PULSE(0 2 5u 1n 1n 5u 10u) Rser=50 C2 N014 0 11.6n C3 N019 0 680p C4 N018 0 41.6n...
Thanks for all the answers. I changed .lib to .inc and now it seems to compile and I have some numeric values in the output file. When I used ngspice test.cir I got the same warning as Marcel. The warning is in the transistor line, so I think it comes from its model. The library for this transistor originally is in Pspice. Also I got 2 numbers in NN003 measurement which one is a correct one? it's NN003 = 5.031839e-001 at= 2.528000e-004. Based on the output of LTSpice I suppose the 5.03e-1 is the...
Thanks for all the answers. I changed .lib to .inc and now it seems to compile and I have some numeric values in the output file. When I used ngspice test.cir I got the same warning as Marcel. The warning is in the transistor line, so I think it comes from its model. The library for this transistor originally is in Pspice. Also I got 2 numbers in NN003 measurement which one is a correct one? it's NN003 = 5.031839e-001 at= 2.528000e-004 so I suppose that the amplitude on the output of the circuit...
Hello. I have a problem, I'm trying to use a transistor from vishay company, with their model in a simple circuit in ngspice. Unfortunately I got an error "Error: unknown subckt: xu1 n003 n001 n002 si1012cr Error: there aren't any circuits loaded." I have no idea what can be wrong. Here is my circuit: *test XU1 N003 N001 N002 Si1012CR V1 N002 0 SINE(0 1 1000) V2 N001 0 1 R1 N003 0 199 .tran 0.01m 1m .lib C:\Users\Mariusz\Desktop\sym\si1012cr_ps_RevB.lib .control set filetype = ascii meas tran N003...