1 | within ;
|
---|
2 | model BridgeMono
|
---|
3 | Modelica.Electrical.Analog.Ideal.IdealDiode idealDiode annotation (Placement(
|
---|
4 | transformation(
|
---|
5 | extent={{-10,-10},{10,10}},
|
---|
6 | rotation=90,
|
---|
7 | origin={-40,30})));
|
---|
8 | Modelica.Electrical.Analog.Ideal.IdealDiode idealDiode1 annotation (Placement(
|
---|
9 | transformation(
|
---|
10 | extent={{-10,-10},{10,10}},
|
---|
11 | rotation=90,
|
---|
12 | origin={-20,30})));
|
---|
13 | Modelica.Electrical.Analog.Ideal.IdealDiode idealDiode2 annotation (Placement(
|
---|
14 | transformation(
|
---|
15 | extent={{-10,-10},{10,10}},
|
---|
16 | rotation=90,
|
---|
17 | origin={-40,-10})));
|
---|
18 | Modelica.Electrical.Analog.Ideal.IdealDiode idealDiode3 annotation (Placement(
|
---|
19 | transformation(
|
---|
20 | extent={{-10,-10},{10,10}},
|
---|
21 | rotation=90,
|
---|
22 | origin={-20,-10})));
|
---|
23 | Modelica.Electrical.Analog.Basic.Resistor R(R=1) annotation (Placement(
|
---|
24 | transformation(
|
---|
25 | extent={{-10,-10},{10,10}},
|
---|
26 | rotation=-90,
|
---|
27 | origin={12,38})));
|
---|
28 | Modelica.Electrical.Analog.Basic.Inductor L(L=2e-3) annotation (Placement(
|
---|
29 | transformation(
|
---|
30 | extent={{-10,-10},{10,10}},
|
---|
31 | rotation=-90,
|
---|
32 | origin={12,-6})));
|
---|
33 | Modelica.Electrical.Analog.Sources.SineVoltage Us(V=10, freqHz=50)
|
---|
34 | annotation (Placement(transformation(
|
---|
35 | extent={{-10,-10},{10,10}},
|
---|
36 | rotation=-90,
|
---|
37 | origin={-80,10})));
|
---|
38 | Modelica.Electrical.Analog.Basic.Ground ground
|
---|
39 | annotation (Placement(transformation(extent={{-30,-72},{-10,-52}})));
|
---|
40 | Modelica.Electrical.Analog.Basic.Resistor R1(
|
---|
41 | R=1) annotation (Placement(
|
---|
42 | transformation(
|
---|
43 | extent={{-10,-10},{10,10}},
|
---|
44 | rotation=-90,
|
---|
45 | origin={34,38})));
|
---|
46 | Modelica.Electrical.Analog.Basic.Inductor L1(L=20e-3)
|
---|
47 | annotation (Placement(
|
---|
48 | transformation(
|
---|
49 | extent={{-10,-10},{10,10}},
|
---|
50 | rotation=-90,
|
---|
51 | origin={34,-6})));
|
---|
52 | equation
|
---|
53 | connect(idealDiode.p, idealDiode2.n) annotation (Line(
|
---|
54 | points={{-40,20},{-40,0}},
|
---|
55 | color={0,0,255},
|
---|
56 | smooth=Smooth.None));
|
---|
57 | connect(idealDiode1.p, idealDiode3.n) annotation (Line(
|
---|
58 | points={{-20,20},{-20,0}},
|
---|
59 | color={0,0,255},
|
---|
60 | smooth=Smooth.None));
|
---|
61 | connect(L.n, idealDiode3.p) annotation (Line(
|
---|
62 | points={{12,-16},{12,-40},{-20,-40},{-20,-20}},
|
---|
63 | color={0,0,255},
|
---|
64 | smooth=Smooth.None));
|
---|
65 | connect(idealDiode2.p, idealDiode3.p) annotation (Line(
|
---|
66 | points={{-40,-20},{-40,-40},{-20,-40},{-20,-20}},
|
---|
67 | color={0,0,255},
|
---|
68 | smooth=Smooth.None));
|
---|
69 | connect(idealDiode.n, R.p) annotation (Line(
|
---|
70 | points={{-40,40},{-40,60},{12,60},{12,48}},
|
---|
71 | color={0,0,255},
|
---|
72 | smooth=Smooth.None));
|
---|
73 | connect(idealDiode1.n, idealDiode.n) annotation (Line(
|
---|
74 | points={{-20,40},{-20,60},{-40,60},{-40,40}},
|
---|
75 | color={0,0,255},
|
---|
76 | smooth=Smooth.None));
|
---|
77 | connect(R.n, L.p) annotation (Line(
|
---|
78 | points={{12,28},{12,16},{12,4},{12,4}},
|
---|
79 | color={0,0,255},
|
---|
80 | smooth=Smooth.None));
|
---|
81 | connect(ground.p, idealDiode3.p) annotation (Line(
|
---|
82 | points={{-20,-52},{-20,-20},{-20,-20}},
|
---|
83 | color={0,0,255},
|
---|
84 | smooth=Smooth.None));
|
---|
85 | connect(Us.p, idealDiode.p) annotation (Line(
|
---|
86 | points={{-80,20},{-80,32},{-60,32},{-60,14},{-40,14},{-40,20}},
|
---|
87 | color={0,0,255},
|
---|
88 | smooth=Smooth.None));
|
---|
89 | connect(Us.n, idealDiode3.n) annotation (Line(
|
---|
90 | points={{-80,0},{-80,-12},{-60,-12},{-60,8},{-20,8},{-20,0}},
|
---|
91 | color={0,0,255},
|
---|
92 | smooth=Smooth.None));
|
---|
93 | connect(R1.p, R.p) annotation (Line(
|
---|
94 | points={{34,48},{34,60},{12,60},{12,48}},
|
---|
95 | color={0,0,255},
|
---|
96 | smooth=Smooth.None));
|
---|
97 | connect(R1.n, L1.p) annotation (Line(
|
---|
98 | points={{34,28},{34,4}},
|
---|
99 | color={0,0,255},
|
---|
100 | smooth=Smooth.None));
|
---|
101 | connect(L1.n, L.n) annotation (Line(
|
---|
102 | points={{34,-16},{34,-40},{12,-40},{12,-16}},
|
---|
103 | color={0,0,255},
|
---|
104 | smooth=Smooth.None));
|
---|
105 | annotation (
|
---|
106 | uses(Modelica(version="3.2")),
|
---|
107 | Diagram(graphics),
|
---|
108 | experiment(StopTime=0.12, NumberOfIntervals=5000),
|
---|
109 | __Dymola_experimentSetupOutput);
|
---|
110 | end BridgeMono;
|
---|