From: Andy F. <and...@si...> - 2013-01-23 11:03:32
|
Hi Markus, No idea why the "Transformer" symbol doesn't work. Is it supposed to be an ideal DC transformer? Whatever, it seems to be broken. If you use "Mutual Inductors" instead then it works OK. Note that for Mutual Inductors: -1< k < 1 Here's a sample netlist for a 2:1 transformer: =========================== # Qucs 0.0.16 C:/Program Files/Qucs/bin/1to2_transformer_01.sch Vac:V1 pri gnd U="1 V" f="50 Hz" Phase="0" Theta="0" .TR:TR1 Type="lin" Start="0" Stop="50m" Points="1001" IntegrationMethod="Trapezoidal" Order="2" InitialStep="1 ns" MinStep="1e-16" MaxIter="150" reltol="0.001" abstol="1 pA" vntol="1 uV" Temp="26.85" LTEreltol="1e-3" LTEabstol="1e-6" LTEfactor="1" Solver="CroutLU" relaxTSR="no" initialDC="yes" MaxStep="0" MUT:Tr1 pri sec gnd gnd L1="100 mH" L2="400 mH" k="0.999" ============================ or the schematic: ====================== <Qucs Schematic 0.0.16> <Properties> <View=-73,-114,861,800,1,0,61> <Grid=10,10,1> <DataSet=1to2_transformer_01.dat> <DataDisplay=1to2_transformer_01.dpl> <OpenDisplay=1> <Script=1to2_transformer_01.m> <RunScript=0> <showFrame=0> <FrameText0=Title> <FrameText1=Drawn By:> <FrameText2=Date:> <FrameText3=Revision:> </Properties> <Symbol> </Symbol> <Components> <GND * 1 340 390 0 0 0 0> <Vac V1 1 340 360 18 -26 0 1 "1 V" 1 "50 Hz" 1 "0" 0 "0" 0> <.TR TR1 1 300 130 0 65 0 0 "lin" 1 "0" 1 "50m" 1 "1001" 0 "Trapezoidal" 0 "2" 0 "1 ns" 0 "1e-16" 0 "150" 0 "0.001" 0 "1 pA" 0 "1 uV" 0 "26.85" 0 "1e-3" 0 "1e-6" 0 "1" 0 "CroutLU" 0 "no" 0 "yes" 0 "0" 0> <GND * 1 450 390 0 0 0 0> <GND * 1 510 390 0 0 0 0> <MUT Tr1 1 480 360 -29 38 0 0 "100 mH" 1 "400 mH" 1 "0.999" 1> </Components> <Wires> <340 330 450 330 "pri" 410 300 50 ""> <510 330 560 330 "" 0 0 0 ""> <560 330 560 330 "sec" 590 300 0 ""> </Wires> <Diagrams> </Diagrams> <Paintings> <Text 440 220 12 #000000 0 "Using Mutual Inductors\nNote:\n-1< k < 1 "> </Paintings> ====================== Cheers, Andy. signality.co.uk On 22 January 2013 20:09, Markus Bergholz <mar...@gm...> wrote: > Hi all > can you help me/show me how to use a transformer in qucs? > this is ma circuit http://paste.osuv.de/index.php/fW11J/ > And i want now to pull down from 230V to 12V after the AC Voltage Source. > > Everything i tried end up in a Zero Voltage.... > > -- > icq: 167498924 > XMPP|Jabber: mar...@ja... > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnnow-d2d > _______________________________________________ > Qucs-help mailing list > Quc...@li... > https://lists.sourceforge.net/lists/listinfo/qucs-help |