From: Easy B <easyb@fr...>  20060606 21:12:39

Hallo Stefan Thanx for your reply. I think it helped, although I don't think my circuit is working yet. What does following warning mean? WARNING: TR1: inserted virtual resistance at node `_net1' connected to [XLM317.X1.X1.Q2,XLM317.X1.X1.Q3,XLM317.X1.X1.Q4,XLM317.X1.X1.Q5,XLM317. X1.X1.Q6,XLM317.X1.X1.Q7,XLM317.X1.X1.Q8,XLM317.X1.X1.Q9,XLM317.X1.X1.Q1 0,XLM317.X1.X1.Q11,XLM317.X1.X1.Q12,XLM317.X1.X1.Q13,XLM317.X1.X1.Q14,XL M317.X1.X1.Q15,XLM317.X1.X1.Q16,XLM317.X1.X1.Q17,XLM317.X1.X1.Q18,XLM317 .X1.X1.Q19,XLM317.X1.X1.Q20,XLM317.X1.X1.Q21,XLM317.X1.X1.Q22A,XLM317.X1 .X1.Q22B,XLM317.X1.X1.Q23,XLM317.X1.X1.Q24A,XLM317.X1.X1.Q24B,XLM317.X1. X1.Q25,XLM317.X1.X1.Q26] Get it like a thousand times. Couldn't get any of the other circuits running either. Guess I have to try some more. Cheers, Ezra. On 06.06.2006, at 09:19, Stefan Jahn wrote: > Am Fr, 2.06.2006, 21:37, schrieb Easy B: > > >> Hello >> > > Hello, > > >> Excuse my ignorance, I am pretty much a qucs newbe. >> >> I have to say I really like the usability of qucs. I managed to >> simulate simple circuits pretty quickly. But I really would like to >> be able to integrate spice sub circuits form the web. I tried a few >> with the SPICE netlist component. Qucs would except the file and find >> the ports. But when I simulate the sub circuit doesn't do anything. I >> tried a LM317, a opamp and a triac and none of them worked. Any ideas >> what I am doing wrong? >> >> Further i found out that I can convert with qucsconv spice netlists >> to qucs ones. But couldn't figure out how to add the resulting qucs >> netlist to my schematic. >> >> Here's an example of a spice netlist I tried: >> >> *SRC=2N5568;2N5568;TRIACs;MOTOROLA;400V 10A >> *SYM=TRIAC >> .SUBCKT triac 1 2 3 >> * CONNECTIONS: MT2 G MT1 >> QN1 5 4 3 NOUT >> QN2 11 6 7 NOUT >> QP1 6 11 3 POUT >> QP2 4 5 7 POUT >> DF 4 5 DZ OFF >> DR 6 11 DZ OFF >> RF 6 4 40MEG >> RT2 7 1 52.8M >> RH 6 7 75 >> RGP 8 3 54.5 >> RG 8 2 26.4 >> RS 4 8 52.6 >> DN 9 2 DIN >> RN 9 3 27.8 >> GNN 6 7 9 3 38.8M >> GNP 4 5 9 3 51.2M >> DP 2 10 DIP >> RP 3 10 16.2 >> GP 7 6 10 3 26.1M >> .Model Din D (IS=53.5F) >> .Model Dip D (IS=53.5F N=1.19) >> .Model Dz D (IS=53.5F N=1.5 IBV=10u BV=400) >> .Model Pout PNP (IS=53.5F BF=5 CJE=235P TF=25.5u) >> .Model Nout NPN (IS=53.5F BF=20 CJE=235P CJC=46.9P TF=1.7u) >> .ENDS >> .END >> >> Should something like this work? >> > > In fact it works as expected. > > The "problem" about this SPICE netlist is just that there is a sub > circuit > definition only. It appears to do nothing in Qucs because it misses > an instantiation of the subcircuit defined, i.e. it misses an > appropriate > "X"line which instantiates the "triac" subcircuit. > > Place a > > X1 MT2 G MT1 triac > > line between .ENDS and .END ... > > Hope this helps, Stefan. > > > > _______________________________________________ > Qucshelp mailing list > Qucshelp@... > https://lists.sourceforge.net/lists/listinfo/qucshelp > 
From: Stefan Jahn <stefan@gr...>  20060607 09:16:17

Am Di, 6.06.2006, 23:12, schrieb Easy B: > Hallo Stefan Hi there Ezra, > Thanx for your reply. I think it helped, although I don't think my > circuit is working yet. What does following warning mean? > > WARNING: TR1: inserted virtual resistance at node `_net1' connected > to > [XLM317.X1.X1.Q2,XLM317.X1.X1.Q3,XLM317.X1.X1.Q4,XLM317.X1.X1.Q5,XLM317. > X1.X1.Q6,XLM317.X1.X1.Q7,XLM317.X1.X1.Q8,XLM317.X1.X1.Q9,XLM317.X1.X1.Q1 > 0,XLM317.X1.X1.Q11,XLM317.X1.X1.Q12,XLM317.X1.X1.Q13,XLM317.X1.X1.Q14,XL > M317.X1.X1.Q15,XLM317.X1.X1.Q16,XLM317.X1.X1.Q17,XLM317.X1.X1.Q18,XLM317 > .X1.X1.Q19,XLM317.X1.X1.Q20,XLM317.X1.X1.Q21,XLM317.X1.X1.Q22A,XLM317.X1 > .X1.Q22B,XLM317.X1.X1.Q23,XLM317.X1.X1.Q24A,XLM317.X1.X1.Q24B,XLM317.X1. > X1.Q25,XLM317.X1.X1.Q26] > > Get it like a thousand times. It just means that your node _net1 (a node which you did not give a label) is floating (not connected to some definite potential). When you have a specific schematic which you can send to me I could probably help you solving the problem in case you have a expectation what should actually happen. > Couldn't get any of the other circuits running either. Guess I have > to try some more. Which other? Cheers, Stefan. 