model nfgen annotation ( uses(Modelica(version="2.2.1")), Diagram, experiment(StopTime=0.01, NumberOfIntervals=5000), experimentSetupOutput); Modelica.Electrical.Analog.Semiconductors.NPN nPN(Bf=100) annotation (extent=[20,-4; 40,16]); Modelica.Electrical.Analog.Basic.Capacitor capacitor(C=2.2e-8) annotation (extent=[-10,-4; 10,16]); Modelica.Electrical.Analog.Basic.Capacitor C1(C=1e-7) annotation (extent=[-42,-4; -22,16]); Modelica.Electrical.Analog.Basic.Capacitor C2(C=1e-7) annotation (extent=[-28,30; -8,50]); Modelica.Electrical.Analog.Basic.Resistor R4(R=1600) annotation (extent=[30,40; 50,60], rotation=-90); Modelica.Electrical.Analog.Basic.Resistor R3(R=47000) annotation (extent=[10,20; 30,40], rotation=-90); Modelica.Electrical.Analog.Basic.Resistor R2(R=470) annotation (extent=[-20,-28; 0,-8], rotation=-90); Modelica.Electrical.Analog.Basic.Resistor R1(R=470) annotation (extent=[-52,-28; -32,-8], rotation=-90); Modelica.Electrical.Analog.Basic.Ground ground annotation (extent=[70,-60; 90,-40]); Modelica.Electrical.Analog.Sources.ConstantVoltage U(V=5) annotation (extent=[70,10; 90,30], rotation=-90); equation connect(ground.p, nPN.E) annotation (points=[80,-40; 40,-40; 40,1], style( color=3, rgbcolor={0,0,255})); connect(U.n, ground.p) annotation (points=[80,10; 80,-40], style(color=3, rgbcolor={0,0,255})); connect(capacitor.n, nPN.B) annotation (points=[10,6; 12.5,6; 12.5,6; 15,6; 15,6; 20,6], style(color=3, rgbcolor={0,0,255})); connect(R3.n, nPN.B) annotation (points=[20,20; 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(R3.p, R4.n) annotation (points=[20,40; 40,40], style(color=3, rgbcolor={0,0,255})); connect(R4.p, U.p) annotation (points=[40,60; 40,66; 80,66; 80,30], style( color=3, rgbcolor={0,0,255})); connect(capacitor.p, R2.p) annotation (points=[-10,6; -10,-8], style(color=3, rgbcolor={0,0,255})); connect(C1.n, capacitor.p) annotation (points=[-22,6; -19,6; -19,6; -16,6; -16,6; -10,6], style(color=3, rgbcolor={0,0,255})); connect(C1.p, R1.p) annotation (points=[-42,6; -42,-8], style(color=3, rgbcolor={0,0,255})); connect(C2.n, R3.p) annotation (points=[-8,40; 20,40], style(color=3, rgbcolor={0,0,255})); connect(C2.p, C1.p) annotation (points=[-28,40; -42,40; -42,6], style(color=3, rgbcolor={0,0,255})); connect(R1.n, ground.p) annotation (points=[-42,-28; -42,-40; 80,-40], style( color=3, rgbcolor={0,0,255})); connect(R2.n, ground.p) annotation (points=[-10,-28; -10,-40; 80,-40], style( color=3, rgbcolor={0,0,255})); end nfgen;