model blikac2b 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=10e3) annotation (extent=[-44,24; -24,44], rotation=-180); Modelica.Electrical.Analog.Basic.Resistor R2(R=4.7e6) annotation (extent=[-60,-20; -40,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.47e-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=470e3) annotation (extent=[-60,54; -40,74], rotation=-90); 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(R1.n, PNP.B) annotation (points=[-44,34; -50,34; -50,12; -40,12], 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(PNP.B, R2.p) annotation (points=[-40,12; -50,12; -50,5.55112e-16], style( color=3, rgbcolor={0,0,255})); connect(R2.n, ground.p) annotation (points=[-50,-20; 80,-20], style(color=3, rgbcolor={0,0,255})); connect(R1.p, C.p) annotation (points=[-24,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; -50,80; -50,74], style( color=3, rgbcolor={0,0,255})); connect(PNP.B, R5.n) annotation (points=[-40,12; -50,12; -50,54], style(color =3, rgbcolor={0,0,255})); end blikac2b;