1 | within ; |
---|
2 | model arrTest |
---|
3 | |
---|
4 | Modelica.Blocks.Sources.Sine sine annotation (Placement(transformation(extent= |
---|
5 | {{-94,40},{-74,60}}, rotation=0))); |
---|
6 | Modelica.Blocks.Sources.Sine sine1 annotation (Placement(transformation( |
---|
7 | extent={{-94,-16},{-74,4}}, rotation=0))); |
---|
8 | Modelica.Blocks.Continuous.Filter filter1[2](each order=2, |
---|
9 | each f_cut=1) |
---|
10 | annotation (Placement(transformation(extent={{-36,16},{-16,36}}, rotation=0))); |
---|
11 | equation |
---|
12 | connect(filter1[1].u, sine.y) annotation (Line( |
---|
13 | points={{-38,26},{-56,26},{-56,50},{-73,50}}, |
---|
14 | color={0,0,127}, |
---|
15 | smooth=Smooth.None)); |
---|
16 | connect(sine1.y, filter1[2].u) annotation (Line( |
---|
17 | points={{-73,-6},{-56,-6},{-56,26},{-38,26}}, |
---|
18 | color={0,0,127}, |
---|
19 | smooth=Smooth.None)); |
---|
20 | annotation (uses(Modelica(version="3.2.1")), Diagram(graphics), |
---|
21 | version="1", |
---|
22 | conversion(noneFromVersion="")); |
---|
23 | end arrTest; |
---|