|
汽车零部件采购、销售通信录 填写你的培训需求,我们帮你找 招募汽车专业培训老师
本帖最后由 hk_no1 于 2-4-2012 15:17 编辑
mc_description='Solectria ACgtx20/AC300 AC induction motor/controller';
mc_version=2002;
mc_proprietary=0; % 0=> public data, 1=> restricted access, see comments above
mc_validation=0; % 0=> no validation, 1=> data agrees with source data,
% 2=> data matches source data and data collection methods have been verified
disp(['Data loaded: MC_AC25 - ',mc_description]);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TORQUE AND SPEED ranges
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% N-m, torque vector corresponding to columns of efficiency & loss maps
mc_map_trq=[-84 -70 -56 -42 -28 -14 0 14 28 42 56 70 84];
% rad/s, speed vector corresponding to rows of efficiency & loss maps
mc_map_spd=[0 500 1000 1500 2000 2500 3000 3500 3800]*(2*pi)/60;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% LOSSES AND EFFICIENCIES
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
mc_eff_map =[ 0.593 0.65 0.683 0.729 0.764 0.1 0.807 0.785 0.754 0.73 0.708
0.769 0.82 0.843 0.887 0.912 0.1 0.937 0.914 0.88 0.853 0.828
0.875 0.874 0.903 0.918 0.927 0.1 0.941 0.935 0.933 0.92 0.908
0.903 0.914 0.921 0.927 0.911 0.1 0.939 0.948 0.945 0.939 0.931
0.915 0.924 0.931 0.931 0.925 0.1 0.933 0.95 0.954 0.948 0.943
0.914 0.921 0.932 0.93 0.916 0.1 0.932 0.961 0.958 0.951 0.943
0.91 0.91 0.894 0.93 0.901 0.1 0.928 0.955 0.954 0.937 0.937
0.908 0.908 0.909 0.921 0.883 0.1 0.911 0.939 0.94 0.939 0.939
0.897 0.897 0.897 0.903 0.868 0.1 0.89 0.922 0.922 0.922 0.922];
% CONVERT EFFICIENCY MAP TO INPUT POWER MAP
%% find indices of well-defined efficiencies (where speed and torque > 0)
pos_trqs=find(mc_map_trq>0);
pos_spds=find(mc_map_spd>0);
%% compute losses in well-defined efficiency area
[T1,w1]=meshgrid(mc_map_trq(pos_trqs),mc_map_spd(pos_spds));
mc_outpwr1_map=T1.*w1;
mc_losspwr_map=(1./mc_eff_map(pos_spds,pos_trqs)-1).*mc_outpwr1_map;
显示最后一行有错误 谁能告诉我 怎么错了
??? Index exceeds matrix dimensions.
Error in ==> D:\Matlab6p5FULL\advisor2002\data\motor\MC_AC25_HK.m
On line 60 ==> mc_losspwr_map=(1./mc_eff_map(pos_spds,pos_trqs)-1).*mc_outpwr1_map; |
|