%HPLANT HIMAT state-space model.
%


% R. Y. Chiang & M. G. Safonov 8/85
% Copyright 1988-2000 The MathWorks, Inc. 
%       $Revision: 1.5 $
% All Rights Reserved.

ag =[
  -2.2567e-02  -3.6617e+01  -1.8897e+01  -3.2090e+01   3.2509e+00  -7.6257e-01
   9.2572e-05  -1.8997e+00   9.8312e-01  -7.2562e-04  -1.7080e-01  -4.9652e-03
   1.2338e-02   1.1720e+01  -2.6316e+00   8.7582e-04  -3.1604e+01   2.2396e+01
            0            0   1.0000e+00            0            0            0
            0            0            0            0  -3.0000e+01            0
            0            0            0            0            0  -3.0000e+01];

bg =[
     0     0
     0     0
     0     0
     0     0
    30     0
     0    30];

cg =[
     0     1     0     0     0     0
     0     0     0     1     0     0];


dg =[
     0     0
     0     0];

A =[
  -2.2567e-02  -3.6617e+01  -1.8897e+01  -3.2090e+01   3.2509e+00  -7.6257e-01
   9.2572e-05  -1.8997e+00   9.8312e-01  -7.2562e-04  -1.7080e-01  -4.9652e-03
   1.2338e-02   1.1720e+01  -2.6316e+00   8.7582e-04  -3.1604e+01   2.2396e+01
            0            0   1.0000e+00            0            0            0
            0            0            0            0  -3.0000e+01            0
            0            0            0            0            0  -3.0000e+01
            0  -1.0000e+00            0            0            0            0
            0            0            0  -1.0000e+00            0            0];
A = [A,[    0            0
            0            0
            0            0
            0            0
            0            0
            0            0
  -1.0000e-02            0
            0  -1.0000e-02]];

B1 =[
     0     0
     0     0
     0     0
     0     0
     0     0
     0     0
     1     0
     0     1];

B2 =[
     0     0
     0     0
     0     0
     0     0
    30     0
     0    30
     0     0
     0     0];

C1 =[
            0  -1.0000e-02            0            0            0            0
            0            0            0  -1.0000e-02            0            0
   1.1952e-05   1.5128e-02  -4.4573e-03  -7.3114e-07  -2.5622e-02   2.2176e-02
   1.2322e-05   1.1693e-02  -2.6225e-03   6.7245e-07  -3.1089e-02   2.2031e-02];
C1 = [C1, [ 9.9990e-01            0
            0   9.9990e-01
            0            0
            0            0]];

C2 =[
     0    -1     0     0     0     0     0     0
     0     0     0    -1     0     0     0     0];

D11 =[
   1.0000e-02            0
            0   1.0000e-02
            0            0
            0            0];

D12 =[
            0            0
            0            0
  -5.1240e-03  -1.4896e-04
  -4.7406e-04   3.3594e-04];

D21 =[
     1     0
     0     1];

D22 =[
     0     0
     0     0];
%
% ------ End of HPLANT.M % RYC/MGS %