diff options
Diffstat (limited to '3432/CH6')
50 files changed, 961 insertions, 0 deletions
diff --git a/3432/CH6/EX6.10/Ex6_10.sce b/3432/CH6/EX6.10/Ex6_10.sce new file mode 100644 index 000000000..f1f5c205f --- /dev/null +++ b/3432/CH6/EX6.10/Ex6_10.sce @@ -0,0 +1,46 @@ +//Example 6.10
+// Nyquist plot for an Open-loop unstable system.
+
+xdel(winsid())//close all graphics Windows
+clear;
+clc;
+//------------------------------------------------------------------
+//System transfer function
+s=poly(0,'s');
+sysG=(s+1)/(s*(s/10-1));
+evans(sysG,50)
+exec .\fig_settings.sci; //custom script for setting figure properties
+title(["Root Locus for","$G(s)=(s+1)/[s(s/10-1)]$"],'fontsize',3)
+zoom_rect([-5 -4 5 4])
+f=gca();
+f.x_location = "origin"
+f.y_location = "origin"
+h=legend('');
+h.visible = "off"
+
+g1=syslin('c',(s+1)/(s*(s/10-1)));
+//------------------------------------------------------------------
+//The bode plot of the system
+figure;
+bode(g1,0.1/2/%pi,100/2/%pi,"rad")
+exec .\fig_settings.sci; //custom script for setting figure properties
+title(["Bode plot for","$G(s)=(s+1)/[s(s/10-1)]$"],'fontsize',3)
+//bode(g,2*%pi*0.1,2*%pi*100)
+//------------------------------------------------------------------
+figure;
+//The nyquist plot of the system
+nyquist(g1,0.5/2/%pi,100/2/%pi,0.05)
+exec .\fig_settings.sci; //custom script for setting figure properties
+title(["Nyquist plot for","$G(s)=(s+1)/[s(s/10-1)]$"],'fontsize',3)
+f=gca();
+f.x_location = "origin";
+f.y_location = "origin";
+zoom_rect([-2 -2 1 2]);
+xset("color",2);
+xset("font size", 3);
+xstring(-1,1.5,"${\fgcolor{blue}{\omega>0}}$",0,0);
+xstring(-1,-1.5,"${\fgcolor{blue}{\omega<0}}$",0,0);
+xstring(-1.5,0,"${\fgcolor{blue}{\omega=\pm \sqrt{10}}}$",0,0);
+xstring(-0.5,0.1,"${\fgcolor{blue}{\omega=\infty}}$",0,0);
+xarrows([-0.2;0],[0.2;0],-1,2)
+//------------------------------------------------------------------
diff --git a/3432/CH6/EX6.10/Ex6_10_f0.pdf b/3432/CH6/EX6.10/Ex6_10_f0.pdf Binary files differnew file mode 100644 index 000000000..36c7a5102 --- /dev/null +++ b/3432/CH6/EX6.10/Ex6_10_f0.pdf diff --git a/3432/CH6/EX6.10/Ex6_10_f1.pdf b/3432/CH6/EX6.10/Ex6_10_f1.pdf Binary files differnew file mode 100644 index 000000000..b0d811d78 --- /dev/null +++ b/3432/CH6/EX6.10/Ex6_10_f1.pdf diff --git a/3432/CH6/EX6.11/Ex6_11.sce b/3432/CH6/EX6.11/Ex6_11.sce new file mode 100644 index 000000000..4a782342d --- /dev/null +++ b/3432/CH6/EX6.11/Ex6_11.sce @@ -0,0 +1,28 @@ +//Example 6.11
+// Stability properties for a conditionally stable system.
+
+xdel(winsid())//close all graphics Windows
+clear;
+clc;
+//------------------------------------------------------------------
+//System transfer function
+s=poly(0,'s');
+Gs=(s+10)^2/(s^3);
+evans(Gs,100)
+exec .\fig_settings.sci; //custom script for setting figure properties
+zoom_rect([-40 -20 5 20])
+title(["Root locus for","$G(s)=(s+10)^2/s^3$"],'fontsize',3)
+h=legend('');
+h.visible = "off"
+Gs1=syslin('c',(s+10)^2/(s^3));
+//------------------------------------------------------------------
+//The nyquist plot of the system
+figure;
+nyquist(7*Gs1,8/2/%pi,100/2/%pi,0.005)
+exec .\fig_settings.sci; //custom script for setting figure properties
+title(["Nyquist plot for","$G(s)=(s+10)^2/s^3$"],'fontsize',3)
+f=gca();
+f.x_location = "origin";
+f.y_location = "origin";
+xset("color",2);
+//------------------------------------------------------------------
diff --git a/3432/CH6/EX6.11/Ex6_11_f0.pdf b/3432/CH6/EX6.11/Ex6_11_f0.pdf Binary files differnew file mode 100644 index 000000000..68c587741 --- /dev/null +++ b/3432/CH6/EX6.11/Ex6_11_f0.pdf diff --git a/3432/CH6/EX6.11/Ex6_11_f1.pdf b/3432/CH6/EX6.11/Ex6_11_f1.pdf Binary files differnew file mode 100644 index 000000000..3b2765043 --- /dev/null +++ b/3432/CH6/EX6.11/Ex6_11_f1.pdf diff --git a/3432/CH6/EX6.12/Ex6_12.sce b/3432/CH6/EX6.12/Ex6_12.sce new file mode 100644 index 000000000..ae6ce2fd2 --- /dev/null +++ b/3432/CH6/EX6.12/Ex6_12.sce @@ -0,0 +1,40 @@ +//Example 6.12
+// Nyquist plot for a system with Multiple Crossover frequencies
+
+xdel(winsid())//close all graphics Windows
+clear;
+clc;
+//------------------------------------------------------------------
+//System transfer function
+s=poly(0,'s');
+K=85;
+g1=K*(s+1)/(s^2*(s^2+2*s+82));
+g2=(s^2+2*s+43.25)/(s^2+2*s+101);
+
+Gs=syslin('c',g2*g1);
+//------------------------------------------------------------------
+figure;
+//The nyquist plot of the system
+nyquist(Gs,0.5/2/%pi,100/2/%pi,0.005)
+title(["Nyquist plot for the complex system";...
+"$G(s)=85(s+1)(s^2+2s+43.25)/[((s^2+2s+82)(s^2+2s+101)]$"],...
+'fontsize',3)
+exec .\fig_settings.sci; //custom script for setting figure properties
+zoom_rect([-2 -1 0.6 1])
+f=gca();
+f.x_location = "origin";
+f.y_location = "origin";
+xset("color",2);
+//------------------------------------------------------------------
+//The bode plot of the system
+gm=g_margin(Gs);
+pm=p_margin(Gs)
+disp(pm,"Phase margin",gm,"Gain margin")
+figure(1)
+bode(Gs,0.01/2/%pi,100/2/%pi,0.01)
+title(["Bode plot for";...
+"$G(s)=85(s+1)(s^2+2s+43.25)/[((s^2+2s+82)(s^2+2s+101)]$"],...
+'fontsize',3)
+exec .\fig_settings.sci; //custom script for setting figure properties
+//------------------------------------------------------------------
+
diff --git a/3432/CH6/EX6.12/Ex6_12_f0.pdf b/3432/CH6/EX6.12/Ex6_12_f0.pdf Binary files differnew file mode 100644 index 000000000..2c7078720 --- /dev/null +++ b/3432/CH6/EX6.12/Ex6_12_f0.pdf diff --git a/3432/CH6/EX6.12/Ex6_12_f1.pdf b/3432/CH6/EX6.12/Ex6_12_f1.pdf Binary files differnew file mode 100644 index 000000000..6a3728170 --- /dev/null +++ b/3432/CH6/EX6.12/Ex6_12_f1.pdf diff --git a/3432/CH6/EX6.13/Ex6_13.sce b/3432/CH6/EX6.13/Ex6_13.sce new file mode 100644 index 000000000..3d2221428 --- /dev/null +++ b/3432/CH6/EX6.13/Ex6_13.sce @@ -0,0 +1,77 @@ +//Example 6.13
+// Use of simple design criterion for spacecraft attitude control.
+
+xdel(winsid())//close all graphics Windows
+clear;
+clc;
+//------------------------------------------------------------------
+//System transfer function
+s=poly(0,'s');
+G=1/s^2;
+g1=syslin('c',G);
+
+//The bode plot of the system
+zoom_rect([0.01 -20 100 60])
+bode(g1,0.05/2/%pi,2/2/%pi,"rad")
+exec .\fig_settings.sci; //custom script for setting figure properties
+title('Magnitude of the spacecrafts frequency','fontsize',3)
+//------------------------------------------------------------------
+
+K=1;
+Td=20;
+Ds=(Td*s+1);
+gd1=syslin('c',K*Ds*G);
+
+////The bode plot of compnenstaed open loop system
+figure
+bode(gd1,0.01/2/%pi,1/2/%pi,"rad")
+exec .\fig_settings.sci; //custom script for setting figure properties
+title('Bode plot for compensated open-loop transfer function'...
+,'fontsize',3)
+xstring(0.02,70,"-40db/decade",0,0);
+xstring(0.2,40,"-20db/decade",0,0);
+
+//The bode plot of compnenstaed closed loop system
+K=0.01;
+gc1=K*gd1/(1+K*gd1);
+gcl1=syslin('c',gc1);
+figure
+bode(gcl1,0.01/2/%pi,10/2/%pi,"rad")
+title('Closesd loop frequency response','fontsize',3)
+exec .\fig_settings.sci; //custom script for setting figure properties
+
+//Bandwidth
+[frq, repf,splitf]=repfreq(gc1,[0.01/2/%pi:0.001:10/2/%pi]);
+[db, phi]=dbphi(repf);
+w=find(db<=db(1)-3);
+wc=w(1);
+frqc=frq(wc)*2*%pi;
+
+plot2d3(frqc,db(wc),5)
+
+[r c]=size(frq(1:w(1)));
+magn=db(wc)*ones(r,c)
+plot(frq(1:w(1))*2*%pi,magn,"b--")
+temp_db=db(w);
+[r c]=size(db(w));
+temp_w=frqc*ones(r,c);
+plot(temp_w,temp_db,"b--")
+xset("font size", 3);
+xstring(0.04,-16,"$\omega_{BW}$");
+xstring(frqc,-4,"-3db");
+xset("line style",4)
+xarrows([0.01;frqc],[-10;-10],-0.2,5)
+xarrows([frqc;0.01],[-10;-10],-0.2,5)
+//------------------------------------------------------------------
+//Step response of PD compnensation
+figure
+t=0:0.5:100;
+v=csim('step',t,gcl1);
+plot2d(t,v)
+
+//Title, labels and grid to the figure
+exec .\fig_settings.sci; //custom script for setting figure properties
+title('Step response for PD compensation','fontsize',3)
+xlabel('Time t (sec.)','fontsize',2)
+ylabel('$\theta$','fontsize',2)
+//-------------------------------------------------------------------
diff --git a/3432/CH6/EX6.13/Ex6_13_f0.pdf b/3432/CH6/EX6.13/Ex6_13_f0.pdf Binary files differnew file mode 100644 index 000000000..d57831e64 --- /dev/null +++ b/3432/CH6/EX6.13/Ex6_13_f0.pdf diff --git a/3432/CH6/EX6.13/Ex6_13_f3.pdf b/3432/CH6/EX6.13/Ex6_13_f3.pdf Binary files differnew file mode 100644 index 000000000..42cd3fa60 --- /dev/null +++ b/3432/CH6/EX6.13/Ex6_13_f3.pdf diff --git a/3432/CH6/EX6.14/Ex6_14.sce b/3432/CH6/EX6.14/Ex6_14.sce new file mode 100644 index 000000000..4ccf15583 --- /dev/null +++ b/3432/CH6/EX6.14/Ex6_14.sce @@ -0,0 +1,93 @@ +//Example 6.14 +//Lead compensation for DC motor. + +xdel(winsid())//close all graphics Windows +clear; +clc; +//------------------------------------------------------------------ +//System transfer function +s=poly(0,'s'); +g=1/s/(s+1); +K=10; //DC gain +KGs=syslin('c',K*g); + +//Lead compensator +numD=s/2+1; +denD=s/10+1; +D=numD/denD; +Ds=syslin('c',D); + +KGDs=Ds*KGs; //compensated system +//------------------------------------------------------------------ +//(a) The bode plot of the system +bode([KGs;KGDs],0.1/2/%pi,100/2/%pi,['KG(s)';'D(s)G(s)'],"rad"); +exec .\fig_settings.sci; //custom script for setting figure properties +title('Frequency response of lead compensation design','fontsize',3) + +//root locus +figure(1) +evans(KGDs/K) +xset("font size", 3); +xstring(-10,4,"$KD(s)=\frac{s/2+1}{s/10+1}$",0,0) +xstring(-10,2,"$G(s)=\frac{1}{s(s+1)}$",0,0) + +//Title, labels and grid to the figure +exec .\fig_settings.sci; // custom script for setting figure properties +title('Root locus for lead compensation design','fontsize',3) +zoom_rect([-14 -8 4 8]) +f=gca(); +f.x_location = "origin"; +f.y_location = "origin"; +h=legend(''); +h.visible = "off" +//------------------------------------------------------------------ +//(b) digital version of lead compensator +//Discretize the system using sampling time Ts=0.05 and Bilinear Transform +Ts=0.05; //in book its 0.005, which may not give expected responses +D=tf2ss(KGDs/K/g); +sysD=cls2dls(D,Ts); + +//Pulse transfer function +Ddz=ss2tf(sysD) +disp(Ddz,"Ddz=") + +//------------------------------------------------------------------ +//(c) Compare step and ramp responses. +//step response switch sw=1 and for ramp response sw=0 +//------------------------------------------------------------------ + +//step response +sw=1; +importXcosDiagram(".\Ex6_14_model.xcos") + +xcos_simulate(scs_m,4); +scs_m.props.context +figure, +a1=newaxes(); +a1.axes_bounds=[0,0,1.0,0.5]; +plot(time_resp.time,time_resp.values) + +xlabel('time'); +ylabel('y'); +title(["Lead-compensation design (a) step Response... + (b) ramp response"],'fontsize',3) +exec .\fig_settings.sci; //custom script for setting figure properties +legend("continuous controller","digital controller",4) +//------------------------------------------------------------------ +//ramp response +sw=0; +importXcosDiagram(".\Ex6_14_model.xcos") + +xcos_simulate(scs_m,4); +scs_m.props.context + +a2=newaxes(); +a2.axes_bounds=[0,0.5,1.0,0.5]; +plot(time_resp.time,time_resp.values) + +xlabel('time'); +ylabel('y'); +title("(b)",'fontsize',3) +exec .\fig_settings.sci; //custom script for setting figure properties +legend("continuous controller","digital controller",4) +//------------------------------------------------------------------ diff --git a/3432/CH6/EX6.14/Ex6_14_f1.pdf b/3432/CH6/EX6.14/Ex6_14_f1.pdf Binary files differnew file mode 100644 index 000000000..107b25e38 --- /dev/null +++ b/3432/CH6/EX6.14/Ex6_14_f1.pdf diff --git a/3432/CH6/EX6.14/Ex6_14_f2.pdf b/3432/CH6/EX6.14/Ex6_14_f2.pdf Binary files differnew file mode 100644 index 000000000..69288dbce --- /dev/null +++ b/3432/CH6/EX6.14/Ex6_14_f2.pdf diff --git a/3432/CH6/EX6.14/Ex6_14_model.xcos b/3432/CH6/EX6.14/Ex6_14_model.xcos new file mode 100644 index 000000000..98c1caa97 --- /dev/null +++ b/3432/CH6/EX6.14/Ex6_14_model.xcos @@ -0,0 +1 @@ +<?xml version="1.0" encoding="UTF-8"?><XcosDiagram background="-1" finalIntegrationTime="5.0" title="Ex6_14_model"><!--Xcos - 1.0 - scilab-5.5.2 - 20150331 1318--><mxGraphModel as="model"><root><mxCell id="-2dd55334:14dcbdd0183:-7fd2"/><mxCell id="-2dd55334:14dcbdd0183:-7fd3" parent="-2dd55334:14dcbdd0183:-7fd2"/><BasicBlock dependsOnT="1" id="-2dd55334:14dcbdd0183:-7fa4" interfaceFunctionName="CLR" ordering="1" parent="-2dd55334:14dcbdd0183:-7fd3" simulationFunctionName="csslti4" simulationFunctionType="C_OR_FORTRAN" style="CLR;flip=false;mirror=false"><ScilabString as="exprs" height="2" width="1"><data column="0" line="0" value="1"/><data column="0" line="1" value="s"/></ScilabString><ScilabDouble as="realParameters" height="4" width="1"><data column="0" line="0" realPart="-0.0"/><data column="0" line="1" realPart="1.0"/><data column="0" line="2" realPart="1.0"/><data column="0" line="3" realPart="0.0"/></ScilabDouble><ScilabDouble as="integerParameters" height="0" width="0"/><Array as="objectsParameters" scilabClass="ScilabList"/><ScilabDouble as="nbZerosCrossing" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="nmode" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="state" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array as="oDState" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="40.0" width="60.0" x="580.0" y="110.0"/></BasicBlock><ExplicitInputPort dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7f91" ordering="1" parent="-2dd55334:14dcbdd0183:-7fa4" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="16.0"/></ExplicitInputPort><ExplicitOutputPort dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7f90" ordering="1" parent="-2dd55334:14dcbdd0183:-7fa4" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="60.0" y="16.0"/></ExplicitOutputPort><BasicBlock dependsOnT="1" id="-2dd55334:14dcbdd0183:-7f98" interfaceFunctionName="CLR" ordering="2" parent="-2dd55334:14dcbdd0183:-7fd3" simulationFunctionName="csslti4" simulationFunctionType="C_OR_FORTRAN" style="CLR;flip=false;mirror=false"><ScilabString as="exprs" height="2" width="1"><data column="0" line="0" value="1"/><data column="0" line="1" value="1+s"/></ScilabString><ScilabDouble as="realParameters" height="4" width="1"><data column="0" line="0" realPart="-1.0"/><data column="0" line="1" realPart="1.0"/><data column="0" line="2" realPart="1.0"/><data column="0" line="3" realPart="0.0"/></ScilabDouble><ScilabDouble as="integerParameters" height="0" width="0"/><Array as="objectsParameters" scilabClass="ScilabList"/><ScilabDouble as="nbZerosCrossing" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="nmode" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="state" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array as="oDState" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="40.0" width="60.0" x="680.0" y="110.0"/></BasicBlock><ExplicitInputPort dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7f97" ordering="1" parent="-2dd55334:14dcbdd0183:-7f98" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="16.0"/></ExplicitInputPort><ExplicitOutputPort dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7f96" ordering="1" parent="-2dd55334:14dcbdd0183:-7f98" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="60.0" y="16.0"/></ExplicitOutputPort><BasicBlock dependsOnU="1" id="-2dd55334:14dcbdd0183:-7f5c" interfaceFunctionName="GAINBLK" ordering="3" parent="-2dd55334:14dcbdd0183:-7fd3" simulationFunctionName="gainblk" simulationFunctionType="C_OR_FORTRAN" style="GAINBLK;flip=false;mirror=false"><ScilabString as="exprs" height="2" width="1"><data column="0" line="0" value="10"/><data column="0" line="1" value="0"/></ScilabString><ScilabDouble as="realParameters" height="1" width="1"><data column="0" line="0" realPart="10.0"/></ScilabDouble><ScilabDouble as="integerParameters" height="0" width="0"/><Array as="objectsParameters" scilabClass="ScilabList"/><ScilabDouble as="nbZerosCrossing" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="nmode" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array as="oDState" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="40.0" width="40.0" x="500.0" y="110.0"/></BasicBlock><ExplicitInputPort dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7e80" ordering="1" parent="-2dd55334:14dcbdd0183:-7f5c" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="16.0"/></ExplicitInputPort><ExplicitOutputPort dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7e7f" ordering="1" parent="-2dd55334:14dcbdd0183:-7f5c" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="40.0" y="16.0"/></ExplicitOutputPort><ExplicitLink id="-2dd55334:14dcbdd0183:-7f41" parent="-2dd55334:14dcbdd0183:-7fd3" source="-2dd55334:14dcbdd0183:-7f90" target="-2dd55334:14dcbdd0183:-7f97"><mxGeometry as="geometry" x="240.0" y="30.0"/></ExplicitLink><Summation dependsOnU="1" id="-2dd55334:14dcbdd0183:-7f23" interfaceFunctionName="SUMMATION" ordering="4" parent="-2dd55334:14dcbdd0183:-7fd3" simulationFunctionName="summation" simulationFunctionType="C_OR_FORTRAN" style="SUMMATION;flip=false;mirror=false" value="+"><ScilabString as="exprs" height="1" width="1"><data column="0" line="0" value="[1;-1]"/></ScilabString><ScilabDouble as="realParameters" height="0" width="0"/><ScilabDouble as="integerParameters" height="2" width="1"><data column="0" line="0" realPart="1.0"/><data column="0" line="1" realPart="-1.0"/></ScilabDouble><Array as="objectsParameters" scilabClass="ScilabList"/><ScilabDouble as="nbZerosCrossing" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="nmode" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array as="oDState" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="60.0" width="40.0" x="300.0" y="100.0"/></Summation><ExplicitInputPort dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7f22" ordering="1" parent="-2dd55334:14dcbdd0183:-7f23" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value="+"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="16.0"/></ExplicitInputPort><ExplicitInputPort dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7f21" ordering="2" parent="-2dd55334:14dcbdd0183:-7f23" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value="-"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="36.0"/></ExplicitInputPort><ExplicitOutputPort dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7f20" ordering="1" parent="-2dd55334:14dcbdd0183:-7f23" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="40.0" y="26.0"/></ExplicitOutputPort><ExplicitLink id="-2dd55334:14dcbdd0183:-7f1e" parent="-2dd55334:14dcbdd0183:-7fd3" source="-2dd55334:14dcbdd0183:-7f20" target="-2dd55334:14dcbdd0183:-7fa9"><mxGeometry as="geometry" x="170.0" y="40.0"/></ExplicitLink><BasicBlock id="-2dd55334:14dcbdd0183:-7eeb" interfaceFunctionName="STEP_FUNCTION" ordering="5" parent="-2dd55334:14dcbdd0183:-7fd3" simulationFunctionName="csuper" simulationFunctionType="DEFAULT" style="STEP_FUNCTION;flip=false;mirror=false"><ScilabDouble as="exprs" height="0" width="0"/><Array as="realParameters" scilabClass="ScilabMList"><ScilabString height="1" width="5"><data column="0" line="0" value="diagram"/><data column="1" line="0" value="props"/><data column="2" line="0" value="objs"/><data column="3" line="0" value="version"/><data column="4" line="0" value="contrib"/></ScilabString><Array scilabClass="ScilabTList"><ScilabString height="1" width="11"><data column="0" line="0" value="params"/><data column="1" line="0" value="wpar"/><data column="2" line="0" value="title"/><data column="3" line="0" value="tol"/><data column="4" line="0" value="tf"/><data column="5" line="0" value="context"/><data column="6" line="0" value="void1"/><data column="7" line="0" value="options"/><data column="8" line="0" value="void2"/><data column="9" line="0" value="void3"/><data column="10" line="0" value="doc"/></ScilabString><ScilabDouble height="1" width="6"><data column="0" line="0" realPart="600.0"/><data column="1" line="0" realPart="450.0"/><data column="2" line="0" realPart="0.0"/><data column="3" line="0" realPart="0.0"/><data column="4" line="0" realPart="600.0"/><data column="5" line="0" realPart="450.0"/></ScilabDouble><ScilabString height="1" width="1"><data column="0" line="0" value="Untitled"/></ScilabString><ScilabDouble height="7" width="1"><data column="0" line="0" realPart="1.0E-6"/><data column="0" line="1" realPart="1.0E-6"/><data column="0" line="2" realPart="1.0E-10"/><data column="0" line="3" realPart="100001.0"/><data column="0" line="4" realPart="0.0"/><data column="0" line="5" realPart="1.0"/><data column="0" line="6" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="100000.0"/></ScilabDouble><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><ScilabDouble height="0" width="0"/><Array scilabClass="ScilabTList"><ScilabString height="1" width="6"><data column="0" line="0" value="scsopt"/><data column="1" line="0" value="3D"/><data column="2" line="0" value="Background"/><data column="3" line="0" value="Link"/><data column="4" line="0" value="ID"/><data column="5" line="0" value="Cmap"/></ScilabString><Array scilabClass="ScilabList"><ScilabBoolean height="1" width="1"><data column="0" line="0" value="true"/></ScilabBoolean><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="33.0"/></ScilabDouble></Array><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="8.0"/><data column="1" line="0" realPart="1.0"/></ScilabDouble><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="1.0"/><data column="1" line="0" realPart="5.0"/></ScilabDouble><Array scilabClass="ScilabList"><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="5.0"/><data column="1" line="0" realPart="1.0"/></ScilabDouble><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="4.0"/><data column="1" line="0" realPart="1.0"/></ScilabDouble></Array><ScilabDouble height="1" width="3"><data column="0" line="0" realPart="0.8"/><data column="1" line="0" realPart="0.8"/><data column="2" line="0" realPart="0.8"/></ScilabDouble></Array><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><Array scilabClass="ScilabList"/></Array><Array scilabClass="ScilabList"><Array scilabClass="ScilabMList"><ScilabString height="1" width="5"><data column="0" line="0" value="Block"/><data column="1" line="0" value="graphics"/><data column="2" line="0" value="model"/><data column="3" line="0" value="gui"/><data column="4" line="0" value="doc"/></ScilabString><Array scilabClass="ScilabMList"><ScilabString height="1" width="19"><data column="0" line="0" value="graphics"/><data column="1" line="0" value="orig"/><data column="2" line="0" value="sz"/><data column="3" line="0" value="flip"/><data column="4" line="0" value="theta"/><data column="5" line="0" value="exprs"/><data column="6" line="0" value="pin"/><data column="7" line="0" value="pout"/><data column="8" line="0" value="pein"/><data column="9" line="0" value="peout"/><data column="10" line="0" value="gr_i"/><data column="11" line="0" value="id"/><data column="12" line="0" value="in_implicit"/><data column="13" line="0" value="out_implicit"/><data column="14" line="0" value="in_style"/><data column="15" line="0" value="out_style"/><data column="16" line="0" value="in_label"/><data column="17" line="0" value="out_label"/><data column="18" line="0" value="style"/></ScilabString><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="0.0"/><data column="1" line="0" realPart="-40.0"/></ScilabDouble><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="40.0"/><data column="1" line="0" realPart="40.0"/></ScilabDouble><ScilabBoolean height="1" width="1"><data column="0" line="0" value="true"/></ScilabBoolean><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabString height="3" width="1"><data column="0" line="0" value="0"/><data column="0" line="1" value="0"/><data column="0" line="2" value="1"/></ScilabString><ScilabDouble height="0" width="0"/><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="3.0"/></ScilabDouble><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="4.0"/></ScilabDouble><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="4.0"/></ScilabDouble><Array scilabClass="ScilabList"><ScilabString height="1" width="1"><data column="0" line="0" value="xstringb(orig(1),orig(2),"STEP",sz(1),sz(2));"/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="8.0"/></ScilabDouble></Array><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><ScilabDouble height="0" width="0"/><ScilabString height="1" width="1"><data column="0" line="0" value="E"/></ScilabString><ScilabDouble height="0" width="0"/><ScilabString height="1" width="1"><data column="0" line="0" value="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0"/></ScilabString><ScilabDouble height="0" width="0"/><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><ScilabString height="1" width="1"><data column="0" line="0" value="STEP"/></ScilabString></Array><Array scilabClass="ScilabMList"><ScilabString height="1" width="24"><data column="0" line="0" value="model"/><data column="1" line="0" value="sim"/><data column="2" line="0" value="in"/><data column="3" line="0" value="in2"/><data column="4" line="0" value="intyp"/><data column="5" line="0" value="out"/><data column="6" line="0" value="out2"/><data column="7" line="0" value="outtyp"/><data column="8" line="0" value="evtin"/><data column="9" line="0" value="evtout"/><data column="10" line="0" value="state"/><data column="11" line="0" value="dstate"/><data column="12" line="0" value="odstate"/><data column="13" line="0" value="rpar"/><data column="14" line="0" value="ipar"/><data column="15" line="0" value="opar"/><data column="16" line="0" value="blocktype"/><data column="17" line="0" value="firing"/><data column="18" line="0" value="dep_ut"/><data column="19" line="0" value="label"/><data column="20" line="0" value="nzcross"/><data column="21" line="0" value="nmode"/><data column="22" line="0" value="equations"/><data column="23" line="0" value="uid"/></ScilabString><Array scilabClass="ScilabList"><ScilabString height="1" width="1"><data column="0" line="0" value="step_func"/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="4.0"/></ScilabDouble></Array><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="1.0"/></ScilabDouble><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="1.0"/></ScilabDouble><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="1.0"/></ScilabDouble><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="-1.0"/></ScilabDouble><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="-1.0"/></ScilabDouble><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><Array scilabClass="ScilabList"/><ScilabDouble height="2" width="1"><data column="0" line="0" realPart="1.0"/><data column="0" line="1" realPart="1.0"/></ScilabDouble><ScilabDouble height="0" width="0"/><Array scilabClass="ScilabList"/><ScilabString height="1" width="1"><data column="0" line="0" value="c"/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabBoolean height="1" width="2"><data column="0" line="0" value="false"/><data column="1" line="0" value="false"/></ScilabBoolean><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array scilabClass="ScilabList"/><ScilabString height="1" width="1"><data column="0" line="0" value="-2dd55334:14dcbdd0183:-7ee6"/></ScilabString></Array><ScilabString height="1" width="1"><data column="0" line="0" value="STEP"/></ScilabString><Array scilabClass="ScilabList"><ScilabString height="1" width="1"><data column="0" line="0" value="-2dd55334:14dcbdd0183:-7ee6"/></ScilabString></Array></Array><Array scilabClass="ScilabMList"><ScilabString height="1" width="5"><data column="0" line="0" value="Block"/><data column="1" line="0" value="graphics"/><data column="2" line="0" value="model"/><data column="3" line="0" value="gui"/><data column="4" line="0" value="doc"/></ScilabString><Array scilabClass="ScilabMList"><ScilabString height="1" width="19"><data column="0" line="0" value="graphics"/><data column="1" line="0" value="orig"/><data column="2" line="0" value="sz"/><data column="3" line="0" value="flip"/><data column="4" line="0" value="theta"/><data column="5" line="0" value="exprs"/><data column="6" line="0" value="pin"/><data column="7" line="0" value="pout"/><data column="8" line="0" value="pein"/><data column="9" line="0" value="peout"/><data column="10" line="0" value="gr_i"/><data column="11" line="0" value="id"/><data column="12" line="0" value="in_implicit"/><data column="13" line="0" value="out_implicit"/><data column="14" line="0" value="in_style"/><data column="15" line="0" value="out_style"/><data column="16" line="0" value="in_label"/><data column="17" line="0" value="out_label"/><data column="18" line="0" value="style"/></ScilabString><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="1240.0"/><data column="1" line="0" realPart="-1190.0"/></ScilabDouble><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="20.0"/><data column="1" line="0" realPart="20.0"/></ScilabDouble><ScilabBoolean height="1" width="1"><data column="0" line="0" value="true"/></ScilabBoolean><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabString height="1" width="1"><data column="0" line="0" value="1"/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="3.0"/></ScilabDouble><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><Array scilabClass="ScilabList"><ScilabString height="1" width="1"><data column="0" line="0" value="xstringb(orig(1),orig(2),"OUT_f",sz(1),sz(2));"/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="8.0"/></ScilabDouble></Array><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><ScilabString height="1" width="1"><data column="0" line="0" value="E"/></ScilabString><ScilabDouble height="0" width="0"/><ScilabString height="1" width="1"><data column="0" line="0" value="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0"/></ScilabString><ScilabDouble height="0" width="0"/><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><ScilabDouble height="0" width="0"/><ScilabString height="1" width="1"><data column="0" line="0" value="OUT_f"/></ScilabString></Array><Array scilabClass="ScilabMList"><ScilabString height="1" width="24"><data column="0" line="0" value="model"/><data column="1" line="0" value="sim"/><data column="2" line="0" value="in"/><data column="3" line="0" value="in2"/><data column="4" line="0" value="intyp"/><data column="5" line="0" value="out"/><data column="6" line="0" value="out2"/><data column="7" line="0" value="outtyp"/><data column="8" line="0" value="evtin"/><data column="9" line="0" value="evtout"/><data column="10" line="0" value="state"/><data column="11" line="0" value="dstate"/><data column="12" line="0" value="odstate"/><data column="13" line="0" value="rpar"/><data column="14" line="0" value="ipar"/><data column="15" line="0" value="opar"/><data column="16" line="0" value="blocktype"/><data column="17" line="0" value="firing"/><data column="18" line="0" value="dep_ut"/><data column="19" line="0" value="label"/><data column="20" line="0" value="nzcross"/><data column="21" line="0" value="nmode"/><data column="22" line="0" value="equations"/><data column="23" line="0" value="uid"/></ScilabString><ScilabString height="1" width="1"><data column="0" line="0" value="output"/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="-1.0"/></ScilabDouble><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="-2.0"/></ScilabDouble><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="-1.0"/></ScilabDouble><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><Array scilabClass="ScilabList"/><ScilabDouble height="0" width="0"/><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="1.0"/></ScilabDouble><Array scilabClass="ScilabList"/><ScilabString height="1" width="1"><data column="0" line="0" value="c"/></ScilabString><ScilabDouble height="0" width="0"/><ScilabBoolean height="1" width="2"><data column="0" line="0" value="false"/><data column="1" line="0" value="false"/></ScilabBoolean><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array scilabClass="ScilabList"/><ScilabString height="1" width="1"><data column="0" line="0" value="-2dd55334:14dcbdd0183:-7ee2"/></ScilabString></Array><ScilabString height="1" width="1"><data column="0" line="0" value="OUT_f"/></ScilabString><Array scilabClass="ScilabList"><ScilabString height="1" width="1"><data column="0" line="0" value="-2dd55334:14dcbdd0183:-7ee2"/></ScilabString></Array></Array><Array scilabClass="ScilabMList"><ScilabString height="1" width="8"><data column="0" line="0" value="Link"/><data column="1" line="0" value="xx"/><data column="2" line="0" value="yy"/><data column="3" line="0" value="id"/><data column="4" line="0" value="thick"/><data column="5" line="0" value="ct"/><data column="6" line="0" value="from"/><data column="7" line="0" value="to"/></ScilabString><ScilabDouble height="2" width="1"><data column="0" line="0" realPart="84.0"/><data column="0" line="1" realPart="1256.0"/></ScilabDouble><ScilabDouble height="2" width="1"><data column="0" line="0" realPart="-20.0"/><data column="0" line="1" realPart="-1180.0"/></ScilabDouble><ScilabString height="1" width="1"><data column="0" line="0" value="drawlink"/></ScilabString><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="0.0"/><data column="1" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="1.0"/><data column="1" line="0" realPart="1.0"/></ScilabDouble><ScilabDouble height="1" width="3"><data column="0" line="0" realPart="1.0"/><data column="1" line="0" realPart="1.0"/><data column="2" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="3"><data column="0" line="0" realPart="2.0"/><data column="1" line="0" realPart="1.0"/><data column="2" line="0" realPart="1.0"/></ScilabDouble></Array><Array scilabClass="ScilabMList"><ScilabString height="1" width="8"><data column="0" line="0" value="Link"/><data column="1" line="0" value="xx"/><data column="2" line="0" value="yy"/><data column="3" line="0" value="id"/><data column="4" line="0" value="thick"/><data column="5" line="0" value="ct"/><data column="6" line="0" value="from"/><data column="7" line="0" value="to"/></ScilabString><ScilabDouble height="6" width="1"><data column="0" line="0" realPart="60.0"/><data column="0" line="1" realPart="2340.0"/><data column="0" line="2" realPart="2300.0"/><data column="0" line="3" realPart="2300.0"/><data column="0" line="4" realPart="2340.0"/><data column="0" line="5" realPart="60.0"/></ScilabDouble><ScilabDouble height="6" width="1"><data column="0" line="0" realPart="-44.0"/><data column="0" line="1" realPart="-2380.0"/><data column="0" line="2" realPart="-2380.0"/><data column="0" line="3" realPart="-2300.0"/><data column="0" line="4" realPart="-2300.0"/><data column="0" line="5" realPart="4.0"/></ScilabDouble><ScilabString height="1" width="1"><data column="0" line="0" value="drawlink"/></ScilabString><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="0.0"/><data column="1" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="5.0"/><data column="1" line="0" realPart="-1.0"/></ScilabDouble><ScilabDouble height="1" width="3"><data column="0" line="0" realPart="1.0"/><data column="1" line="0" realPart="1.0"/><data column="2" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="3"><data column="0" line="0" realPart="1.0"/><data column="1" line="0" realPart="1.0"/><data column="2" line="0" realPart="1.0"/></ScilabDouble></Array></Array><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><Array scilabClass="ScilabList"/></Array><ScilabDouble as="integerParameters" height="0" width="0"/><Array as="objectsParameters" scilabClass="ScilabList"/><ScilabDouble as="nbZerosCrossing" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="nmode" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array as="oDState" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="40.0" width="40.0" x="50.0" y="100.0"/></BasicBlock><ExplicitOutputPort dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7ec7" ordering="1" parent="-2dd55334:14dcbdd0183:-7eeb" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="40.0" y="16.0"/></ExplicitOutputPort><BasicBlock dependsOnT="1" dependsOnU="1" id="-2dd55334:14dcbdd0183:-7fb6" interfaceFunctionName="CLR" ordering="7" parent="-2dd55334:14dcbdd0183:-7fd3" simulationFunctionName="csslti4" simulationFunctionType="C_OR_FORTRAN" style="CLR;flip=false;mirror=false"><ScilabString as="exprs" height="2" width="1"><data column="0" line="0" value="1+0.5*s"/><data column="0" line="1" value="1+0.1*s"/></ScilabString><ScilabDouble as="realParameters" height="4" width="1"><data column="0" line="0" realPart="-10.0"/><data column="0" line="1" realPart="1.0"/><data column="0" line="2" realPart="-40.0"/><data column="0" line="3" realPart="5.0"/></ScilabDouble><ScilabDouble as="integerParameters" height="0" width="0"/><Array as="objectsParameters" scilabClass="ScilabList"/><ScilabDouble as="nbZerosCrossing" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="nmode" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="state" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array as="oDState" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="60.0" width="90.0" x="370.0" y="100.0"/></BasicBlock><ExplicitInputPort dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7fa9" ordering="1" parent="-2dd55334:14dcbdd0183:-7fb6" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="26.0"/></ExplicitInputPort><ExplicitOutputPort dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7fa8" ordering="1" parent="-2dd55334:14dcbdd0183:-7fb6" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="90.0" y="26.0"/></ExplicitOutputPort><ExplicitLink id="-2dd55334:14dcbdd0183:-7e87" parent="-2dd55334:14dcbdd0183:-7fd3" source="-2dd55334:14dcbdd0183:-7e7f" target="-2dd55334:14dcbdd0183:-7f91"><mxGeometry as="geometry" x="190.0" y="30.0"/></ExplicitLink><ExplicitLink id="-2dd55334:14dcbdd0183:-7e82" parent="-2dd55334:14dcbdd0183:-7fd3" source="-2dd55334:14dcbdd0183:-7fa8" target="-2dd55334:14dcbdd0183:-7e80"><mxGeometry as="geometry" x="190.0" y="30.0"/></ExplicitLink><BasicBlock blockType="h" id="-2dd55334:14dcbdd0183:-7e6e" interfaceFunctionName="CLOCK_c" ordering="8" parent="-2dd55334:14dcbdd0183:-7fd3" simulationFunctionName="csuper" simulationFunctionType="DEFAULT" style="CLOCK_c;flip=true;mirror=false"><ScilabDouble as="exprs" height="0" width="0"/><Array as="realParameters" scilabClass="ScilabMList"><ScilabString height="1" width="5"><data column="0" line="0" value="diagram"/><data column="1" line="0" value="props"/><data column="2" line="0" value="objs"/><data column="3" line="0" value="version"/><data column="4" line="0" value="contrib"/></ScilabString><Array scilabClass="ScilabTList"><ScilabString height="1" width="11"><data column="0" line="0" value="params"/><data column="1" line="0" value="wpar"/><data column="2" line="0" value="title"/><data column="3" line="0" value="tol"/><data column="4" line="0" value="tf"/><data column="5" line="0" value="context"/><data column="6" line="0" value="void1"/><data column="7" line="0" value="options"/><data column="8" line="0" value="void2"/><data column="9" line="0" value="void3"/><data column="10" line="0" value="doc"/></ScilabString><ScilabDouble height="1" width="6"><data column="0" line="0" realPart="600.0"/><data column="1" line="0" realPart="450.0"/><data column="2" line="0" realPart="0.0"/><data column="3" line="0" realPart="0.0"/><data column="4" line="0" realPart="600.0"/><data column="5" line="0" realPart="450.0"/></ScilabDouble><ScilabString height="1" width="1"><data column="0" line="0" value="Untitled"/></ScilabString><ScilabDouble height="7" width="1"><data column="0" line="0" realPart="1.0E-6"/><data column="0" line="1" realPart="1.0E-6"/><data column="0" line="2" realPart="1.0E-10"/><data column="0" line="3" realPart="100001.0"/><data column="0" line="4" realPart="0.0"/><data column="0" line="5" realPart="1.0"/><data column="0" line="6" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="100000.0"/></ScilabDouble><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><ScilabDouble height="0" width="0"/><Array scilabClass="ScilabTList"><ScilabString height="1" width="6"><data column="0" line="0" value="scsopt"/><data column="1" line="0" value="3D"/><data column="2" line="0" value="Background"/><data column="3" line="0" value="Link"/><data column="4" line="0" value="ID"/><data column="5" line="0" value="Cmap"/></ScilabString><Array scilabClass="ScilabList"><ScilabBoolean height="1" width="1"><data column="0" line="0" value="true"/></ScilabBoolean><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="33.0"/></ScilabDouble></Array><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="8.0"/><data column="1" line="0" realPart="1.0"/></ScilabDouble><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="1.0"/><data column="1" line="0" realPart="5.0"/></ScilabDouble><Array scilabClass="ScilabList"><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="5.0"/><data column="1" line="0" realPart="1.0"/></ScilabDouble><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="4.0"/><data column="1" line="0" realPart="1.0"/></ScilabDouble></Array><ScilabDouble height="1" width="3"><data column="0" line="0" realPart="0.8"/><data column="1" line="0" realPart="0.8"/><data column="2" line="0" realPart="0.8"/></ScilabDouble></Array><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><Array scilabClass="ScilabList"/></Array><Array scilabClass="ScilabList"><Array scilabClass="ScilabMList"><ScilabString height="1" width="5"><data column="0" line="0" value="Block"/><data column="1" line="0" value="graphics"/><data column="2" line="0" value="model"/><data column="3" line="0" value="gui"/><data column="4" line="0" value="doc"/></ScilabString><Array scilabClass="ScilabMList"><ScilabString height="1" width="19"><data column="0" line="0" value="graphics"/><data column="1" line="0" value="orig"/><data column="2" line="0" value="sz"/><data column="3" line="0" value="flip"/><data column="4" line="0" value="theta"/><data column="5" line="0" value="exprs"/><data column="6" line="0" value="pin"/><data column="7" line="0" value="pout"/><data column="8" line="0" value="pein"/><data column="9" line="0" value="peout"/><data column="10" line="0" value="gr_i"/><data column="11" line="0" value="id"/><data column="12" line="0" value="in_implicit"/><data column="13" line="0" value="out_implicit"/><data column="14" line="0" value="in_style"/><data column="15" line="0" value="out_style"/><data column="16" line="0" value="in_label"/><data column="17" line="0" value="out_label"/><data column="18" line="0" value="style"/></ScilabString><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="1579.0"/><data column="1" line="0" realPart="-1610.0"/></ScilabDouble><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="20.0"/><data column="1" line="0" realPart="20.0"/></ScilabDouble><ScilabBoolean height="1" width="1"><data column="0" line="0" value="true"/></ScilabBoolean><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabString height="1" width="1"><data column="0" line="0" value="1"/></ScilabString><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="5.0"/></ScilabDouble><ScilabDouble height="0" width="0"/><Array scilabClass="ScilabList"><ScilabString height="1" width="1"><data column="0" line="0" value="xstringb(orig(1),orig(2),"CLKOUT_f",sz(1),sz(2));"/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="8.0"/></ScilabDouble></Array><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabString height="1" width="1"><data column="0" line="0" value="CLKOUT_f"/></ScilabString></Array><Array scilabClass="ScilabMList"><ScilabString height="1" width="24"><data column="0" line="0" value="model"/><data column="1" line="0" value="sim"/><data column="2" line="0" value="in"/><data column="3" line="0" value="in2"/><data column="4" line="0" value="intyp"/><data column="5" line="0" value="out"/><data column="6" line="0" value="out2"/><data column="7" line="0" value="outtyp"/><data column="8" line="0" value="evtin"/><data column="9" line="0" value="evtout"/><data column="10" line="0" value="state"/><data column="11" line="0" value="dstate"/><data column="12" line="0" value="odstate"/><data column="13" line="0" value="rpar"/><data column="14" line="0" value="ipar"/><data column="15" line="0" value="opar"/><data column="16" line="0" value="blocktype"/><data column="17" line="0" value="firing"/><data column="18" line="0" value="dep_ut"/><data column="19" line="0" value="label"/><data column="20" line="0" value="nzcross"/><data column="21" line="0" value="nmode"/><data column="22" line="0" value="equations"/><data column="23" line="0" value="uid"/></ScilabString><ScilabString height="1" width="1"><data column="0" line="0" value="output"/></ScilabString><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="-1.0"/></ScilabDouble><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><Array scilabClass="ScilabList"/><ScilabDouble height="0" width="0"/><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="1.0"/></ScilabDouble><Array scilabClass="ScilabList"/><ScilabString height="1" width="1"><data column="0" line="0" value="d"/></ScilabString><ScilabDouble height="0" width="0"/><ScilabBoolean height="1" width="2"><data column="0" line="0" value="false"/><data column="1" line="0" value="false"/></ScilabBoolean><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array scilabClass="ScilabList"/><ScilabString height="1" width="1"><data column="0" line="0" value="-2dd55334:14dcbdd0183:-7e5e"/></ScilabString></Array><ScilabString height="1" width="1"><data column="0" line="0" value="CLKOUT_f"/></ScilabString><Array scilabClass="ScilabList"><ScilabString height="1" width="1"><data column="0" line="0" value="-2dd55334:14dcbdd0183:-7e5e"/></ScilabString></Array></Array><Array scilabClass="ScilabMList"><ScilabString height="1" width="5"><data column="0" line="0" value="Block"/><data column="1" line="0" value="graphics"/><data column="2" line="0" value="model"/><data column="3" line="0" value="gui"/><data column="4" line="0" value="doc"/></ScilabString><Array scilabClass="ScilabMList"><ScilabString height="1" width="19"><data column="0" line="0" value="graphics"/><data column="1" line="0" value="orig"/><data column="2" line="0" value="sz"/><data column="3" line="0" value="flip"/><data column="4" line="0" value="theta"/><data column="5" line="0" value="exprs"/><data column="6" line="0" value="pin"/><data column="7" line="0" value="pout"/><data column="8" line="0" value="pein"/><data column="9" line="0" value="peout"/><data column="10" line="0" value="gr_i"/><data column="11" line="0" value="id"/><data column="12" line="0" value="in_implicit"/><data column="13" line="0" value="out_implicit"/><data column="14" line="0" value="in_style"/><data column="15" line="0" value="out_style"/><data column="16" line="0" value="in_label"/><data column="17" line="0" value="out_label"/><data column="18" line="0" value="style"/></ScilabString><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="0.0"/><data column="1" line="0" realPart="-40.0"/></ScilabDouble><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="40.0"/><data column="1" line="0" realPart="40.0"/></ScilabDouble><ScilabBoolean height="1" width="1"><data column="0" line="0" value="true"/></ScilabBoolean><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabString height="2" width="1"><data column="0" line="0" value="Ts"/><data column="0" line="1" value="0"/></ScilabString><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="6.0"/></ScilabDouble><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="4.0"/></ScilabDouble><Array scilabClass="ScilabList"><ScilabString height="1" width="1"><data column="0" line="0" value="xstringb(orig(1),orig(2),"EVTDLY_c",sz(1),sz(2));"/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="8.0"/></ScilabDouble></Array><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabString height="1" width="1"><data column="0" line="0" value="EVTDLY_c"/></ScilabString></Array><Array scilabClass="ScilabMList"><ScilabString height="1" width="24"><data column="0" line="0" value="model"/><data column="1" line="0" value="sim"/><data column="2" line="0" value="in"/><data column="3" line="0" value="in2"/><data column="4" line="0" value="intyp"/><data column="5" line="0" value="out"/><data column="6" line="0" value="out2"/><data column="7" line="0" value="outtyp"/><data column="8" line="0" value="evtin"/><data column="9" line="0" value="evtout"/><data column="10" line="0" value="state"/><data column="11" line="0" value="dstate"/><data column="12" line="0" value="odstate"/><data column="13" line="0" value="rpar"/><data column="14" line="0" value="ipar"/><data column="15" line="0" value="opar"/><data column="16" line="0" value="blocktype"/><data column="17" line="0" value="firing"/><data column="18" line="0" value="dep_ut"/><data column="19" line="0" value="label"/><data column="20" line="0" value="nzcross"/><data column="21" line="0" value="nmode"/><data column="22" line="0" value="equations"/><data column="23" line="0" value="uid"/></ScilabString><Array scilabClass="ScilabList"><ScilabString height="1" width="1"><data column="0" line="0" value="evtdly4"/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="4.0"/></ScilabDouble></Array><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="-1.0"/></ScilabDouble><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="-1.0"/></ScilabDouble><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><Array scilabClass="ScilabList"/><ScilabDouble height="2" width="1"><data column="0" line="0" realPart="0.0050"/><data column="0" line="1" realPart="0.0"/></ScilabDouble><ScilabDouble height="0" width="0"/><Array scilabClass="ScilabList"/><ScilabString height="1" width="1"><data column="0" line="0" value="d"/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabBoolean height="1" width="2"><data column="0" line="0" value="false"/><data column="1" line="0" value="false"/></ScilabBoolean><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array scilabClass="ScilabList"/><ScilabString height="1" width="1"><data column="0" line="0" value="-2dd55334:14dcbdd0183:-7e5c"/></ScilabString></Array><ScilabString height="1" width="1"><data column="0" line="0" value="EVTDLY_c"/></ScilabString><Array scilabClass="ScilabList"><ScilabString height="1" width="1"><data column="0" line="0" value="-2dd55334:14dcbdd0183:-7e5c"/></ScilabString></Array></Array><Array scilabClass="ScilabMList"><ScilabString height="1" width="5"><data column="0" line="0" value="Block"/><data column="1" line="0" value="graphics"/><data column="2" line="0" value="model"/><data column="3" line="0" value="gui"/><data column="4" line="0" value="doc"/></ScilabString><Array scilabClass="ScilabMList"><ScilabString height="1" width="19"><data column="0" line="0" value="graphics"/><data column="1" line="0" value="orig"/><data column="2" line="0" value="sz"/><data column="3" line="0" value="flip"/><data column="4" line="0" value="theta"/><data column="5" line="0" value="exprs"/><data column="6" line="0" value="pin"/><data column="7" line="0" value="pout"/><data column="8" line="0" value="pein"/><data column="9" line="0" value="peout"/><data column="10" line="0" value="gr_i"/><data column="11" line="0" value="id"/><data column="12" line="0" value="in_implicit"/><data column="13" line="0" value="out_implicit"/><data column="14" line="0" value="in_style"/><data column="15" line="0" value="out_style"/><data column="16" line="0" value="in_label"/><data column="17" line="0" value="out_label"/><data column="18" line="0" value="style"/></ScilabString><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="2532.3773266666667"/><data column="1" line="0" realPart="-2578.333333333333"/></ScilabDouble><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="7.0"/><data column="1" line="0" realPart="7.0"/></ScilabDouble><ScilabBoolean height="1" width="1"><data column="0" line="0" value="true"/></ScilabBoolean><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="4.0"/></ScilabDouble><ScilabDouble height="2" width="1"><data column="0" line="0" realPart="5.0"/><data column="0" line="1" realPart="6.0"/></ScilabDouble><Array scilabClass="ScilabList"><ScilabString height="1" width="1"><data column="0" line="0" value="xstringb(orig(1),orig(2),"CLKSPLIT_f",sz(1),sz(2));"/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="8.0"/></ScilabDouble></Array><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabString height="1" width="1"><data column="0" line="0" value="CLKSPLIT_f"/></ScilabString></Array><Array scilabClass="ScilabMList"><ScilabString height="1" width="24"><data column="0" line="0" value="model"/><data column="1" line="0" value="sim"/><data column="2" line="0" value="in"/><data column="3" line="0" value="in2"/><data column="4" line="0" value="intyp"/><data column="5" line="0" value="out"/><data column="6" line="0" value="out2"/><data column="7" line="0" value="outtyp"/><data column="8" line="0" value="evtin"/><data column="9" line="0" value="evtout"/><data column="10" line="0" value="state"/><data column="11" line="0" value="dstate"/><data column="12" line="0" value="odstate"/><data column="13" line="0" value="rpar"/><data column="14" line="0" value="ipar"/><data column="15" line="0" value="opar"/><data column="16" line="0" value="blocktype"/><data column="17" line="0" value="firing"/><data column="18" line="0" value="dep_ut"/><data column="19" line="0" value="label"/><data column="20" line="0" value="nzcross"/><data column="21" line="0" value="nmode"/><data column="22" line="0" value="equations"/><data column="23" line="0" value="uid"/></ScilabString><ScilabString height="1" width="1"><data column="0" line="0" value="split"/></ScilabString><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="-1.0"/></ScilabDouble><ScilabDouble height="2" width="1"><data column="0" line="0" realPart="-1.0"/><data column="0" line="1" realPart="-1.0"/></ScilabDouble><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><Array scilabClass="ScilabList"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><Array scilabClass="ScilabList"/><ScilabString height="1" width="1"><data column="0" line="0" value="d"/></ScilabString><ScilabDouble height="2" width="1"><data column="0" line="0" realPart="-1.0"/><data column="0" line="1" realPart="-1.0"/></ScilabDouble><ScilabBoolean height="1" width="2"><data column="0" line="0" value="false"/><data column="1" line="0" value="false"/></ScilabBoolean><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array scilabClass="ScilabList"/><ScilabString height="1" width="1"><data column="0" line="0" value="-2dd55334:14dcbdd0183:-7e59"/></ScilabString></Array><ScilabString height="1" width="1"><data column="0" line="0" value="CLKSPLIT_f"/></ScilabString><Array scilabClass="ScilabList"><ScilabString height="1" width="1"><data column="0" line="0" value="-2dd55334:14dcbdd0183:-7e59"/></ScilabString></Array></Array><Array scilabClass="ScilabMList"><ScilabString height="1" width="8"><data column="0" line="0" value="Link"/><data column="1" line="0" value="xx"/><data column="2" line="0" value="yy"/><data column="3" line="0" value="id"/><data column="4" line="0" value="thick"/><data column="5" line="0" value="ct"/><data column="6" line="0" value="from"/><data column="7" line="0" value="to"/></ScilabString><ScilabDouble height="3" width="1"><data column="0" line="0" realPart="60.0"/><data column="0" line="1" realPart="3020.0"/><data column="0" line="2" realPart="2542.8773266666667"/></ScilabDouble><ScilabDouble height="3" width="1"><data column="0" line="0" realPart="-44.0"/><data column="0" line="1" realPart="-3100.0"/><data column="0" line="2" realPart="-2567.333333333333"/></ScilabDouble><ScilabString height="1" width="1"><data column="0" line="0" value="drawlink"/></ScilabString><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="0.0"/><data column="1" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="5.0"/><data column="1" line="0" realPart="-1.0"/></ScilabDouble><ScilabDouble height="1" width="3"><data column="0" line="0" realPart="2.0"/><data column="1" line="0" realPart="1.0"/><data column="2" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="3"><data column="0" line="0" realPart="3.0"/><data column="1" line="0" realPart="1.0"/><data column="2" line="0" realPart="1.0"/></ScilabDouble></Array><Array scilabClass="ScilabMList"><ScilabString height="1" width="8"><data column="0" line="0" value="Link"/><data column="1" line="0" value="xx"/><data column="2" line="0" value="yy"/><data column="3" line="0" value="id"/><data column="4" line="0" value="thick"/><data column="5" line="0" value="ct"/><data column="6" line="0" value="from"/><data column="7" line="0" value="to"/></ScilabString><ScilabDouble height="2" width="1"><data column="0" line="0" realPart="2541.71066"/><data column="0" line="1" realPart="1609.0"/></ScilabDouble><ScilabDouble height="2" width="1"><data column="0" line="0" realPart="-2582.333333333333"/><data column="0" line="1" realPart="-1586.0"/></ScilabDouble><ScilabString height="1" width="1"><data column="0" line="0" value="drawlink"/></ScilabString><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="0.0"/><data column="1" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="5.0"/><data column="1" line="0" realPart="-1.0"/></ScilabDouble><ScilabDouble height="1" width="3"><data column="0" line="0" realPart="3.0"/><data column="1" line="0" realPart="1.0"/><data column="2" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="3"><data column="0" line="0" realPart="1.0"/><data column="1" line="0" realPart="1.0"/><data column="2" line="0" realPart="1.0"/></ScilabDouble></Array><Array scilabClass="ScilabMList"><ScilabString height="1" width="8"><data column="0" line="0" value="Link"/><data column="1" line="0" value="xx"/><data column="2" line="0" value="yy"/><data column="3" line="0" value="id"/><data column="4" line="0" value="thick"/><data column="5" line="0" value="ct"/><data column="6" line="0" value="from"/><data column="7" line="0" value="to"/></ScilabString><ScilabDouble height="4" width="1"><data column="0" line="0" realPart="2544.043993333333"/><data column="0" line="1" realPart="3060.71"/><data column="0" line="2" realPart="3020.0"/><data column="0" line="3" realPart="60.0"/></ScilabDouble><ScilabDouble height="4" width="1"><data column="0" line="0" realPart="-2582.333333333333"/><data column="0" line="1" realPart="-2970.0"/><data column="0" line="2" realPart="-2970.0"/><data column="0" line="3" realPart="4.0"/></ScilabDouble><ScilabString height="1" width="1"><data column="0" line="0" value="drawlink"/></ScilabString><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="0.0"/><data column="1" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="5.0"/><data column="1" line="0" realPart="-1.0"/></ScilabDouble><ScilabDouble height="1" width="3"><data column="0" line="0" realPart="3.0"/><data column="1" line="0" realPart="2.0"/><data column="2" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="3"><data column="0" line="0" realPart="2.0"/><data column="1" line="0" realPart="1.0"/><data column="2" line="0" realPart="1.0"/></ScilabDouble></Array></Array><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><Array scilabClass="ScilabList"/></Array><ScilabDouble as="integerParameters" height="0" width="0"/><Array as="objectsParameters" scilabClass="ScilabList"/><ScilabDouble as="nbZerosCrossing" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="nmode" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array as="oDState" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="40.0" width="40.0" x="910.0" y="140.0"/></BasicBlock><CommandPort dataType="UNKNOW_TYPE" id="-6c44cd7c:14e334d52c6:-6f59" ordering="1" parent="-2dd55334:14dcbdd0183:-7e6e" style="CommandPort;align=center;verticalAlign=top;spacing=10.0;rotation=270;flip=false;mirror=false"><mxGeometry as="geometry" height="8.0" width="8.0" x="16.0" y="-8.0"/></CommandPort><mxCell connectable="0" id="-2dd55334:14dcbdd0183:-7e6e#identifier" parent="-2dd55334:14dcbdd0183:-7e6e" style="noLabel=0;opacity=0" value=" Period=Ts" vertex="1"><mxGeometry as="geometry" relative="1" x="0.5" y="1.1"/></mxCell><BasicBlock dependsOnT="1" id="-2dd55334:14dcbdd0183:-7dcc" interfaceFunctionName="CLR" ordering="9" parent="-2dd55334:14dcbdd0183:-7fd3" simulationFunctionName="csslti4" simulationFunctionType="C_OR_FORTRAN" style="CLR;flip=false;mirror=false"><ScilabString as="exprs" height="2" width="1"><data column="0" line="0" value="1"/><data column="0" line="1" value="s"/></ScilabString><ScilabDouble as="realParameters" height="4" width="1"><data column="0" line="0" realPart="-0.0"/><data column="0" line="1" realPart="1.0"/><data column="0" line="2" realPart="1.0"/><data column="0" line="3" realPart="0.0"/></ScilabDouble><ScilabDouble as="integerParameters" height="0" width="0"/><Array as="objectsParameters" scilabClass="ScilabList"/><ScilabDouble as="nbZerosCrossing" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="nmode" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="state" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array as="oDState" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="40.0" width="60.0" x="600.0" y="290.0"/></BasicBlock><ExplicitInputPort dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7dcb" ordering="1" parent="-2dd55334:14dcbdd0183:-7dcc" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="16.0"/></ExplicitInputPort><ExplicitOutputPort dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7dca" ordering="1" parent="-2dd55334:14dcbdd0183:-7dcc" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="60.0" y="16.0"/></ExplicitOutputPort><BasicBlock dependsOnT="1" id="-2dd55334:14dcbdd0183:-7dc9" interfaceFunctionName="CLR" ordering="10" parent="-2dd55334:14dcbdd0183:-7fd3" simulationFunctionName="csslti4" simulationFunctionType="C_OR_FORTRAN" style="CLR;flip=false;mirror=false"><ScilabString as="exprs" height="2" width="1"><data column="0" line="0" value="1"/><data column="0" line="1" value="1+s"/></ScilabString><ScilabDouble as="realParameters" height="4" width="1"><data column="0" line="0" realPart="-1.0"/><data column="0" line="1" realPart="1.0"/><data column="0" line="2" realPart="1.0"/><data column="0" line="3" realPart="0.0"/></ScilabDouble><ScilabDouble as="integerParameters" height="0" width="0"/><Array as="objectsParameters" scilabClass="ScilabList"/><ScilabDouble as="nbZerosCrossing" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="nmode" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="state" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array as="oDState" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="40.0" width="60.0" x="700.0" y="290.0"/></BasicBlock><ExplicitInputPort dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7dc8" ordering="1" parent="-2dd55334:14dcbdd0183:-7dc9" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="16.0"/></ExplicitInputPort><ExplicitOutputPort dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7dc7" ordering="1" parent="-2dd55334:14dcbdd0183:-7dc9" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="60.0" y="16.0"/></ExplicitOutputPort><BasicBlock dependsOnU="1" id="-2dd55334:14dcbdd0183:-7dc6" interfaceFunctionName="GAINBLK" ordering="11" parent="-2dd55334:14dcbdd0183:-7fd3" simulationFunctionName="gainblk" simulationFunctionType="C_OR_FORTRAN" style="GAINBLK;flip=false;mirror=false"><ScilabString as="exprs" height="2" width="1"><data column="0" line="0" value="10"/><data column="0" line="1" value="0"/></ScilabString><ScilabDouble as="realParameters" height="1" width="1"><data column="0" line="0" realPart="10.0"/></ScilabDouble><ScilabDouble as="integerParameters" height="0" width="0"/><Array as="objectsParameters" scilabClass="ScilabList"/><ScilabDouble as="nbZerosCrossing" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="nmode" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array as="oDState" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="40.0" width="40.0" x="520.0" y="290.0"/></BasicBlock><ExplicitInputPort dataType="REAL_MATRIX" id="-6c44cd7c:14e334d52c6:-68d2" ordering="1" parent="-2dd55334:14dcbdd0183:-7dc6" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="16.0"/></ExplicitInputPort><ExplicitOutputPort dataType="REAL_MATRIX" id="-6c44cd7c:14e334d52c6:-68d1" ordering="1" parent="-2dd55334:14dcbdd0183:-7dc6" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="40.0" y="16.0"/></ExplicitOutputPort><ExplicitLink id="-2dd55334:14dcbdd0183:-7dc3" parent="-2dd55334:14dcbdd0183:-7fd3" source="-2dd55334:14dcbdd0183:-7dca" target="-2dd55334:14dcbdd0183:-7dc8"><mxGeometry as="geometry" x="240.0" y="210.0"/></ExplicitLink><Summation dependsOnU="1" id="-2dd55334:14dcbdd0183:-7dc2" interfaceFunctionName="SUMMATION" ordering="12" parent="-2dd55334:14dcbdd0183:-7fd3" simulationFunctionName="summation" simulationFunctionType="C_OR_FORTRAN" style="SUMMATION;flip=false;mirror=false" value="+"><ScilabString as="exprs" height="1" width="1"><data column="0" line="0" value="[1;-1]"/></ScilabString><ScilabDouble as="realParameters" height="0" width="0"/><ScilabDouble as="integerParameters" height="2" width="1"><data column="0" line="0" realPart="1.0"/><data column="0" line="1" realPart="-1.0"/></ScilabDouble><Array as="objectsParameters" scilabClass="ScilabList"/><ScilabDouble as="nbZerosCrossing" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="nmode" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array as="oDState" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="60.0" width="40.0" x="300.0" y="280.0"/></Summation><ExplicitInputPort dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7dc1" ordering="1" parent="-2dd55334:14dcbdd0183:-7dc2" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value="+"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="16.0"/></ExplicitInputPort><ExplicitInputPort dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7dc0" ordering="2" parent="-2dd55334:14dcbdd0183:-7dc2" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value="-"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="36.0"/></ExplicitInputPort><ExplicitOutputPort dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7dbf" ordering="1" parent="-2dd55334:14dcbdd0183:-7dc2" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="40.0" y="26.0"/></ExplicitOutputPort><ExplicitLink id="-2dd55334:14dcbdd0183:-7db4" parent="-2dd55334:14dcbdd0183:-7fd3" source="-6c44cd7c:14e334d52c6:-68d1" target="-2dd55334:14dcbdd0183:-7dcb"><mxGeometry as="geometry" x="190.0" y="210.0"/></ExplicitLink><BasicBlock blockType="d" dependsOnU="1" id="-2dd55334:14dcbdd0183:-7d7c" interfaceFunctionName="DLR" ordering="13" parent="-2dd55334:14dcbdd0183:-7fd3" simulationFunctionName="dsslti4" simulationFunctionType="C_OR_FORTRAN" style="DLR;flip=false;mirror=false"><ScilabString as="exprs" height="2" width="1"><data column="0" line="0" value="-3.8+4.2*z"/><data column="0" line="1" value="-0.6+z"/></ScilabString><ScilabDouble as="realParameters" height="4" width="1"><data column="0" line="0" realPart="0.6"/><data column="0" line="1" realPart="1.0"/><data column="0" line="2" realPart="-1.2799999999999998"/><data column="0" line="3" realPart="4.2"/></ScilabDouble><ScilabDouble as="integerParameters" height="0" width="0"/><Array as="objectsParameters" scilabClass="ScilabList"/><ScilabDouble as="nbZerosCrossing" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="nmode" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="dState" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array as="oDState" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="50.0" width="110.0" x="380.0" y="290.0"/></BasicBlock><ExplicitInputPort dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-6c44cd7c:14e334d52c6:-7308" ordering="1" parent="-2dd55334:14dcbdd0183:-7d7c" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="16.0"/></ExplicitInputPort><ExplicitOutputPort dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-6c44cd7c:14e334d52c6:-7307" ordering="1" parent="-2dd55334:14dcbdd0183:-7d7c" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="110.0" y="16.0"/></ExplicitOutputPort><ControlPort dataType="UNKNOW_TYPE" id="-6c44cd7c:14e334d52c6:-7306" ordering="1" parent="-2dd55334:14dcbdd0183:-7d7c" style="ControlPort;align=center;verticalAlign=top;spacing=10.0;rotation=90;flip=false;mirror=false"><mxGeometry as="geometry" height="8.0" width="8.0" x="56.0" y="-8.0"/></ControlPort><ExplicitLink id="-2dd55334:14dcbdd0183:-7d5c" parent="-2dd55334:14dcbdd0183:-7fd3" source="-6c44cd7c:14e334d52c6:-7307" target="-6c44cd7c:14e334d52c6:-68d2"><mxGeometry as="geometry" x="190.0" y="80.0"><Array as="points" scilabClass="ScilabList"><mxPoint x="510.0" y="310.0"/></Array></mxGeometry></ExplicitLink><BasicBlock blockType="h" id="-2dd55334:14dcbdd0183:-7d59" interfaceFunctionName="CLOCK_c" ordering="14" parent="-2dd55334:14dcbdd0183:-7fd3" simulationFunctionName="csuper" simulationFunctionType="DEFAULT" style="CLOCK_c;flip=false;mirror=false"><ScilabDouble as="exprs" height="0" width="0"/><Array as="realParameters" scilabClass="ScilabMList"><ScilabString height="1" width="5"><data column="0" line="0" value="diagram"/><data column="1" line="0" value="props"/><data column="2" line="0" value="objs"/><data column="3" line="0" value="version"/><data column="4" line="0" value="contrib"/></ScilabString><Array scilabClass="ScilabTList"><ScilabString height="1" width="11"><data column="0" line="0" value="params"/><data column="1" line="0" value="wpar"/><data column="2" line="0" value="title"/><data column="3" line="0" value="tol"/><data column="4" line="0" value="tf"/><data column="5" line="0" value="context"/><data column="6" line="0" value="void1"/><data column="7" line="0" value="options"/><data column="8" line="0" value="void2"/><data column="9" line="0" value="void3"/><data column="10" line="0" value="doc"/></ScilabString><ScilabDouble height="1" width="6"><data column="0" line="0" realPart="600.0"/><data column="1" line="0" realPart="450.0"/><data column="2" line="0" realPart="0.0"/><data column="3" line="0" realPart="0.0"/><data column="4" line="0" realPart="600.0"/><data column="5" line="0" realPart="450.0"/></ScilabDouble><ScilabString height="1" width="1"><data column="0" line="0" value="Untitled"/></ScilabString><ScilabDouble height="7" width="1"><data column="0" line="0" realPart="1.0E-6"/><data column="0" line="1" realPart="1.0E-6"/><data column="0" line="2" realPart="1.0E-10"/><data column="0" line="3" realPart="100001.0"/><data column="0" line="4" realPart="0.0"/><data column="0" line="5" realPart="1.0"/><data column="0" line="6" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="100000.0"/></ScilabDouble><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><ScilabDouble height="0" width="0"/><Array scilabClass="ScilabTList"><ScilabString height="1" width="6"><data column="0" line="0" value="scsopt"/><data column="1" line="0" value="3D"/><data column="2" line="0" value="Background"/><data column="3" line="0" value="Link"/><data column="4" line="0" value="ID"/><data column="5" line="0" value="Cmap"/></ScilabString><Array scilabClass="ScilabList"><ScilabBoolean height="1" width="1"><data column="0" line="0" value="true"/></ScilabBoolean><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="33.0"/></ScilabDouble></Array><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="8.0"/><data column="1" line="0" realPart="1.0"/></ScilabDouble><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="1.0"/><data column="1" line="0" realPart="5.0"/></ScilabDouble><Array scilabClass="ScilabList"><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="5.0"/><data column="1" line="0" realPart="1.0"/></ScilabDouble><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="4.0"/><data column="1" line="0" realPart="1.0"/></ScilabDouble></Array><ScilabDouble height="1" width="3"><data column="0" line="0" realPart="0.8"/><data column="1" line="0" realPart="0.8"/><data column="2" line="0" realPart="0.8"/></ScilabDouble></Array><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><Array scilabClass="ScilabList"/></Array><Array scilabClass="ScilabList"><Array scilabClass="ScilabMList"><ScilabString height="1" width="5"><data column="0" line="0" value="Block"/><data column="1" line="0" value="graphics"/><data column="2" line="0" value="model"/><data column="3" line="0" value="gui"/><data column="4" line="0" value="doc"/></ScilabString><Array scilabClass="ScilabMList"><ScilabString height="1" width="19"><data column="0" line="0" value="graphics"/><data column="1" line="0" value="orig"/><data column="2" line="0" value="sz"/><data column="3" line="0" value="flip"/><data column="4" line="0" value="theta"/><data column="5" line="0" value="exprs"/><data column="6" line="0" value="pin"/><data column="7" line="0" value="pout"/><data column="8" line="0" value="pein"/><data column="9" line="0" value="peout"/><data column="10" line="0" value="gr_i"/><data column="11" line="0" value="id"/><data column="12" line="0" value="in_implicit"/><data column="13" line="0" value="out_implicit"/><data column="14" line="0" value="in_style"/><data column="15" line="0" value="out_style"/><data column="16" line="0" value="in_label"/><data column="17" line="0" value="out_label"/><data column="18" line="0" value="style"/></ScilabString><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="1299.0"/><data column="1" line="0" realPart="-1330.0"/></ScilabDouble><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="20.0"/><data column="1" line="0" realPart="20.0"/></ScilabDouble><ScilabBoolean height="1" width="1"><data column="0" line="0" value="true"/></ScilabBoolean><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabString height="1" width="1"><data column="0" line="0" value="1"/></ScilabString><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="5.0"/></ScilabDouble><ScilabDouble height="0" width="0"/><Array scilabClass="ScilabList"><ScilabString height="1" width="1"><data column="0" line="0" value="xstringb(orig(1),orig(2),"CLKOUT_f",sz(1),sz(2));"/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="8.0"/></ScilabDouble></Array><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabString height="1" width="1"><data column="0" line="0" value="CLKOUT_f"/></ScilabString></Array><Array scilabClass="ScilabMList"><ScilabString height="1" width="24"><data column="0" line="0" value="model"/><data column="1" line="0" value="sim"/><data column="2" line="0" value="in"/><data column="3" line="0" value="in2"/><data column="4" line="0" value="intyp"/><data column="5" line="0" value="out"/><data column="6" line="0" value="out2"/><data column="7" line="0" value="outtyp"/><data column="8" line="0" value="evtin"/><data column="9" line="0" value="evtout"/><data column="10" line="0" value="state"/><data column="11" line="0" value="dstate"/><data column="12" line="0" value="odstate"/><data column="13" line="0" value="rpar"/><data column="14" line="0" value="ipar"/><data column="15" line="0" value="opar"/><data column="16" line="0" value="blocktype"/><data column="17" line="0" value="firing"/><data column="18" line="0" value="dep_ut"/><data column="19" line="0" value="label"/><data column="20" line="0" value="nzcross"/><data column="21" line="0" value="nmode"/><data column="22" line="0" value="equations"/><data column="23" line="0" value="uid"/></ScilabString><ScilabString height="1" width="1"><data column="0" line="0" value="output"/></ScilabString><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="-1.0"/></ScilabDouble><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><Array scilabClass="ScilabList"/><ScilabDouble height="0" width="0"/><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="1.0"/></ScilabDouble><Array scilabClass="ScilabList"/><ScilabString height="1" width="1"><data column="0" line="0" value="d"/></ScilabString><ScilabDouble height="0" width="0"/><ScilabBoolean height="1" width="2"><data column="0" line="0" value="false"/><data column="1" line="0" value="false"/></ScilabBoolean><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array scilabClass="ScilabList"/><ScilabString height="1" width="1"><data column="0" line="0" value="-2dd55334:14dcbdd0183:-7e5e"/></ScilabString></Array><ScilabString height="1" width="1"><data column="0" line="0" value="CLKOUT_f"/></ScilabString><Array scilabClass="ScilabList"><ScilabString height="1" width="1"><data column="0" line="0" value="-2dd55334:14dcbdd0183:-7e5e"/></ScilabString></Array></Array><Array scilabClass="ScilabMList"><ScilabString height="1" width="5"><data column="0" line="0" value="Block"/><data column="1" line="0" value="graphics"/><data column="2" line="0" value="model"/><data column="3" line="0" value="gui"/><data column="4" line="0" value="doc"/></ScilabString><Array scilabClass="ScilabMList"><ScilabString height="1" width="19"><data column="0" line="0" value="graphics"/><data column="1" line="0" value="orig"/><data column="2" line="0" value="sz"/><data column="3" line="0" value="flip"/><data column="4" line="0" value="theta"/><data column="5" line="0" value="exprs"/><data column="6" line="0" value="pin"/><data column="7" line="0" value="pout"/><data column="8" line="0" value="pein"/><data column="9" line="0" value="peout"/><data column="10" line="0" value="gr_i"/><data column="11" line="0" value="id"/><data column="12" line="0" value="in_implicit"/><data column="13" line="0" value="out_implicit"/><data column="14" line="0" value="in_style"/><data column="15" line="0" value="out_style"/><data column="16" line="0" value="in_label"/><data column="17" line="0" value="out_label"/><data column="18" line="0" value="style"/></ScilabString><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="0.0"/><data column="1" line="0" realPart="-40.0"/></ScilabDouble><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="40.0"/><data column="1" line="0" realPart="40.0"/></ScilabDouble><ScilabBoolean height="1" width="1"><data column="0" line="0" value="true"/></ScilabBoolean><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabString height="2" width="1"><data column="0" line="0" value="Ts"/><data column="0" line="1" value="0"/></ScilabString><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="6.0"/></ScilabDouble><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="4.0"/></ScilabDouble><Array scilabClass="ScilabList"><ScilabString height="1" width="1"><data column="0" line="0" value="xstringb(orig(1),orig(2),"EVTDLY_c",sz(1),sz(2));"/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="8.0"/></ScilabDouble></Array><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabString height="1" width="1"><data column="0" line="0" value="EVTDLY_c"/></ScilabString></Array><Array scilabClass="ScilabMList"><ScilabString height="1" width="24"><data column="0" line="0" value="model"/><data column="1" line="0" value="sim"/><data column="2" line="0" value="in"/><data column="3" line="0" value="in2"/><data column="4" line="0" value="intyp"/><data column="5" line="0" value="out"/><data column="6" line="0" value="out2"/><data column="7" line="0" value="outtyp"/><data column="8" line="0" value="evtin"/><data column="9" line="0" value="evtout"/><data column="10" line="0" value="state"/><data column="11" line="0" value="dstate"/><data column="12" line="0" value="odstate"/><data column="13" line="0" value="rpar"/><data column="14" line="0" value="ipar"/><data column="15" line="0" value="opar"/><data column="16" line="0" value="blocktype"/><data column="17" line="0" value="firing"/><data column="18" line="0" value="dep_ut"/><data column="19" line="0" value="label"/><data column="20" line="0" value="nzcross"/><data column="21" line="0" value="nmode"/><data column="22" line="0" value="equations"/><data column="23" line="0" value="uid"/></ScilabString><Array scilabClass="ScilabList"><ScilabString height="1" width="1"><data column="0" line="0" value="evtdly4"/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="4.0"/></ScilabDouble></Array><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="-1.0"/></ScilabDouble><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="-1.0"/></ScilabDouble><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><Array scilabClass="ScilabList"/><ScilabDouble height="2" width="1"><data column="0" line="0" realPart="0.0050"/><data column="0" line="1" realPart="0.0"/></ScilabDouble><ScilabDouble height="0" width="0"/><Array scilabClass="ScilabList"/><ScilabString height="1" width="1"><data column="0" line="0" value="d"/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabBoolean height="1" width="2"><data column="0" line="0" value="false"/><data column="1" line="0" value="false"/></ScilabBoolean><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array scilabClass="ScilabList"/><ScilabString height="1" width="1"><data column="0" line="0" value="-2dd55334:14dcbdd0183:-7e5c"/></ScilabString></Array><ScilabString height="1" width="1"><data column="0" line="0" value="EVTDLY_c"/></ScilabString><Array scilabClass="ScilabList"><ScilabString height="1" width="1"><data column="0" line="0" value="-2dd55334:14dcbdd0183:-7e5c"/></ScilabString></Array></Array><Array scilabClass="ScilabMList"><ScilabString height="1" width="5"><data column="0" line="0" value="Block"/><data column="1" line="0" value="graphics"/><data column="2" line="0" value="model"/><data column="3" line="0" value="gui"/><data column="4" line="0" value="doc"/></ScilabString><Array scilabClass="ScilabMList"><ScilabString height="1" width="19"><data column="0" line="0" value="graphics"/><data column="1" line="0" value="orig"/><data column="2" line="0" value="sz"/><data column="3" line="0" value="flip"/><data column="4" line="0" value="theta"/><data column="5" line="0" value="exprs"/><data column="6" line="0" value="pin"/><data column="7" line="0" value="pout"/><data column="8" line="0" value="pein"/><data column="9" line="0" value="peout"/><data column="10" line="0" value="gr_i"/><data column="11" line="0" value="id"/><data column="12" line="0" value="in_implicit"/><data column="13" line="0" value="out_implicit"/><data column="14" line="0" value="in_style"/><data column="15" line="0" value="out_style"/><data column="16" line="0" value="in_label"/><data column="17" line="0" value="out_label"/><data column="18" line="0" value="style"/></ScilabString><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="2070.3773266666667"/><data column="1" line="0" realPart="-2116.333333333333"/></ScilabDouble><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="7.0"/><data column="1" line="0" realPart="7.0"/></ScilabDouble><ScilabBoolean height="1" width="1"><data column="0" line="0" value="true"/></ScilabBoolean><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="4.0"/></ScilabDouble><ScilabDouble height="2" width="1"><data column="0" line="0" realPart="5.0"/><data column="0" line="1" realPart="6.0"/></ScilabDouble><Array scilabClass="ScilabList"><ScilabString height="1" width="1"><data column="0" line="0" value="xstringb(orig(1),orig(2),"CLKSPLIT_f",sz(1),sz(2));"/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="8.0"/></ScilabDouble></Array><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabString height="1" width="1"><data column="0" line="0" value="CLKSPLIT_f"/></ScilabString></Array><Array scilabClass="ScilabMList"><ScilabString height="1" width="24"><data column="0" line="0" value="model"/><data column="1" line="0" value="sim"/><data column="2" line="0" value="in"/><data column="3" line="0" value="in2"/><data column="4" line="0" value="intyp"/><data column="5" line="0" value="out"/><data column="6" line="0" value="out2"/><data column="7" line="0" value="outtyp"/><data column="8" line="0" value="evtin"/><data column="9" line="0" value="evtout"/><data column="10" line="0" value="state"/><data column="11" line="0" value="dstate"/><data column="12" line="0" value="odstate"/><data column="13" line="0" value="rpar"/><data column="14" line="0" value="ipar"/><data column="15" line="0" value="opar"/><data column="16" line="0" value="blocktype"/><data column="17" line="0" value="firing"/><data column="18" line="0" value="dep_ut"/><data column="19" line="0" value="label"/><data column="20" line="0" value="nzcross"/><data column="21" line="0" value="nmode"/><data column="22" line="0" value="equations"/><data column="23" line="0" value="uid"/></ScilabString><ScilabString height="1" width="1"><data column="0" line="0" value="split"/></ScilabString><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="-1.0"/></ScilabDouble><ScilabDouble height="2" width="1"><data column="0" line="0" realPart="-1.0"/><data column="0" line="1" realPart="-1.0"/></ScilabDouble><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><Array scilabClass="ScilabList"/><ScilabDouble height="0" width="0"/><ScilabDouble height="0" width="0"/><Array scilabClass="ScilabList"/><ScilabString height="1" width="1"><data column="0" line="0" value="d"/></ScilabString><ScilabDouble height="2" width="1"><data column="0" line="0" realPart="-1.0"/><data column="0" line="1" realPart="-1.0"/></ScilabDouble><ScilabBoolean height="1" width="2"><data column="0" line="0" value="false"/><data column="1" line="0" value="false"/></ScilabBoolean><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array scilabClass="ScilabList"/><ScilabString height="1" width="1"><data column="0" line="0" value="-2dd55334:14dcbdd0183:-7e59"/></ScilabString></Array><ScilabString height="1" width="1"><data column="0" line="0" value="CLKSPLIT_f"/></ScilabString><Array scilabClass="ScilabList"><ScilabString height="1" width="1"><data column="0" line="0" value="-2dd55334:14dcbdd0183:-7e59"/></ScilabString></Array></Array><Array scilabClass="ScilabMList"><ScilabString height="1" width="8"><data column="0" line="0" value="Link"/><data column="1" line="0" value="xx"/><data column="2" line="0" value="yy"/><data column="3" line="0" value="id"/><data column="4" line="0" value="thick"/><data column="5" line="0" value="ct"/><data column="6" line="0" value="from"/><data column="7" line="0" value="to"/></ScilabString><ScilabDouble height="3" width="1"><data column="0" line="0" realPart="60.0"/><data column="0" line="1" realPart="2460.0"/><data column="0" line="2" realPart="2080.8773266666667"/></ScilabDouble><ScilabDouble height="3" width="1"><data column="0" line="0" realPart="-44.0"/><data column="0" line="1" realPart="-2540.0"/><data column="0" line="2" realPart="-2105.333333333333"/></ScilabDouble><ScilabString height="1" width="1"><data column="0" line="0" value="drawlink"/></ScilabString><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="0.0"/><data column="1" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="5.0"/><data column="1" line="0" realPart="-1.0"/></ScilabDouble><ScilabDouble height="1" width="3"><data column="0" line="0" realPart="2.0"/><data column="1" line="0" realPart="1.0"/><data column="2" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="3"><data column="0" line="0" realPart="3.0"/><data column="1" line="0" realPart="1.0"/><data column="2" line="0" realPart="1.0"/></ScilabDouble></Array><Array scilabClass="ScilabMList"><ScilabString height="1" width="8"><data column="0" line="0" value="Link"/><data column="1" line="0" value="xx"/><data column="2" line="0" value="yy"/><data column="3" line="0" value="id"/><data column="4" line="0" value="thick"/><data column="5" line="0" value="ct"/><data column="6" line="0" value="from"/><data column="7" line="0" value="to"/></ScilabString><ScilabDouble height="2" width="1"><data column="0" line="0" realPart="2079.71066"/><data column="0" line="1" realPart="1329.0"/></ScilabDouble><ScilabDouble height="2" width="1"><data column="0" line="0" realPart="-2120.333333333333"/><data column="0" line="1" realPart="-1306.0"/></ScilabDouble><ScilabString height="1" width="1"><data column="0" line="0" value="drawlink"/></ScilabString><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="0.0"/><data column="1" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="5.0"/><data column="1" line="0" realPart="-1.0"/></ScilabDouble><ScilabDouble height="1" width="3"><data column="0" line="0" realPart="3.0"/><data column="1" line="0" realPart="1.0"/><data column="2" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="3"><data column="0" line="0" realPart="1.0"/><data column="1" line="0" realPart="1.0"/><data column="2" line="0" realPart="1.0"/></ScilabDouble></Array><Array scilabClass="ScilabMList"><ScilabString height="1" width="8"><data column="0" line="0" value="Link"/><data column="1" line="0" value="xx"/><data column="2" line="0" value="yy"/><data column="3" line="0" value="id"/><data column="4" line="0" value="thick"/><data column="5" line="0" value="ct"/><data column="6" line="0" value="from"/><data column="7" line="0" value="to"/></ScilabString><ScilabDouble height="4" width="1"><data column="0" line="0" realPart="2082.043993333333"/><data column="0" line="1" realPart="2500.71"/><data column="0" line="2" realPart="2460.0"/><data column="0" line="3" realPart="60.0"/></ScilabDouble><ScilabDouble height="4" width="1"><data column="0" line="0" realPart="-2120.333333333333"/><data column="0" line="1" realPart="-2410.0"/><data column="0" line="2" realPart="-2410.0"/><data column="0" line="3" realPart="4.0"/></ScilabDouble><ScilabString height="1" width="1"><data column="0" line="0" value="drawlink"/></ScilabString><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="0.0"/><data column="1" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="2"><data column="0" line="0" realPart="5.0"/><data column="1" line="0" realPart="-1.0"/></ScilabDouble><ScilabDouble height="1" width="3"><data column="0" line="0" realPart="3.0"/><data column="1" line="0" realPart="2.0"/><data column="2" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble height="1" width="3"><data column="0" line="0" realPart="2.0"/><data column="1" line="0" realPart="1.0"/><data column="2" line="0" realPart="1.0"/></ScilabDouble></Array></Array><ScilabString height="1" width="1"><data column="0" line="0" value=""/></ScilabString><Array scilabClass="ScilabList"/></Array><ScilabDouble as="integerParameters" height="0" width="0"/><Array as="objectsParameters" scilabClass="ScilabList"/><ScilabDouble as="nbZerosCrossing" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="nmode" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array as="oDState" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="40.0" width="40.0" x="420.0" y="220.0"/></BasicBlock><CommandPort dataType="UNKNOW_TYPE" id="-2ed398c8:14e2e6007ad:-7214" ordering="1" parent="-2dd55334:14dcbdd0183:-7d59" style="CommandPort;align=center;verticalAlign=bottom;spacing=10.0;rotation=90;flip=false;mirror=false"><mxGeometry as="geometry" height="8.0" width="8.0" x="16.0" y="40.0"/></CommandPort><mxCell connectable="0" id="-2dd55334:14dcbdd0183:-7d59#identifier" parent="-2dd55334:14dcbdd0183:-7d59" style="noLabel=0;opacity=0" value=" Period=Ts" vertex="1"><mxGeometry as="geometry" relative="1" x="0.5" y="1.1"><mxPoint as="offset" x="51.0" y="-30.0"/></mxGeometry></mxCell><CommandControlLink id="-2dd55334:14dcbdd0183:-7d55" parent="-2dd55334:14dcbdd0183:-7fd3" source="-2ed398c8:14e2e6007ad:-7214" target="-6c44cd7c:14e334d52c6:-7306"><mxGeometry as="geometry" x="190.0" y="30.0"/></CommandControlLink><ExplicitLink id="-2dd55334:14dcbdd0183:-7cbb" parent="-2dd55334:14dcbdd0183:-7fd3" source="-2dd55334:14dcbdd0183:-7dbf" target="-6c44cd7c:14e334d52c6:-7308"><mxGeometry as="geometry" x="190.0" y="80.0"/></ExplicitLink><BasicBlock dependsOnU="1" id="-2dd55334:14dcbdd0183:-7c65" interfaceFunctionName="MUX_f" ordering="15" parent="-2dd55334:14dcbdd0183:-7fd3" simulationFunctionName="mux" simulationFunctionType="TYPE_1" style="MUX_f;flip=false;mirror=false"><ScilabString as="exprs" height="1" width="1"><data column="0" line="0" value="2"/></ScilabString><ScilabDouble as="realParameters" height="0" width="0"/><ScilabDouble as="integerParameters" height="1" width="1"><data column="0" line="0" realPart="2.0"/></ScilabDouble><Array as="objectsParameters" scilabClass="ScilabList"/><ScilabDouble as="nbZerosCrossing" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="nmode" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array as="oDState" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="40.0" width="10.0" x="860.0" y="180.0"/></BasicBlock><ExplicitInputPort dataColumns="1" dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7c64" ordering="1" parent="-2dd55334:14dcbdd0183:-7c65" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="6.0"/></ExplicitInputPort><ExplicitInputPort dataColumns="1" dataLines="-2" dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7c63" ordering="2" parent="-2dd55334:14dcbdd0183:-7c65" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="26.0"/></ExplicitInputPort><ExplicitOutputPort dataColumns="1" dataLines="0" dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7c62" ordering="1" parent="-2dd55334:14dcbdd0183:-7c65" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="10.0" y="16.0"/></ExplicitOutputPort><SplitBlock id="-2dd55334:14dcbdd0183:-7c3f" ordering="16" parent="-2dd55334:14dcbdd0183:-7fd3" simulationFunctionType="DEFAULT" style="SPLIT_f;flip=false;mirror=false"><mxGeometry as="geometry" height="7.0" width="7.0" x="797.0" y="187.0"/></SplitBlock><ExplicitInputPort dataType="UNKNOW_TYPE" id="-2dd55334:14dcbdd0183:-7c3e" ordering="1" parent="-2dd55334:14dcbdd0183:-7c3f" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="-4.0"/></ExplicitInputPort><ExplicitOutputPort dataType="UNKNOW_TYPE" id="-2dd55334:14dcbdd0183:-7c3d" ordering="1" parent="-2dd55334:14dcbdd0183:-7c3f" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="7.0" y="-4.0"/></ExplicitOutputPort><ExplicitOutputPort dataType="UNKNOW_TYPE" id="-2dd55334:14dcbdd0183:-7c3c" ordering="2" parent="-2dd55334:14dcbdd0183:-7c3f" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="7.0" y="-4.0"/></ExplicitOutputPort><ExplicitLink id="-2dd55334:14dcbdd0183:-7c3b" parent="-2dd55334:14dcbdd0183:-7fd3" source="-2dd55334:14dcbdd0183:-7f96" target="-2dd55334:14dcbdd0183:-7c3e"><mxGeometry as="geometry" x="190.0" y="30.0"><Array as="points" scilabClass="ScilabList"><mxPoint x="800.0" y="130.0"/></Array></mxGeometry></ExplicitLink><ExplicitLink id="-2dd55334:14dcbdd0183:-7c3a" parent="-2dd55334:14dcbdd0183:-7fd3" source="-2dd55334:14dcbdd0183:-7c3d" target="-2dd55334:14dcbdd0183:-7f21"><mxGeometry as="geometry" x="190.0" y="30.0"><Array as="points" scilabClass="ScilabList"><mxPoint x="270.0" y="190.0"/><mxPoint x="270.0" y="140.0"/></Array></mxGeometry></ExplicitLink><ExplicitLink id="-2dd55334:14dcbdd0183:-7c40" parent="-2dd55334:14dcbdd0183:-7fd3" source="-2dd55334:14dcbdd0183:-7c3c" target="-2dd55334:14dcbdd0183:-7c64"><mxGeometry as="geometry" x="190.0" y="30.0"><Array as="points" scilabClass="ScilabList"><mxPoint x="830.0" y="190.0"/></Array></mxGeometry></ExplicitLink><SplitBlock id="-2dd55334:14dcbdd0183:-7c38" ordering="17" parent="-2dd55334:14dcbdd0183:-7fd3" simulationFunctionType="DEFAULT" style="SPLIT_f;flip=false;mirror=false"><mxGeometry as="geometry" height="7.0" width="7.0" x="797.0" y="307.0"/></SplitBlock><ExplicitInputPort dataType="UNKNOW_TYPE" id="-2dd55334:14dcbdd0183:-7c37" ordering="1" parent="-2dd55334:14dcbdd0183:-7c38" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="-4.0"/></ExplicitInputPort><ExplicitOutputPort dataType="UNKNOW_TYPE" id="-2dd55334:14dcbdd0183:-7c36" ordering="1" parent="-2dd55334:14dcbdd0183:-7c38" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="7.0" y="-4.0"/></ExplicitOutputPort><ExplicitOutputPort dataType="UNKNOW_TYPE" id="-2dd55334:14dcbdd0183:-7c35" ordering="2" parent="-2dd55334:14dcbdd0183:-7c38" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="7.0" y="-4.0"/></ExplicitOutputPort><ExplicitLink id="-2dd55334:14dcbdd0183:-7c34" parent="-2dd55334:14dcbdd0183:-7fd3" source="-2dd55334:14dcbdd0183:-7dc7" target="-2dd55334:14dcbdd0183:-7c37"><mxGeometry as="geometry" x="190.0" y="80.0"><Array as="points" scilabClass="ScilabList"/></mxGeometry></ExplicitLink><ExplicitLink id="-2dd55334:14dcbdd0183:-7c33" parent="-2dd55334:14dcbdd0183:-7fd3" source="-2dd55334:14dcbdd0183:-7c36" target="-2dd55334:14dcbdd0183:-7dc0"><mxGeometry as="geometry" x="150.0" y="80.0"><Array as="points" scilabClass="ScilabList"><mxPoint x="800.0" y="370.0"/><mxPoint x="270.0" y="370.0"/><mxPoint x="270.0" y="320.0"/></Array></mxGeometry></ExplicitLink><ExplicitLink id="-2dd55334:14dcbdd0183:-7c39" parent="-2dd55334:14dcbdd0183:-7fd3" source="-2dd55334:14dcbdd0183:-7c35" target="-2dd55334:14dcbdd0183:-7c63"><mxGeometry as="geometry" x="190.0" y="30.0"><Array as="points" scilabClass="ScilabList"><mxPoint x="800.0" y="260.0"/><mxPoint x="800.0" y="210.0"/></Array></mxGeometry></ExplicitLink><BasicBlock dependsOnU="1" id="-2dd55334:14dcbdd0183:-7b7d" interfaceFunctionName="SWITCH2_m" ordering="18" parent="-2dd55334:14dcbdd0183:-7fd3" simulationFunctionName="switch2_m" simulationFunctionType="C_OR_FORTRAN" style="SWITCH2_m;flip=false;mirror=false"><ScilabString as="exprs" height="4" width="1"><data column="0" line="0" value="1"/><data column="0" line="1" value="0"/><data column="0" line="2" value="1"/><data column="0" line="3" value="1"/></ScilabString><ScilabDouble as="realParameters" height="1" width="1"><data column="0" line="0" realPart="1.0"/></ScilabDouble><ScilabDouble as="integerParameters" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array as="objectsParameters" scilabClass="ScilabList"/><ScilabDouble as="nbZerosCrossing" height="1" width="1"><data column="0" line="0" realPart="1.0"/></ScilabDouble><ScilabDouble as="nmode" height="1" width="1"><data column="0" line="0" realPart="1.0"/></ScilabDouble><Array as="oDState" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="40.0" width="40.0" x="160.0" y="180.0"/></BasicBlock><ExplicitInputPort dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7903" ordering="1" parent="-2dd55334:14dcbdd0183:-7b7d" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="6.0"/></ExplicitInputPort><ExplicitInputPort dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7902" ordering="2" parent="-2dd55334:14dcbdd0183:-7b7d" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="16.0"/></ExplicitInputPort><ExplicitInputPort dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7901" ordering="3" parent="-2dd55334:14dcbdd0183:-7b7d" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="26.0"/></ExplicitInputPort><ExplicitOutputPort dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-7900" ordering="1" parent="-2dd55334:14dcbdd0183:-7b7d" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="40.0" y="16.0"/></ExplicitOutputPort><BasicBlock dependsOnT="1" id="-2dd55334:14dcbdd0183:-7b67" interfaceFunctionName="RAMP" ordering="19" parent="-2dd55334:14dcbdd0183:-7fd3" simulationFunctionName="ramp" simulationFunctionType="C_OR_FORTRAN" style="RAMP;flip=false;mirror=false"><ScilabString as="exprs" height="3" width="1"><data column="0" line="0" value="1"/><data column="0" line="1" value="0"/><data column="0" line="2" value="0"/></ScilabString><ScilabDouble as="realParameters" height="3" width="1"><data column="0" line="0" realPart="1.0"/><data column="0" line="1" realPart="0.0"/><data column="0" line="2" realPart="0.0"/></ScilabDouble><ScilabDouble as="integerParameters" height="0" width="0"/><Array as="objectsParameters" scilabClass="ScilabList"/><ScilabDouble as="nbZerosCrossing" height="1" width="1"><data column="0" line="0" realPart="1.0"/></ScilabDouble><ScilabDouble as="nmode" height="1" width="1"><data column="0" line="0" realPart="1.0"/></ScilabDouble><Array as="oDState" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="40.0" width="40.0" x="50.0" y="260.0"/></BasicBlock><ExplicitOutputPort dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-54e7812b:14dcc58f4a2:-64d4" ordering="1" parent="-2dd55334:14dcbdd0183:-7b67" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="40.0" y="16.0"/></ExplicitOutputPort><ExplicitLink id="-2dd55334:14dcbdd0183:-7b62" parent="-2dd55334:14dcbdd0183:-7fd3" source="-54e7812b:14dcc58f4a2:-64d4" target="-2dd55334:14dcbdd0183:-7901"><mxGeometry as="geometry" x="40.0" y="20.0"><Array as="points" scilabClass="ScilabList"><mxPoint x="130.0" y="280.0"/><mxPoint x="130.0" y="210.0"/></Array></mxGeometry></ExplicitLink><BasicBlock blockType="d" id="-2dd55334:14dcbdd0183:-7b5d" interfaceFunctionName="CONST_f" ordering="20" parent="-2dd55334:14dcbdd0183:-7fd3" simulationFunctionName="cstblk" simulationFunctionType="TYPE_1" style="CONST_f;flip=false;mirror=false"><ScilabString as="exprs" height="1" width="1"><data column="0" line="0" value="sw"/></ScilabString><ScilabDouble as="realParameters" height="1" width="1"><data column="0" line="0" realPart="1.0"/></ScilabDouble><ScilabDouble as="integerParameters" height="0" width="0"/><Array as="objectsParameters" scilabClass="ScilabList"/><ScilabDouble as="nbZerosCrossing" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="nmode" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array as="oDState" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="40.0" width="40.0" x="50.0" y="180.0"/></BasicBlock><ExplicitOutputPort dataColumns="1" dataLines="1" dataType="REAL_MATRIX" id="-2dd55334:14dcbdd0183:-788e" ordering="1" parent="-2dd55334:14dcbdd0183:-7b5d" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="40.0" y="16.0"/></ExplicitOutputPort><ExplicitLink id="-2dd55334:14dcbdd0183:-7b56" parent="-2dd55334:14dcbdd0183:-7fd3" source="-2dd55334:14dcbdd0183:-788e" target="-2dd55334:14dcbdd0183:-7902"><mxGeometry as="geometry" x="40.0" y="20.0"/></ExplicitLink><ExplicitLink id="-2dd55334:14dcbdd0183:-7809" parent="-2dd55334:14dcbdd0183:-7fd3" source="-2dd55334:14dcbdd0183:-7ec7" target="-2dd55334:14dcbdd0183:-7903"><mxGeometry as="geometry" x="40.0" y="20.0"><Array as="points" scilabClass="ScilabList"><mxPoint x="130.0" y="120.0"/><mxPoint x="130.0" y="190.0"/></Array></mxGeometry></ExplicitLink><SplitBlock id="-2dd55334:14dcbdd0183:-77fc" ordering="21" parent="-2dd55334:14dcbdd0183:-7fd3" simulationFunctionType="DEFAULT" style="SPLIT_f;flip=false;mirror=false"><mxGeometry as="geometry" height="7.0" width="7.0" x="227.0" y="197.0"/></SplitBlock><ExplicitInputPort dataType="UNKNOW_TYPE" id="-2dd55334:14dcbdd0183:-77fb" ordering="1" parent="-2dd55334:14dcbdd0183:-77fc" style="ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="-8.0" y="-4.0"/></ExplicitInputPort><ExplicitOutputPort dataType="UNKNOW_TYPE" id="-2dd55334:14dcbdd0183:-77fa" ordering="1" parent="-2dd55334:14dcbdd0183:-77fc" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="7.0" y="-4.0"/></ExplicitOutputPort><ExplicitOutputPort dataType="UNKNOW_TYPE" id="-2dd55334:14dcbdd0183:-77f9" ordering="2" parent="-2dd55334:14dcbdd0183:-77fc" style="ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0;flip=false;mirror=false" visible="0"><mxGeometry as="geometry" height="8.0" width="8.0" x="7.0" y="-4.0"/></ExplicitOutputPort><ExplicitLink id="-2dd55334:14dcbdd0183:-77f8" parent="-2dd55334:14dcbdd0183:-7fd3" source="-2dd55334:14dcbdd0183:-7900" target="-2dd55334:14dcbdd0183:-77fb"><mxGeometry as="geometry" x="40.0" y="20.0"><Array as="points" scilabClass="ScilabList"/></mxGeometry></ExplicitLink><ExplicitLink id="-2dd55334:14dcbdd0183:-77f7" parent="-2dd55334:14dcbdd0183:-7fd3" source="-2dd55334:14dcbdd0183:-77fa" target="-2dd55334:14dcbdd0183:-7f22"><mxGeometry as="geometry" x="40.0" y="20.0"><Array as="points" scilabClass="ScilabList"><mxPoint x="230.0" y="120.0"/></Array></mxGeometry></ExplicitLink><ExplicitLink id="-2dd55334:14dcbdd0183:-77fd" parent="-2dd55334:14dcbdd0183:-7fd3" source="-2dd55334:14dcbdd0183:-77f9" target="-2dd55334:14dcbdd0183:-7dc1"><mxGeometry as="geometry" x="40.0" y="20.0"><Array as="points" scilabClass="ScilabList"><mxPoint x="230.0" y="300.0"/></Array></mxGeometry></ExplicitLink><BasicBlock blockType="d" id="-2dd55334:14dcbdd0183:-77c6" interfaceFunctionName="TOWS_c" ordering="22" parent="-2dd55334:14dcbdd0183:-7fd3" simulationFunctionName="tows_c" simulationFunctionType="C_OR_FORTRAN" style="TOWS_c;flip=false;mirror=true"><ScilabString as="exprs" height="3" width="1"><data column="0" line="0" value="256"/><data column="0" line="1" value="time_resp"/><data column="0" line="2" value="0"/></ScilabString><ScilabDouble as="realParameters" height="0" width="0"/><ScilabDouble as="integerParameters" height="11" width="1"><data column="0" line="0" realPart="256.0"/><data column="0" line="1" realPart="9.0"/><data column="0" line="2" realPart="116.0"/><data column="0" line="3" realPart="105.0"/><data column="0" line="4" realPart="109.0"/><data column="0" line="5" realPart="101.0"/><data column="0" line="6" realPart="95.0"/><data column="0" line="7" realPart="114.0"/><data column="0" line="8" realPart="101.0"/><data column="0" line="9" realPart="115.0"/><data column="0" line="10" realPart="112.0"/></ScilabDouble><Array as="objectsParameters" scilabClass="ScilabList"/><ScilabDouble as="nbZerosCrossing" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><ScilabDouble as="nmode" height="1" width="1"><data column="0" line="0" realPart="0.0"/></ScilabDouble><Array as="oDState" scilabClass="ScilabList"/><Array as="equations" scilabClass="ScilabList"/><mxGeometry as="geometry" height="40.0" width="100.0" x="710.0" y="50.0"/></BasicBlock><ExplicitInputPort dataType="UNKNOW_TYPE" id="-6c44cd7c:14e334d52c6:-6212" ordering="1" parent="-2dd55334:14dcbdd0183:-77c6" style="ExplicitInputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=180;flip=false;mirror=false" value=""><mxGeometry as="geometry" height="8.0" width="8.0" x="100.0" y="16.0"/></ExplicitInputPort><ControlPort dataType="UNKNOW_TYPE" id="-6c44cd7c:14e334d52c6:-6211" ordering="1" parent="-2dd55334:14dcbdd0183:-77c6" style="ControlPort;align=center;verticalAlign=top;spacing=10.0;rotation=90;flip=false;mirror=false"><mxGeometry as="geometry" height="8.0" width="8.0" x="46.0" y="-8.0"/></ControlPort><ExplicitLink id="-54e7812b:14dcc58f4a2:-7b20" parent="-2dd55334:14dcbdd0183:-7fd3" source="-2dd55334:14dcbdd0183:-7c62" target="-6c44cd7c:14e334d52c6:-6212"><mxGeometry as="geometry" x="40.0" y="20.0"><Array as="points" scilabClass="ScilabList"><mxPoint x="890.0" y="200.0"/><mxPoint x="890.0" y="70.0"/><mxPoint x="840.0" y="70.0"/></Array></mxGeometry></ExplicitLink><TextBlock id="-6cad6c1c:14dd22d9551:-7f7a" parent="-2dd55334:14dcbdd0183:-7fd3" simulationFunctionType="DEFAULT" style="TEXT_f;fontStyle=1;fontSize=18;flip=false;mirror=false" value="Model for Ex6_14"><ScilabString as="exprs" height="1" width="3"><data column="0" line="0" value="Model for Ex6_14"/><data column="1" line="0" value="2"/><data column="2" line="0" value="1"/></ScilabString><ScilabString as="realParameters" height="1" width="1"><data column="0" line="0" value="Model for Ex6_14"/></ScilabString><mxGeometry as="geometry" height="40.0" width="160.0" x="380.0" y="30.0"/></TextBlock><CommandControlLink id="-2ed398c8:14e2e6007ad:-71df" parent="-2dd55334:14dcbdd0183:-7fd3" source="-6c44cd7c:14e334d52c6:-6f59" target="-6c44cd7c:14e334d52c6:-6211"><mxGeometry as="geometry" x="40.0" y="20.0"><Array as="points" scilabClass="ScilabList"><mxPoint x="930.0" y="30.0"/><mxPoint x="770.0" y="30.0"/></Array></mxGeometry></CommandControlLink></root></mxGraphModel><mxCell as="defaultParent" id="-2dd55334:14dcbdd0183:-7fd3" parent="-2dd55334:14dcbdd0183:-7fd2"/></XcosDiagram>
\ No newline at end of file diff --git a/3432/CH6/EX6.15/Ex6_15.sce b/3432/CH6/EX6.15/Ex6_15.sce new file mode 100644 index 000000000..2a3b9a491 --- /dev/null +++ b/3432/CH6/EX6.15/Ex6_15.sce @@ -0,0 +1,78 @@ +//Example 6.15 +//Lead compensation for Temperature Control System. + +xdel(winsid())//close all graphics Windows +clear; +clc; +//------------------------------------------------------------------ +//System transfer function +s=poly(0,'s'); +numG=1; +denG=(s/0.5+1)*(s+1)*(s/2+1); +sysG=numG/denG; +//Dc gain +K=9; + +KGs=syslin('c',K*sysG); + +//Lead compensator 1 +numD=s+1; +denD=s/3+1; +D1=numD/denD; +D1s=syslin('c',D1); + +KGD1s=D1s*KGs; //compensated system + +//Lead compensator 2 +numD=s/1.5+1; +denD=s/15+1; +D2=numD/denD; +D2s=syslin('c',D2); + +KGD2s=D2s*KGs; //compensated system + +//The bode plot of the system with K +bode([KGs;KGD1s;KGD2s],0.1/2/%pi,10/2/%pi,['KG';'KGD1';'KGD2'],"rad"); +exec .\fig_settings.sci; // custom script for setting figure properties +title('Bode plot for lead compensation design','fontsize',3) +//------------------------------------------------------------------ +//Margins of uncompensated and compensated systems +[gm1,wcg1]=g_margin(KGs); +[pm1,wcp1]=p_margin(KGs); +disp(wcp1*2*%pi,"Wcp",wcg1*2*%pi,"Wcg",pm1,... +"Phase margin",gm1,"Gain margin",... +"Uncompensated system :") + +[gm2,wcg2]=g_margin(KGD1s); +[pm2,wcp2]=p_margin(KGD1s); +disp(wcp2*2*%pi,"Wcp",wcg2*2*%pi,"Wcg",pm2,... +"Phase margin",gm2,"Gain margin",... +"System with D1 compensator :") + +[gm3,wcg3]=g_margin(KGD2s); +[pm3,wcp3]=p_margin(KGD2s); +disp(wcp3*2*%pi,"Wcp",wcg3*2*%pi,"Wcg",pm3,... +"Phase margin",gm3,"Gain margin",... +"System with D2 compensator :") +//------------------------------------------------------------------ +//step response comparison +//closed loop system +Gc1=KGD1s/(KGD1s+1); +Gc2=KGD2s/(KGD2s+1); +figure; +t=0:0.05:20; +v1=csim('step',t,Gc1); +v2=csim('step',t,Gc2); +plot2d([t',t'],[v1',v2']) + +//Title, labels and grid to the figure +exec .\fig_settings.sci; //custom script for setting figure properties +title('Step response for lead compensation design','fontsize',3) +xlabel('Time t (sec.)','fontsize',2) +ylabel('y','fontsize',2) + +xset("font size", 3); +xarrows([2.5;1.5],[1.3;1.2],-1,1) +xstring(2.5,1.3,"D2",0,0) +xstring(4,1.2,"D1",0,0) +//------------------------------------------------------------------ diff --git a/3432/CH6/EX6.15/Ex6_15_f0.pdf b/3432/CH6/EX6.15/Ex6_15_f0.pdf Binary files differnew file mode 100644 index 000000000..1e7a2c442 --- /dev/null +++ b/3432/CH6/EX6.15/Ex6_15_f0.pdf diff --git a/3432/CH6/EX6.15/Ex6_15_f1.pdf b/3432/CH6/EX6.15/Ex6_15_f1.pdf Binary files differnew file mode 100644 index 000000000..7726e01ca --- /dev/null +++ b/3432/CH6/EX6.15/Ex6_15_f1.pdf diff --git a/3432/CH6/EX6.16/Ex6_16.sce b/3432/CH6/EX6.16/Ex6_16.sce new file mode 100644 index 000000000..a21196a34 --- /dev/null +++ b/3432/CH6/EX6.16/Ex6_16.sce @@ -0,0 +1,55 @@ +//Example 6.16 +//Lead compensation for Servomechanism System. + +xdel(winsid())//close all graphics Windows +clear; +clc; +//------------------------------------------------------------------ +//System transfer function +s=poly(0,'s'); +numG=10; +denG=s*(s/2.5+1)*(s/6+1); +G=numG/denG; +//Dc gain +K=1; + +KGs=syslin('c',K*G); + +//Lead compensator 1 +numD=s/2+1; +denD=s/20+1; +D1=numD/denD; +D1s=syslin('c',D1); + +KGD1s=D1s*KGs; //compensated system + +//Lead compensator 2 +numD=s/4+1; +denD=s/40+1; +D2=D1*numD/denD; //double compensator +D2s=syslin('c',D2); + + +KGD2s=D2s*KGs; //compensated system + +//The bode plot of the system with K +bode([KGs;KGD1s;KGD2s],0.1/2/%pi,100/2/%pi,['KG';'KGD1';'KGD2'],"rad"); +exec .\fig_settings.sci; //custom script for setting figure properties +title('Bode plot for lead compensation design','fontsize',3) +//------------------------------------------------------------------ +//Margins of uncompensated and compensated systems +[gm1,wcg1]=g_margin(KGs); +[pm1,wcp1]=p_margin(KGs); +disp(wcp1*2*%pi,"Wcp",wcg1*2*%pi,"Wcg",pm1,... +"Phase margin",gm1,"Gain margin","Uncompensated system :") + +[gm2,wcg2]=g_margin(KGD1s); +[pm2,wcp2]=p_margin(KGD1s); +disp(wcp2*2*%pi,"Wcp",wcg2*2*%pi,"Wcg",pm2,... +"Phase margin",gm2,"Gain margin","System with D1 compensator :") + +[gm3,wcg3]=g_margin(KGD2s); +[pm3,wcp3]=p_margin(KGD2s); +disp(wcp3*2*%pi,"Wcp",wcg3*2*%pi,"Wcg",pm3,... +"Phase margin",gm3,"Gain margin","System with D2 compensator :") +//------------------------------------------------------------------ diff --git a/3432/CH6/EX6.16/Ex6_16_f0.pdf b/3432/CH6/EX6.16/Ex6_16_f0.pdf Binary files differnew file mode 100644 index 000000000..b236af65f --- /dev/null +++ b/3432/CH6/EX6.16/Ex6_16_f0.pdf diff --git a/3432/CH6/EX6.17/Ex6_17.sce b/3432/CH6/EX6.17/Ex6_17.sce new file mode 100644 index 000000000..22af946e4 --- /dev/null +++ b/3432/CH6/EX6.17/Ex6_17.sce @@ -0,0 +1,57 @@ +//Example 6.17 +//Lag compensation for Temperature Control System. + +xdel(winsid())//close all graphics Windows +clear; +clc; +//------------------------------------------------------------------ +//System transfer function +s=poly(0,'s'); +numG=1; +denG=(s/0.5+1)*(s+1)*(s/2+1); +G=numG/denG; +//Dc gain +K=3; //to set phase requirement + +KGs=syslin('c',K*G); + +//Lag compensator +numD=5*s+1; +denD=15*s+1; +D=3*numD/denD; +Ds=syslin('c',D); + +KGDs=Ds*KGs; //compensated system + +//The bode plot of the system with K +bode([KGs;KGDs],0.01/2/%pi,10/2/%pi,['KG';'KGD'],"rad"); +exec .\fig_settings.sci; //custom script for setting figure properties +title('Frequency response of lag-compensation design','fontsize',3) + +//------------------------------------------------------------------ +//Margins of uncompensated and compensated systems +[gm1,wcg1]=g_margin(KGs); +[pm1,wcp1]=p_margin(KGs); +disp(wcp1*2*%pi,"Wcp",wcg1*2*%pi,"Wcg",pm1,"Phase margin",... +gm1,"Gain margin","Uncompensated system :") + +[gm2,wcg2]=g_margin(KGDs); +[pm2,wcp2]=p_margin(KGDs); +disp(wcp2*2*%pi,"Wcp",wcg2*2*%pi,"Wcg",pm2,"Phase margin",... +gm2,"Gain margin","Compensated system :") + +//------------------------------------------------------------------ +//step response +//closed loop system +Gc=KGDs/(KGDs+1); +figure; +t=0:0.05:20; +v=csim('step',t,Gc); +plot2d(t,v) + +//Title, labels and grid to the figure +exec .\fig_settings.sci; //custom script for setting figure properties +title('Step response for lag compensation design','fontsize',3) +xlabel('Time t (sec.)','fontsize',2) +ylabel('y','fontsize',2) +//------------------------------------------------------------------ diff --git a/3432/CH6/EX6.17/Ex6_17_f0.pdf b/3432/CH6/EX6.17/Ex6_17_f0.pdf Binary files differnew file mode 100644 index 000000000..441cf5bdb --- /dev/null +++ b/3432/CH6/EX6.17/Ex6_17_f0.pdf diff --git a/3432/CH6/EX6.17/Ex6_17_f1.pdf b/3432/CH6/EX6.17/Ex6_17_f1.pdf Binary files differnew file mode 100644 index 000000000..607607c60 --- /dev/null +++ b/3432/CH6/EX6.17/Ex6_17_f1.pdf diff --git a/3432/CH6/EX6.18/Ex6_18.sce b/3432/CH6/EX6.18/Ex6_18.sce new file mode 100644 index 000000000..0ec43ba46 --- /dev/null +++ b/3432/CH6/EX6.18/Ex6_18.sce @@ -0,0 +1,42 @@ +//Example 6.18 +//Lag compensation for DC motor. + +xdel(winsid())//close all graphics Windows +clear; +clc; +//------------------------------------------------------------------ +//System transfer function +s=poly(0,'s'); +g=1/s/(s+1); +K=10; //DC gain +KGs=syslin('c',K*g); + +//Lag compensator +numD=10*s+1; //0.1 +denD=100*s+1; //0.01 +D=numD/denD; +Ds=syslin('c',D); + +KGDs=Ds*KGs; //compensated system + +//The bode plot of the system +bode([KGs;KGDs],0.001/2/%pi,10/2/%pi,['KG(s)';'D(s)G(s)'],"rad"); +exec .\fig_settings.sci; // custom script for setting figure properties +title('Frequency response of lag-compensation design... + of DC motor','fontsize',3) +//------------------------------------------------------------------ +//step response +//closed loop system +Gc=KGDs/(KGDs+1); +figure; +t=0:0.05:50; +v=csim('step',t,Gc); +plot(t,v,2) + +//Title, labels and grid to the figure +exec .\fig_settings.sci; // custom script for setting figure properties +title('Step response for Lag-compensation design... + of DC motor','fontsize',3) +xlabel('Time t (sec.)','fontsize',2) +ylabel('y','fontsize',2) +//------------------------------------------------------------------ diff --git a/3432/CH6/EX6.18/Ex6_18_f0.pdf b/3432/CH6/EX6.18/Ex6_18_f0.pdf Binary files differnew file mode 100644 index 000000000..5f85523a2 --- /dev/null +++ b/3432/CH6/EX6.18/Ex6_18_f0.pdf diff --git a/3432/CH6/EX6.18/Ex6_18_f1.pdf b/3432/CH6/EX6.18/Ex6_18_f1.pdf Binary files differnew file mode 100644 index 000000000..e43c621c4 --- /dev/null +++ b/3432/CH6/EX6.18/Ex6_18_f1.pdf diff --git a/3432/CH6/EX6.19/Ex6_19.sce b/3432/CH6/EX6.19/Ex6_19.sce new file mode 100644 index 000000000..126f637d0 --- /dev/null +++ b/3432/CH6/EX6.19/Ex6_19.sce @@ -0,0 +1,74 @@ +//Example 6.19 +//PID compensation design for spacecraft attitude control. + +xdel(winsid())//close all graphics Windows +clear; +clc; +//------------------------------------------------------------------ +//System transfer function +s=poly(0,'s'); +G1=(0.9/s^2); +G2=(2/(s+2)); +G=G1*G2; +Gs=syslin('c',G); + +// PID controller parameters +Td_inv=0.1; // Td_inv=1/Td=0.1 +Kd=1/Td_inv; //Kd=Td=Td_inv (derivative gain) + +Ti_inv=0.005; // Ti_inv=1/Ti=0.005 +Ki=Ti_inv; //Ki=Ti_inv (integral gain) + +Kp=0.05 //Kp (Proportional gain) + +D=Kp*(Kd*s+1)*(Ki/s+1); //PID Compensator + +Dsc=syslin('c',D); + +Ds=syslin('c',D/Kp); //PID Compensator with Kp=1 +// Compensated system with Kp=1 +GDs=Gs*Ds; +//PID compensated system Kp=0.05; +GDsc=Gs*Dsc; +//------------------------------------------------------------------ +//The bode plots +bode([Gs;GDs;GDsc],0.01/2/%pi,100/2/%pi,... +['G(s)';'D(s)G(s) with (Kp=1)';'D(s)G(s) with (Kp=0.05)'],"rad"); +exec .\fig_settings.sci; //custom script for setting figure properties +title('Compensation for PID design','fontsize',3) + +//Phase margin of pid compensated system with Kp=0.05; +[pm wcp]=p_margin(GDsc); + +//------------------------------------------------------------------ +//closed loop system +//step response +Gc=GDsc/(GDsc+1); +figure; +t=0:0.05:40; +y=csim('step',t,Gc); +plot(t,y,2) + +//Title, labels and grid to the figure +exec .\fig_settings.sci; //custom script for setting figure properties +title('Step response for PID compensation of spacecraft'... +,'fontsize',3) +xlabel('Time t (sec.)','fontsize',2) +ylabel('$theta$','fontsize',2) +//------------------------------------------------------------------ +//step disturbance response +Gc=G1/((G1*G2*D)+1); +Gcs=syslin('c',Gc); +figure; +t=0:0.5:1000; +u=0.1*ones(1,length(t)); +y=csim(u,t,Gcs) +plot(t,y,2) + +//Title, labels and grid to the figure +exec .\fig_settings.sci; // custom script for setting figure properties +title('Step disturbance response for PID compensation... + of spacecraft','fontsize',3) +xlabel('Time t (sec.)','fontsize',2) +ylabel('$theta$','fontsize',2) +//------------------------------------------------------------------ diff --git a/3432/CH6/EX6.19/Ex6_19_f0.pdf b/3432/CH6/EX6.19/Ex6_19_f0.pdf Binary files differnew file mode 100644 index 000000000..f2687e07e --- /dev/null +++ b/3432/CH6/EX6.19/Ex6_19_f0.pdf diff --git a/3432/CH6/EX6.19/Ex6_19_f1.pdf b/3432/CH6/EX6.19/Ex6_19_f1.pdf Binary files differnew file mode 100644 index 000000000..c4b8b9759 --- /dev/null +++ b/3432/CH6/EX6.19/Ex6_19_f1.pdf diff --git a/3432/CH6/EX6.2.b/Ex6_2.sce b/3432/CH6/EX6.2.b/Ex6_2.sce new file mode 100644 index 000000000..03eae0b42 --- /dev/null +++ b/3432/CH6/EX6.2.b/Ex6_2.sce @@ -0,0 +1,28 @@ +//Example 6.2
+//Frequency response characteristics of Lead compensator.
+
+xdel(winsid())//close all graphics Windows
+clear;
+clc;
+//------------------------------------------------------------------
+//System transfer function and its bode plot
+K=1, T=1, alpha=0.1
+s=poly(0,'s');
+sysD=syslin('c',K*(T*s+1)/(alpha*T*s+1));
+
+//The bode plot of the system
+
+fmin=0.1/2/%pi; //mininmum frq. in Hz for response (0.1 rad/sec)
+fmax=100/2/%pi; //maximum frq. in Hz for response (100 read/sec)
+//------------------------------------------------------------------
+//Bode plot for frequency in Hz (scilab ver. 5.4.1)
+//bode(g,fmin,fmax);
+//OR
+//Bode plot for frequency in rad/sec (scilab ver. 5.5.1)
+bode(sysD,fmin,fmax,"rad")
+
+//------------------------------------------------------------------
+title('(a) Magnitude and (b) phase for the lead compensator',...
+'fontsize',3)
+exec .\fig_settings.sci; //custom script for setting figure properties
+//------------------------------------------------------------------
diff --git a/3432/CH6/EX6.2.b/Ex6_2_f0.pdf b/3432/CH6/EX6.2.b/Ex6_2_f0.pdf Binary files differnew file mode 100644 index 000000000..827a43a3d --- /dev/null +++ b/3432/CH6/EX6.2.b/Ex6_2_f0.pdf diff --git a/3432/CH6/EX6.3/Ex6_3.sce b/3432/CH6/EX6.3/Ex6_3.sce new file mode 100644 index 000000000..bb49eb066 --- /dev/null +++ b/3432/CH6/EX6.3/Ex6_3.sce @@ -0,0 +1,65 @@ +//Example 6.3
+//Bode Plot for Real Poles and Zeros.
+
+xdel(winsid())//close all graphics Windows
+clear;
+clc;
+//------------------------------------------------------------------
+//System transfer function and its bode plot
+K=2000;
+s=poly(0,'s');
+Gs=syslin('c',(K*(s+0.5))/(s*(s+10)*(s+50)));
+
+//The bode plot of the system
+wmin=0.1; // mininmum frq. in rad/sec for response
+wmax=100; // maximum frq. in red/sec for response
+fmin=wmin/2/%pi // mininmum frq. in Hz for response
+fmax=wmax/2/%pi // maximum frq. in Hz for response
+//------------------------------------------------------------------
+//Bode plot for frequency in Hz (scilab ver. 5.4.1)
+//bode(g,fmin,fmax)
+//OR
+//(Only for scilab ver. 5.5.1)
+//Bode (frequency scale in rad/sec)
+// or gainplot or phaseplot plot with asymptotes
+figure(0)
+gainplot(Gs,fmin,fmax);
+bode_asymp(Gs,wmin,wmax);
+xstring(0.03,22,"slope=-1(-20db/dec)",0,0);
+xstring(0.2,9,"slope=0",0,0);
+xstring(3,7,"slope=-1(-20db/dec)",0,0)
+xstring(0.9,-8,"slope=-2(-40db/dec)",0,0)
+title('Composit plots (a) magnitude plot','fontsize',3);
+h=legend('');
+exec .\fig_settings.sci; //custom script for setting figure properties
+h.visible = "off"
+//------------------------------------------------------------------
+
+//phase plot for poles and zeros
+zr=((s/0.5)+1)/s //infact this is zero and pole at origin.
+zr=syslin('c', zr);
+pl1=1/((s/10)+1)
+pl1=syslin('c', pl1);
+pl2=1/((s/50)+1)
+pl2=syslin('c', pl2);
+figure(1)
+phaseplot([Gs;zr;pl1;pl2],fmin,fmax);
+xstring(5.5,-14,"$\frac {1}{s/0.5+1}$",0,0);
+xstring(2.8,-22,"$\frac{1}{s/50+1}$",0,0);
+xstring(2.5,-60,"$\frac{1}{s/10+1}$",0,0);
+xstring(1.2,-100,["Composite";"(Actual)"],0,0);
+title('Composit plots (b) Phase','fontsize',3);
+exec .\fig_settings.sci; //custom script for setting figure properties
+
+//------------------------------------------------------------------
+figure(2)
+bode(Gs,fmin,fmax,"rad"); //frequency scale n radians
+bode_asymp(Gs,wmin,wmax);
+exec .\fig_settings.sci; //custom script for setting figure properties
+title('(c) magnitude plot and phase plot approximate and actual...
+','fontsize',3)
+xstring(2.8,-22,"$\frac{1}{s/50+1}$",0,0);
+h=legend('');
+h.visible = "off"
+
+//------------------------------------------------------------------
diff --git a/3432/CH6/EX6.3/Ex6_3_f0.pdf b/3432/CH6/EX6.3/Ex6_3_f0.pdf Binary files differnew file mode 100644 index 000000000..f3440487a --- /dev/null +++ b/3432/CH6/EX6.3/Ex6_3_f0.pdf diff --git a/3432/CH6/EX6.3/Ex6_3_f1.pdf b/3432/CH6/EX6.3/Ex6_3_f1.pdf Binary files differnew file mode 100644 index 000000000..fa0837daa --- /dev/null +++ b/3432/CH6/EX6.3/Ex6_3_f1.pdf diff --git a/3432/CH6/EX6.4/Ex6_4.sce b/3432/CH6/EX6.4/Ex6_4.sce new file mode 100644 index 000000000..6e1124ae6 --- /dev/null +++ b/3432/CH6/EX6.4/Ex6_4.sce @@ -0,0 +1,28 @@ +//Example 6.4
+//Bode Plot with Complex Poles.
+
+xdel(winsid())//close all graphics Windows
+clear;
+clc;
+//------------------------------------------------------------------
+//System transfer function and its bode plot
+K=10;
+s=poly(0,'s');
+Gs=syslin('c',(K)/(s*(s^2+0.4*s+4)));
+//The bode plot of the system
+
+fmin=0.1/2/%pi; //mininmum frq. in Hz for response (0.1 rad/sec)
+fmax=10/2/%pi; //maximum frq. in Hz for response (100 read/sec)
+//------------------------------------------------------------------
+//Bode plot for frequency in Hz (scilab ver. 5.4.1)
+//bode(g,fmin,fmax);
+//OR
+//Bode plot for frequency in rad/sec (scilab ver. 5.5.1)
+bode(Gs,fmin,fmax,0.01,"rad")
+
+//------------------------------------------------------------------
+title(['Bode plot for a transfer function with complex poles';...
+ '(a) magnitude...
+ (b) phase'],'fontsize',3)
+
+//------------------------------------------------------------------
diff --git a/3432/CH6/EX6.4/Ex6_4_f0.pdf b/3432/CH6/EX6.4/Ex6_4_f0.pdf Binary files differnew file mode 100644 index 000000000..58d9414da --- /dev/null +++ b/3432/CH6/EX6.4/Ex6_4_f0.pdf diff --git a/3432/CH6/EX6.6/Ex6_6.sce b/3432/CH6/EX6.6/Ex6_6.sce new file mode 100644 index 000000000..a70ab9c7a --- /dev/null +++ b/3432/CH6/EX6.6/Ex6_6.sce @@ -0,0 +1,30 @@ +//Example 6.6
+//Bode Plot for Complex Poles and Zeros:
+//Satellite with Flexible appendages.
+
+xdel(winsid())//close all graphics Windows
+clear;
+clc;
+//------------------------------------------------------------------
+//System transfer function and its bode plot
+K=0.01;
+s=poly(0,'s');
+NumG=K*(s^2+0.01*s+1);
+DenG=s^2*((s^2/4)+0.02*(s/2)+1)
+sysG=syslin('c',NumG/DenG);
+
+fmin=0.09/2/%pi; //mininmum frq. in Hz for response (0.1 rad/sec)
+fmax=11/2/%pi; //maximum frq. in Hz for response (100 read/sec)
+//------------------------------------------------------------------
+//Bode plot for frequency in Hz (scilab ver. 5.4.1)
+//bode(g,fmin,fmax);
+//OR
+//Bode plot for frequency in rad/sec (scilab ver. 5.5.1)
+bode(sysG,fmin,fmax,0.01,"rad")
+
+//------------------------------------------------------------------
+title(["Bode plot for a transfer function with complex...
+poles and zeros"; "(a) magnitude (b) phase"],'fontsize',3)
+//------------------------------------------------------------------
+
+disp('NOTE : Result of the above example can be verified by checking the figures shown in example 6.5')
diff --git a/3432/CH6/EX6.6/Ex6_6_f0.pdf b/3432/CH6/EX6.6/Ex6_6_f0.pdf Binary files differnew file mode 100644 index 000000000..9e2dc1595 --- /dev/null +++ b/3432/CH6/EX6.6/Ex6_6_f0.pdf diff --git a/3432/CH6/EX6.7/EX6_7_f0.pdf b/3432/CH6/EX6.7/EX6_7_f0.pdf Binary files differnew file mode 100644 index 000000000..9e46a121d --- /dev/null +++ b/3432/CH6/EX6.7/EX6_7_f0.pdf diff --git a/3432/CH6/EX6.7/Ex6_7.sce b/3432/CH6/EX6.7/Ex6_7.sce new file mode 100644 index 000000000..0ea6d5b7f --- /dev/null +++ b/3432/CH6/EX6.7/Ex6_7.sce @@ -0,0 +1,44 @@ +//Example 6.7
+//Computation of velocity error constant Kv from Bode plot
+
+xdel(winsid())//close all graphics Windows
+clear;
+clc;
+//------------------------------------------------------------------
+//System transfer function and its bode plot
+K=10;
+s=poly(0,'s');
+Gs=syslin('c',(K)/(s*(s+1)));
+//The bode plot of the system
+
+fmin=0.01/2/%pi; //mininmum frq. in Hz for response (0.1 rad/sec)
+fmax=10/2/%pi; //maximum frq. in Hz for response (100 read/sec)
+//------------------------------------------------------------------
+//Bode plot for frequency in Hz (scilab ver. 5.4.1)
+//bode(g,fmin,fmax);
+//OR
+//Bode plot for frequency in rad/sec (scilab ver. 5.5.1)
+bode(Gs,fmin,fmax,0.01,"rad")
+title(['Determination of Kv from the Bode plot for the system',...
+'$10/[s(s+1)]$'],'fontsize',3)
+//choose frequency (rad) and magnitude from bode plot and calculate Kv
+//Here at w=0.01, magngitude in db is M=60
+//i.e actual magnitude of the reponse is |A|=10^(M/20)
+w=0.01; // in rad
+M=60 // in db
+A=10^(M/20) //actual gain
+
+//Velocity error constant Kv=w*|A(w)|
+Kv=w*A;
+disp(Kv,"The Velocity error Constant from bode plot is: ")
+//------------------------------------------------------------------
+// Computation of the Kv
+[frq repf]=repfreq(Gs,fmin,fmax);
+//frq in Hz, repf is freq. response in rectangular form.
+//From bode plot, Kv=w*|A(w)|
+//i.e Kv=2*pi*f*|A(2*pi*f)|
+
+idx=1;//selecting the frequency and response at that frequency from arrays
+Kv=2*%pi*frq(idx)*abs(repf(idx))
+disp(Kv,"The Velocity error Constant is computed at 0.0015915 Hz (0.01 rad/sec) : ")
+//------------------------------------------------------------------
diff --git a/3432/CH6/EX6.8/Ex6_8.sce b/3432/CH6/EX6.8/Ex6_8.sce new file mode 100644 index 000000000..6625052d3 --- /dev/null +++ b/3432/CH6/EX6.8/Ex6_8.sce @@ -0,0 +1,48 @@ +//Example 6.8
+// Nyquist plot for a second order system.
+
+xdel(winsid())//close all graphics Windows
+clear;
+clc;
+//------------------------------------------------------------------
+//System transfer function and its root locus
+s=poly(0,'s');
+g=1/(s+1)^2;
+sysG=syslin('c',g);
+
+evans(sysG);
+exec .\fig_settings.sci; //custom script for setting figure properties
+f=gca();
+f.x_location = "origin"
+f.y_location = "origin"
+title(['Root locus of','$G(s)=1/(s+1)^2$','with respect to K'],...
+'fontsize',3)
+zoom_rect([-3,-2,2,3])
+h=legend('');
+h.visible = "off"
+//------------------------------------------------------------------
+figure(1)
+//The bode plot of the system
+fmin=0.01/2/%pi; //mininmum frq. in Hz for response (0.1 rad/sec)
+fmax=100/2/%pi; //maximum frq. in Hz for response (100 read/sec)
+
+//Bode plot for frequency in Hz (scilab ver. 5.4.1)
+//bode(g,fmin,fmax);
+//OR
+//Bode plot for frequency in rad/sec (scilab ver. 5.5.1)
+bode(sysG,fmin,fmax,0.01,"rad")
+title(['Open loop bode plot for', '$G(s)=1/(s+1)^2$'],'fontsize',3);
+exec .\fig_settings.sci; //custom script for setting figure properties
+//------------------------------------------------------------------
+
+figure(2)
+//The nyquist plot of the system
+nyquist(sysG);
+title('Nyquist plot of the evaluation of K G(s) for s=C1 and K=1'...
+,'fontsize',3);
+exec .\fig_settings.sci; //custom script for setting figure properties
+f=gca();
+f.x_location = "origin"
+f.y_location = "origin"
+xset('color',2)
+//------------------------------------------------------------------
diff --git a/3432/CH6/EX6.8/Ex6_8_f0.pdf b/3432/CH6/EX6.8/Ex6_8_f0.pdf Binary files differnew file mode 100644 index 000000000..2bb5cdb61 --- /dev/null +++ b/3432/CH6/EX6.8/Ex6_8_f0.pdf diff --git a/3432/CH6/EX6.8/Ex6_8_f1.pdf b/3432/CH6/EX6.8/Ex6_8_f1.pdf Binary files differnew file mode 100644 index 000000000..690c6b5e1 --- /dev/null +++ b/3432/CH6/EX6.8/Ex6_8_f1.pdf diff --git a/3432/CH6/EX6.9/Ex6_9.sce b/3432/CH6/EX6.9/Ex6_9.sce new file mode 100644 index 000000000..a66b127dc --- /dev/null +++ b/3432/CH6/EX6.9/Ex6_9.sce @@ -0,0 +1,53 @@ +//Example 6.9
+// Nyquist plot for a third order system.
+
+xdel(winsid())//close all graphics Windows
+clear;
+clc;
+//------------------------------------------------------------------
+//System transfer function
+s=poly(0,'s');
+g=syslin('c',1/(s*(s+1)^2));
+
+//The bode plot of the system
+fmin=0.01/2/%pi;
+fmax=100/2/%pi;
+//[frq,repf]=repfreq(g1,fmin,fmax,0.01);
+bode(g,fmin,fmax,"rad");
+frq=[1,10]/2/%pi;
+[frq, repf]=repfreq(g,frq);
+[db, phi]=dbphi(repf);
+plot(frq*2*%pi,db,'ro');
+exec .\fig_settings.sci; //custom script for setting figure properties
+title(["Bode plot for","$G(s)=1/[s(s+1)^2]$"],'fontsize',3)
+//zoom_rect([[0.1 0] -70 [12 -180] 20])
+xset("font size", 3);
+
+xstring(1,0,"$C\,\, (\omega=1)$",0,0);
+xstring(2,-75,"$E\,\, (\omega=10)$",0,0);
+f=gca();
+
+//------------------------------------------------------------------
+//The nyquist plot of the system
+figure;
+nyquist(g,0.8/2/%pi,10/2/%pi,0.02)
+
+exec .\fig_settings.sci; //custom script for setting figure properties
+title(["Nyquist plot for","$G(s)=1/[s(s+1)]^2$"],'fontsize',3)
+f=gca();
+f.x_location = "origin";
+f.y_location = "origin";
+zoom_rect([-1 -0.2 0.5 0.2]);
+xset("clipping", -1.2, 0.2, 1.4,0.4);
+xset("font size", 3);
+xset("color",2);
+xstring(-0.6,0.1,"${\fgcolor{blue}{\omega<0}}$",0,0);
+xstring(-0.6,-0.1,"${\fgcolor{blue}{\omega>0}}$",0,0);
+xstring(-0.7,0.005,"${\fgcolor{blue}{\omega=\pm 1}}$",0,0);
+xstring(-1,-0.2,...
+"${\fgcolor{blue}{\text{From \infty at \omega=0^+}}$",0,0);
+ xstring(-0.7,0.15,"${\fgcolor{blue}...
+ {\text{Towards \infty at \omega=0^-}}$",0,0);
+xstring(-0.525,-0.04,"C",0,0);
+xstring(-0.075,0,"E",0,0);
+//------------------------------------------------------------------
diff --git a/3432/CH6/EX6.9/Ex6_9_f0.pdf b/3432/CH6/EX6.9/Ex6_9_f0.pdf Binary files differnew file mode 100644 index 000000000..0717e6cf9 --- /dev/null +++ b/3432/CH6/EX6.9/Ex6_9_f0.pdf diff --git a/3432/CH6/EX6.9/Ex6_9_f1.pdf b/3432/CH6/EX6.9/Ex6_9_f1.pdf Binary files differnew file mode 100644 index 000000000..482ef9388 --- /dev/null +++ b/3432/CH6/EX6.9/Ex6_9_f1.pdf diff --git a/3432/CH6/EX7.29/Ex7_29.sce b/3432/CH6/EX7.29/Ex7_29.sce new file mode 100644 index 000000000..a0c479432 --- /dev/null +++ b/3432/CH6/EX7.29/Ex7_29.sce @@ -0,0 +1,74 @@ +//Example 7.29
+// A reduced order compensator design for a satellite attitude control
+
+xdel(winsid())//close all graphics Windows
+clear;
+clc;
+//------------------------------------------------------------------
+// State space representation
+F=[0 1;0 0];
+G=[0 1]';
+H=[1 0];
+J=0;
+n=sqrt(length(F));//order of the system
+
+//partioned system
+Faa=F(1,1); Fab=F(1,2);
+Fba=F(2,1); Fbb=F(2,2);
+Ga=G(1);Gb=G(2);
+
+// Desired estimator poles
+Pe=[-5];
+// Observer gain matrix for system
+L=ppol(Fbb',Fab',Pe);
+L=L';
+disp(L,"L=" );
+//------------------------------------------------------------------
+//State feedback control law u=-Kx=-(K+[L*k2 0])[y xc]';
+k1=1; k2=sqrt(2);
+K=[k1 k2];
+Kc=K+[L*k2 0];
+//------------------------------------------------------------------
+//compensator differential equation
+//xc_dot=(Fbb-L*Fab)*xb_hat + (Fba - L*Faa)*y + (Gb - L*Ga)*u
+//xc_dot=((Fbb-L*Fab)-k2)*xc + [(Fba - L*Faa)-(Gb - L*Ga)*(k1+L*k2)+L*(Fbb-L*Fab)]*y
+Fc=(Fbb-L*Fab)-Gb*k2
+Fy=(Fba - L*Faa)-(Gb - L*Ga)*(k1+k2*L)+(Fbb-L*Fab)*L
+//compensator transfer function
+s=poly(0,'s');
+Gest=syslin('c',Fy/(s-Fc))//estimator transfer function
+Dcr=-[k1+L*k2+k2*Gest]
+disp(Dcr,'Dcr','compensator transfer function')
+//------------------------------------------------------------------
+//Root locus with reduced order compensator
+G=1/s^2;
+G=syslin('c',G);
+exec('./zpk_dk.sci', -1);
+[pl,zr Kp]=zpk_dk(Dcr);
+
+Dcr=poly(zr,'s','roots')/poly(pl,'s','roots')
+Dcr=syslin('c',Dcr);
+evans(G*Dcr)
+zoom_rect([-8 -4 2 4])
+
+f=gca();
+f.x_location = "origin"
+f.y_location = "origin"
+xset("color",2);
+h=legend('');
+h.visible = "off"
+
+//Title, labels and grid to the figure
+exec .\fig_settings.sci; //custom script for setting figure properties
+title(['Root locus of a reduced order controller and',"$1/s^2$",...
+ "process"],'fontsize',3);
+//------------------------------------------------------------------
+//Frequnecy response for 1/s^2 and compensated
+
+figure,
+bode([-Kp*G*Dcr;G],0.01/2/%pi,100/2/%pi,"rad");
+title(["Frequency response","$G(s)=1/s^2$", "with a reduced...
+ order estimator"],'fontsize',3)
+exec .\fig_settings.sci; //custom script for setting figure properties
+legend('Compensated','Uncompensated')
+//------------------------------------------------------------------
diff --git a/3432/CH6/EX7.29/Ex7_29_f0.pdf b/3432/CH6/EX7.29/Ex7_29_f0.pdf Binary files differnew file mode 100644 index 000000000..c2a23bbb2 --- /dev/null +++ b/3432/CH6/EX7.29/Ex7_29_f0.pdf diff --git a/3432/CH6/EX7.29/Ex7_29_f1.pdf b/3432/CH6/EX7.29/Ex7_29_f1.pdf Binary files differnew file mode 100644 index 000000000..5b330b97d --- /dev/null +++ b/3432/CH6/EX7.29/Ex7_29_f1.pdf |