Thanks for the response.I have attached the m file .
Hope you know this runs in MATdyn software.

On Wed, Apr 15, 2020 at 12:08 AM Nguyễn Anh <[email protected]> wrote:

>
> My computer does not have data 'case9dyn', can you transfer that data to me
>
> Vào Th 4, 15 thg 4, 2020 vào lúc 01:31 aarthi n <[email protected]>
> đã viết:
>
>> Sir,
>>       I tried to run the example file case9dyn usinf the command
>> rundyn('case9','case9dyn','fault').
>>  The error is "Assignment between unlike type is not allowed" .
>> Error in mpopt(31)=0;
>>
>> Kindly help to resolve this error or is there any other way to simulate
>> case9dyn example given in the manual.
>>
>> Thanks and regards,
>> Art
>>
>
>
> --
> Nguyễn Ngọc Anh
> Khoa Công nghệ Điện - Đại học Công nghiệp TP. Hồ Chí Minh
> Add: 12 Nguyễn Văn Bảo, P.4, Q. Gò Vấp, TP. HCM
>
function [gen,exc,gov,freq,stepsize,stoptime] = case9dyn

% case9dyn
% MatDyn dynamic data file
% 
% MatDyn
% Copyright (C) 2009 Stijn Cole
% Katholieke Universiteit Leuven
% Dept. Electrical Engineering (ESAT), Div. ELECTA
% Kasteelpark Arenberg 10
% 3001 Leuven-Heverlee, Belgium

%% General data

freq = 50;
stepsize = 0.01;
stoptime = 1;

%% Generator data

% [genmodel excmodel govmodel H D xd xq xd_tr xq_tr Td_tr Tq_tr]
% [ genmodel    excmodel    govmodel    H       D       x       x'     ]

gen=[1  1   1   1.20   0.02   0.14    0.14   0 0 0 0;
     1  1   1   2.40   0.01   0.14    0.14   0 0 0 0;
     2  2   1   5.74   0.02   1.93    1.77    0.25    0.25    5.2 0.81];

%% Exciter data

% [gen Ka  Ta  Ke  Te  Kf  Tf  Aex  Bex  Ur_min  Ur_max]
exc=[1 0    0       0       0       0       0   0       0       0       0;
     2 0    0       0       0       0       0   0       0       0       0;
     3 50 0.05    -0.17   0.95    0.04    1   0.014   1.55    -1.7    1.7];


%% Governor data
% [gen K  T1  T2  T3  Pup  Pdown  Pmax  Pmin]
gov=[1  0   0   0   0   0   0   0   0;
     2  0   0   0   0   0   0   0   0;
     3  0   0   0   0   0   0   0   0];


return;

Attachment: case9dyn.docx
Description: MS-Word 2007 document

Reply via email to