model multivibrator annotation ( uses(Modelica(version="2.2.1")), Diagram, experiment( StopTime=0.25, NumberOfIntervals=5000, Tolerance=1e-05), experimentSetupOutput); Modelica.Electrical.Analog.Semiconductors.NPN T1(Bf=100) annotation (extent=[-40,-20; -60,0]); Modelica.Electrical.Analog.Semiconductors.NPN T2(Bf=120) annotation (extent=[0,-20; 20,0]); Modelica.Electrical.Analog.Sources.ConstantVoltage U(V=5) annotation (extent=[50,-10; 70,10], rotation=-90); Modelica.Electrical.Analog.Basic.Ground ground annotation (extent=[50,-40; 70,-20]); Modelica.Electrical.Analog.Basic.Resistor R1(R=1000) annotation (extent=[-70,14; -50,34], rotation=-90); Modelica.Electrical.Analog.Basic.Resistor R2(R=1e5) annotation (extent=[-50,14; -30,34], rotation=-90); Modelica.Electrical.Analog.Basic.Resistor R3(R=1e5) annotation (extent=[-10,14; 10,34], rotation=-90); Modelica.Electrical.Analog.Basic.Resistor R4(R=1000) annotation (extent=[10,14; 30,34], rotation=-90); Modelica.Electrical.Analog.Basic.Capacitor C1(C=1e-6) annotation (extent=[-60,-4; -40,16]); Modelica.Electrical.Analog.Basic.Capacitor C2(C=1e-6) annotation (extent=[20,-6; 0,14]); equation connect(R4.p, U.p) annotation (points=[20,34; 60,34; 60,10], style(color=3, rgbcolor={0,0,255})); connect(R1.p, R2.p) annotation (points=[-60,34; -40,34], style(color=3, rgbcolor={0,0,255})); connect(R2.p, R3.p) annotation (points=[-40,34; -1.68051e-18,34], style(color =3, rgbcolor={0,0,255})); connect(R3.p, R4.p) annotation (points=[-1.68051e-18,34; 20,34], style(color= 3, rgbcolor={0,0,255})); connect(T2.C, C2.p) annotation (points=[20,-5; 20,4], style(color=3, rgbcolor={0,0,255})); connect(C2.p, R4.n) annotation (points=[20,4; 20,14], style(color=3, rgbcolor={0,0,255})); connect(T1.C, C1.p) annotation (points=[-60,-5; -60,6], style(color=3, rgbcolor={0,0,255})); connect(C1.p, R1.n) annotation (points=[-60,6; -60,14], style(color=3, rgbcolor={0,0,255})); connect(T2.E, ground.p) annotation (points=[20,-15; 20,-20; 60,-20], style( color=3, rgbcolor={0,0,255})); connect(U.n, ground.p) annotation (points=[60,-10; 60,-20], style(color=3, rgbcolor={0,0,255})); connect(T1.E, ground.p) annotation (points=[-60,-15; -60,-20; 60,-20], style( color=3, rgbcolor={0,0,255})); connect(R2.n, C1.n) annotation (points=[-40,14; -40,6], style(color=3, rgbcolor={0,0,255})); connect(R3.n, C2.n) annotation (points=[1.22293e-15,14; 1.22293e-15,10; 0,4; -5.55112e-16,4], style(color=3, rgbcolor={0,0,255})); connect(C1.n, T2.B) annotation (points=[-40,6; -28,6; -28,-2; -8,-2; -8,-10; -5.55112e-16,-10], style(color=3, rgbcolor={0,0,255})); connect(C2.n, T1.B) annotation (points=[-5.55112e-16,4; -20,4; -20,-10; -40, -10], style(color=3, rgbcolor={0,0,255})); end multivibrator;