📄 serialsim_no_observer_acc_data.c
字号:
/*
* serialsim_no_observer_acc_data.c
*
* Real-Time Workshop code generation for Simulink model "serialsim_no_observer_acc.mdl".
*
* Model Version : 1.15
* Real-Time Workshop file version : 5.1 $Date: 2003/08/08 18:37:24 $
* Real-Time Workshop file generated on : Wed May 30 15:01:44 2007
* TLC version : 5.1 (Aug 8 2003)
* C source code generated on : Wed May 30 15:01:44 2007
*/
#include "serialsim_no_observer_acc.h"
#include "serialsim_no_observer_acc_private.h"
/* Block parameters (auto storage) */
serialsim_no_observer_Parameters serialsim_no_observer_DefaultParameters = {
/* Analog_Filter_Design_A : '<Root>/Analog Filter Design' */
{ -1.2324911326655176E+003, -6.2831853071795877E+002, 6.2831853071795865E+002,
6.2831853071795865E+002, -1.0448555302771319E+003, -6.2831853071795865E+002,
6.2831853071795865E+002, 6.2831853071795865E+002, -6.9815014504302042E+002,
-6.2831853071795865E+002, 6.2831853071795854E+002, 6.2831853071795877E+002,
-2.4515772897293417E+002, -6.2831853071795877E+002, 6.2831853071795854E+002
} ,
6.2831853071795865E+002 , /* Analog_Filter_Design_B : '<Root>/Analog Filter Design' */
1.0000000000000004E+000 , /* Analog_Filter_Design_C : '<Root>/Analog Filter Design' */
0.0 , /* Analog_Filter_Design_X0 : '<Root>/Analog Filter Design' */
1.0 , /* Constant3_a_Value : '<S30>/Constant3' */
0.0 , /* phiqr_IC : '<S27>/phiqr' */
0.0 , /* phidr_IC : '<S27>/phidr' */
4.5892756899897158E+000 , /* Llr_a_Gain : '<S26>/1Llr' */
0.0 , /* phiqs_IC : '<S28>/phiqs' */
0.0 , /* phids_IC : '<S28>/phids' */
4.5892756899897158E+000 , /* Lls_Gain : '<S26>/1Lls' */
1.0666399723560439E-001 , /* Llr1_a_Gain : '<S26>/1Llr1' */
4.5892756899897158E+000 , /* Llr_b_Gain : '<S27>/1Llr' */
1.0666399723560439E-001 , /* Llr2_a_Gain : '<S26>/1Llr2' */
4.5892756899897158E+000 , /* Llr2_b_Gain : '<S27>/1Llr2' */
4.5892756899897158E+000 , /* Llr_c_Gain : '<S28>/1Llr' */
4.5892756899897158E+000 , /* Llr2_c_Gain : '<S28>/1Llr2' */
0.0 , /* Integrator1_IC : '<S25>/Integrator1' */
0.0 , /* Integrator_a_IC : '<S25>/Integrator' */
1.0 , /* Constant3_c_Value : '<S29>/Constant3' */
/* Constant6_a_Value : '<S35>/Constant6' */
{ 0.0, 0.0 } ,
0.0 , /* Memory1_X0 : '<S17>/Memory1' */
0.0 , /* Step_Time : '<S7>/Step' */
0.0 , /* Step_Y0 : '<S7>/Step' */
1.0 , /* Step_YFinal : '<S7>/Step' */
1.0 , /* Step1_Time : '<S7>/Step1' */
0.0 , /* Step1_Y0 : '<S7>/Step1' */
1.0 , /* Step1_YFinal : '<S7>/Step1' */
1.5 , /* Step2_Time : '<S7>/Step2' */
0.0 , /* Step2_Y0 : '<S7>/Step2' */
1.0 , /* Step2_YFinal : '<S7>/Step2' */
2.0 , /* Step3_Time : '<S7>/Step3' */
0.0 , /* Step3_Y0 : '<S7>/Step3' */
1.0 , /* Step3_YFinal : '<S7>/Step3' */
1.0 , /* Pulse_Generator_Amp : '<S5>/Pulse Generator' */
0.002 , /* Pulse_Generator_Period : '<S5>/Pulse Generator' */
5.0 , /* Pulse_Generator_Duty : '<S5>/Pulse Generator' */
0.0 , /* T2_a_Value : '<S5>/T2' */
0.0 , /* T3_a_Value : '<S5>/T3' */
1.0 , /* T4_a_Value : '<S5>/T4' */
0.0 , /* T1_a_Value : '<S5>/T1' */
0.0 , /* T7_Value : '<S5>/T7' */
0.0 , /* T1_b_Value : '<S9>/T1' */
0.0 , /* T2_b_Value : '<S9>/T2' */
0.0 , /* T3_b_Value : '<S9>/T3' */
1.0 , /* T4_b_Value : '<S9>/T4' */
0.0 , /* T5_a_Value : '<S9>/T5' */
0.0 , /* T6_a_Value : '<S9>/T6' */
1.0 , /* Pulse_Generator1_Amp : '<S5>/Pulse Generator1' */
0.003 , /* Pulse_Generator1_Period : '<S5>/Pulse Generator1' */
50.0 , /* Pulse_Generator1_Duty : '<S5>/Pulse Generator1' */
1.0 , /* Pulse_Generator2_Amp : '<S5>/Pulse Generator2' */
0.003 , /* Pulse_Generator2_Period : '<S5>/Pulse Generator2' */
50.0 , /* Pulse_Generator2_Duty : '<S5>/Pulse Generator2' */
1.0 , /* Pulse_Generator3_Amp : '<S5>/Pulse Generator3' */
0.003 , /* Pulse_Generator3_Period : '<S5>/Pulse Generator3' */
50.0 , /* Pulse_Generator3_Duty : '<S5>/Pulse Generator3' */
1.0 , /* Pulse_Generator4_Amp : '<S5>/Pulse Generator4' */
0.003 , /* Pulse_Generator4_Period : '<S5>/Pulse Generator4' */
50.0 , /* Pulse_Generator4_Duty : '<S5>/Pulse Generator4' */
0.0 , /* T8_Value : '<S5>/T8' */
0.0 , /* T9_Value : '<S5>/T9' */
0.15 , /* m4_Value : '<S8>/m4' */
0.0 , /* m3_Value : '<S8>/m3' */
1.7453292519943295E-002 , /* Gain2_Gain : '<S8>/Gain2' */
/* Constant_c_Value : '<S8>/Constant' */
{ 0.0, -2.0943951023931953E+000, 2.0943951023931953E+000 } ,
1.0 , /* Constant1_b_Value : '<S8>/Constant1' */
0.5 , /* Switch_b_Threshold : '<S8>/Switch' */
/* Look_Up_Table1_XData : '<S10>/Look-Up Table1' */
{ 0.0, 2.3148148148148147E-005, 6.9444444444444444E-005,
9.2592592592592588E-005 } ,
/* Look_Up_Table1_YData : '<S10>/Look-Up Table1' */
{ 0.0, -1.0, 1.0, 0.0 } ,
0.0 , /* T5_b_Value : '<S5>/T5' */
0.0 , /* T6_b_Value : '<S5>/T6' */
1.0 , /* Constant4_a_Value : '<S30>/Constant4' */
8.3059970368920499E+000 , /* ib_Gain : '<S30>/ib' */
540.0 , /* Constant1_c_Value : '<S1>/Constant1' */
/* State_Space_P1_Size : '<S12>/State-Space' */
{ 0.0, 0.0 } ,
/* State_Space_P2_Size : '<S12>/State-Space' */
{ 0.0, 9.0 } ,
/* State_Space_P3_Size : '<S12>/State-Space' */
{ 9.0, 0.0 } ,
/* State_Space_P4_Size : '<S12>/State-Space' */
{ 9.0, 9.0 } ,
/* State_Space_P4 : '<S12>/State-Space' */
{ -50000.0, 50000.0, 0.0, 0.0, 0.0, 0.0, 50000.0, 0.0, 50000.0, 50000.0,
-50000.0, 0.0, 0.0, 0.0, 0.0, -50000.0, 0.0, -50000.0, 0.0, 0.0, -50000.0,
50000.0, 0.0, 0.0, -50000.0, 50000.0, -50000.0, 0.0, 0.0, 50000.0, -50000.0,
0.0, 0.0, 50000.0, -50000.0, 50000.0, 0.0, 0.0, 0.0, 0.0, -50000.0, 50000.0,
0.0, -50000.0, 0.0, 0.0, 0.0, 0.0, 0.0, 50000.0, -50000.0, 0.0, 50000.0,
0.0, 50000.0, -50000.0, 0.0, 0.0, -50000.0, 50000.0, -50000.0, -50000.0,
-50000.0, 0.0, 0.0, 50000.0, -50000.0, -50000.0, 50000.0, 50000.0,
-1.0E+005, 50000.0, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.0, 0.0, 0.0 } ,
/* State_Space_P5_Size : '<S12>/State-Space' */
{ 0.0, 1.0 } ,
/* State_Space_P6_Size : '<S12>/State-Space' */
{ 6.0, 1.0 } ,
/* State_Space_P6 : '<S12>/State-Space' */
{ 0.001, 0.001, 0.001, 0.001, 0.001, 0.001 } ,
/* State_Space_P7_Size : '<S12>/State-Space' */
{ 1.0, 6.0 } ,
/* State_Space_P7 : '<S12>/State-Space' */
{ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 } ,
5.5670221426890416E-003 , /* Vb_Gain : '<S29>/1_Vb' */
1.0 , /* Constant4_b_Value : '<S29>/Constant4' */
0.5 , /* p_Gain : '<S25>/1p' */
/* Gain_a_Gain : '<S24>/Gain' */
{ 8.3059970368920499E+000, 8.3059970368920499E+000, 8.3059970368920499E+000,
8.3059970368920499E+000, 8.3059970368920499E+000, 5.7177765423802906E-001,
5.7177765423802906E-001, 1.7962924780409972E+002, 1.7962924780409972E+002,
8.3059970368920499E+000, 8.3059970368920499E+000, 8.3059970368920499E+000,
8.3059970368920499E+000, 8.3059970368920499E+000, 5.7177765423802906E-001,
5.7177765423802906E-001, 1.7962924780409972E+002, 1.7962924780409972E+002,
1.5707963267948966E+002, 1.4247550505586471E+001, 1.0 } ,
/* padding_Value : '<S4>/padding' */
{ 0.0, 0.0, 0.0, 0.0, 0.0 } ,
/* lastStatus_Value : '<S4>/lastStatus' */
{ 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 1.0, 1.0, 1.0, 0.0, 0.0, 0.0, 0.0 }
,
0.0 , /* TL2_Value : '<Root>/TL2' */
-1.0 , /* Gain3_Gain : '<S8>/Gain3' */
0.0 , /* Simulation_method_Value : '<S6>/Simulation method' */
1000.0 , /* Rsw_Gain : '<S17>/1//Rsw' */
0.0 , /* Constant1_e_Value : '<S17>/Constant1' */
0.0 , /* id_d_Value : '<S18>/0 2' */
-1.0 , /* Gain_b_Gain : '<S17>/Gain' */
0.0 , /* Vpos_Value : '<S19>/Vpos' */
0.0 , /* id_f_Value : '<S19>/ ' */
0.0 , /* Memory2_X0 : '<S17>/Memory2' */
/* Vf_device_Value : '<S21>/Vf device' */
{ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 } ,
/* Vf_diode_Value : '<S21>/Vf diode' */
{ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 } ,
7.0187503431407353E-002 , /* Tb2_Gain : '<S25>/1_Tb2' */
0.0 , /* F_Gain : '<S25>/F' */
1.0191317258047279E+000 , /* H_Gain : '<S25>/1_2H' */
3.1415926535897933E+002 , /* web_psb_a_Gain : '<S25>/web_psb' */
1.1559917355371900E-001 , /* Llr1_b_Gain : '<S27>/1Llr1' */
1.1559917355371900E-001 , /* Llr3_a_Gain : '<S27>/1Llr3' */
1.0 , /* Constant1_f_Value : '<S31>/Constant1' */
0.0 , /* Constant2_c_Value : '<S31>/Constant2' */
3.1415926535897933E+002 , /* web1_a_Gain : '<S27>/web1' */
3.1415926535897933E+002 , /* web_psb_b_Gain : '<S27>/web_psb' */
1.1559917355371900E-001 , /* Llr1_c_Gain : '<S28>/1Llr1' */
1.1559917355371900E-001 , /* Llr3_b_Gain : '<S28>/1Llr3' */
1.0 , /* Constant4_c_Value : '<S31>/Constant4' */
0.0 , /* Constant5_Value : '<S31>/Constant5' */
1.0 , /* Constant6_b_Value : '<S31>/Constant6' */
3.1415926535897933E+002 , /* web1_b_Gain : '<S28>/web1' */
3.1415926535897933E+002 , /* web_psb_c_Gain : '<S28>/web_psb' */
1.8849555921538757E+002 , /* Gain_c_Gain : '<S8>/Gain' */
0.0 , /* options_Y0 : '<S11>/options' */
5.7295779513082323E+001 , /* pi_Gain : '<S11>/180//pi' */
0.0 , /* itail_Y0 : '<S20>/itail' */
1.0 , /* id_p_Value : '<S20>/1' */
0.0 , /* Integrator_b_IC : '<S20>/Integrator' */
/* Look_Up_Table_XData : '<S20>/Look-Up Table' */
{ 0.0, 1.0000000002220446E-006, 3.0000000004440893E-006,
3.0000000006661339E-006 } ,
/* Look_Up_Table_YData : '<S20>/Look-Up Table' */
{ 1.0, 0.1, 0.0, 0.0 } ,
0.0 , /* Memory_d_X0 : '<S20>/Memory' */
0.0 , /* vqr_vdr_a_Y0 : '<S32>/vqr,vdr' */
0.0 , /* vqs_vds_a_Y0 : '<S32>/vqs,vds' */
0.0 , /* vqr_vdr_b_Y0 : '<S33>/vqr,vdr' */
0.0 , /* vqs_vds_b_Y0 : '<S33>/vqs,vds' */
0.0 , /* vqr_vdr_c_Y0 : '<S34>/vqr,vdr' */
0.0 , /* vqs_vds_c_Y0 : '<S34>/vqs,vds' */
0.0 , /* ira_irb_a_Y0 : '<S36>/ira,irb' */
0.0 , /* isa_isb_a_Y0 : '<S36>/isa,isb' */
0.0 , /* ira_irb_b_Y0 : '<S37>/ira,irb' */
0.0 , /* isa_isb_b_Y0 : '<S37>/isa,isb' */
0.0 , /* ira_irb_c_Y0 : '<S38>/ira,irb' */
0.0 , /* isa_isb_c_Y0 : '<S38>/isa,isb' */
-1.0 , /* Gain_d_Gain : '<S31>/Gain' */
0.0 , /* sin_beta_cos_beta_sin_th_co_Y0 : '<S39>/sin(beta),cos(beta), sin(th),cos(th)' */
0.0 , /* we_wr_Y0 : '<S39>/we-wr' */
1.0 , /* we_Value : '<S39>/we' */
3.1415926535897933E+002 , /* web_psb_d_Gain : '<S39>/web_psb' */
0.0 , /* sin_thr_cos_thr_Y0 : '<S40>/sin(thr),cos(thr)' */
/* Constant_e_Value : '<S40>/Constant' */
{ 0.0, 0.0 } ,
{540.0, 0.0} , /* Constant2_d_Value : '<S1>/Constant2' */
1 , /* Constant_a_Value : '<S31>/Constant' */
0 , /* Constant3_b_Value : '<S31>/Constant3' */
1 , /* Constant_b_Value : '<S30>/Constant' */
0 , /* Constant1_a_Value : '<S30>/Constant1' */
0 , /* Constant2_a_Value : '<S30>/Constant2' */
1 , /* id_a_Value : '<S17>/2' */
0 , /* Memory_a_X0 : '<S17>/Memory' */
1 , /* Constant_d_Value : '<S29>/Constant' */
0 , /* Constant1_d_Value : '<S29>/Constant1' */
0 , /* Constant2_b_Value : '<S29>/Constant2' */
1 , /* id_e_Value : '<S18>/0 3' */
0 , /* Memory_b_X0 : '<S22>/Memory' */
0 , /* Memory_c_X0 : '<S23>/Memory' */
1 , /* id_q_Value : '<S20>/2' */
"aa" /* id_q_Value : '<S20>/2' */
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -