model blikac2c annotation ( uses(Modelica(version="2.2.1")), Diagram, experiment(StopTime=2, NumberOfIntervals=5000), experimentSetupOutput); Modelica.Electrical.Analog.Semiconductors.NPN NPN(Bf=300) annotation (extent=[20,-4; 40,16]); Modelica.Electrical.Analog.Semiconductors.PNP PNP(Bf=200) annotation (extent=[-40,24; -20,0]); Modelica.Electrical.Analog.Semiconductors.Diode LED(Vt=0.2) annotation (extent=[30,60; 50,80], rotation=-90); Modelica.Electrical.Analog.Basic.Ground ground annotation (extent=[70,-40; 90,-20]); Modelica.Electrical.Analog.Basic.Resistor R1(R=47e3) annotation (extent=[-64,24; -44,44], rotation=-180); Modelica.Electrical.Analog.Basic.Resistor R2(R=10e6) annotation (extent=[-78,-20; -58,0], rotation=-90); Modelica.Electrical.Analog.Basic.Resistor R3(R=47e3) annotation (extent=[-8,-4; 12,16]); Modelica.Electrical.Analog.Basic.Resistor R4(R=220) annotation (extent=[30,40; 50,60], rotation=-90); Modelica.Electrical.Analog.Basic.Capacitor C(C=0.22e-6) annotation (extent=[-8,24; 12,44]); Modelica.Electrical.Analog.Sources.ConstantVoltage U(V=9) annotation (extent=[70,18; 90,38], rotation=-90); Modelica.Electrical.Analog.Basic.Resistor R5(R=1e6) annotation (extent=[-50,54; -30,74], rotation=-90); Modelica.Electrical.Analog.Semiconductors.Diode D annotation (extent=[-40,2; -60,22]); equation connect(PNP.C, R3.p) annotation (points=[-20,6; -14,6; -14,6; -8,6], style( color=3, rgbcolor={0,0,255})); connect(R3.n, NPN.B) annotation (points=[12,6; 14,6; 14,6; 16,6; 16,6; 20,6], style(color=3, rgbcolor={0,0,255})); connect(R4.n, NPN.C) annotation (points=[40,40; 40,11], style(color=3, rgbcolor={0,0,255})); connect(LED.n, R4.p) annotation (points=[40,60; 40,60], style(color=3, rgbcolor={0,0,255})); connect(LED.p, U.p) annotation (points=[40,80; 80,80; 80,38], style(color=3, rgbcolor={0,0,255})); connect(ground.p, NPN.E) annotation (points=[80,-20; 40,-20; 40,1], style( color=3, rgbcolor={0,0,255})); connect(U.n, ground.p) annotation (points=[80,18; 80,-20], style(color=3, rgbcolor={0,0,255})); connect(R2.n, ground.p) annotation (points=[-68,-20; 80,-20], style(color=3, rgbcolor={0,0,255})); connect(R1.p, C.p) annotation (points=[-44,34; -8,34], style(color=3, rgbcolor={0,0,255})); connect(C.n, R4.n) annotation (points=[12,34; 40,34; 40,40], style(color=3, rgbcolor={0,0,255})); connect(PNP.E, LED.p) annotation (points=[-20,18; -20,80; 40,80], style(color= 3, rgbcolor={0,0,255})); connect(U.p, R5.p) annotation (points=[80,38; 80,80; -40,80; -40,74], style( color=3, rgbcolor={0,0,255})); connect(D.p, PNP.B) annotation (points=[-40,12; -40,12], style(color=3, rgbcolor={0,0,255})); connect(R2.p, D.n) annotation (points=[-68,5.55112e-16; -68,12; -60,12], style(color=3, rgbcolor={0,0,255})); connect(R1.n, D.n) annotation (points=[-64,34; -68,34; -68,12; -60,12], style( color=3, rgbcolor={0,0,255})); connect(R5.n, PNP.B) annotation (points=[-40,54; -40,12], style(color=3, rgbcolor={0,0,255})); end blikac2c;