| 1 | /* |
| 2 | * PMSM_Motor_TL3_sf_data.c |
| 3 | * |
| 4 | * Code generation for model "PMSM_Motor_TL3_sf". |
| 5 | * |
| 6 | * Model version : 1.825 |
| 7 | * Simulink Coder version : 9.4 (R2020b) 29-Jul-2020 |
| 8 | * C source code generated on : Fri Apr 14 12:51:02 2023 |
| 9 | * |
| 10 | * Target selection: rtwsfcn.tlc |
| 11 | * Note: GRT includes extra infrastructure and instrumentation for prototyping |
| 12 | * Embedded hardware selection: ARM Compatible->ARM Cortex-M |
| 13 | * Emulation hardware selection: |
| 14 | * Differs from embedded hardware (MATLAB Host) |
| 15 | * Code generation objectives: |
| 16 | * 1. Execution efficiency |
| 17 | * 2. RAM efficiency |
| 18 | * Validation result: Not run |
| 19 | */ |
| 20 | |
| 21 | #include "PMSM_Motor_TL3_sf.h" |
| 22 | #include "PMSM_Motor_TL3_sf_private.h" |
| 23 | |
| 24 | /* Constant parameters (default storage) */ |
| 25 | const ConstP_PMSM_Motor_TL3_T PMSM_Motor_TL3_ConstP = { |
| 26 | /* Expression: zeros(1,Switches) |
| 27 | * Referenced by: '<S19>/Constant' |
| 28 | */ |
| 29 | { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 }, |
| 30 | |
| 31 | /* Expression: S.D |
| 32 | * Referenced by: '<S20>/State-Space' |
| 33 | */ |
| 34 | { -25.0, 25.0, 0.0, 0.0, 0.0, 0.0, 25.0, 0.0, 0.5, 25.0, -25.0, 0.0, 0.0, 0.0, |
| 35 | 0.0, -25.0, 0.0, 0.5, 0.0, 0.0, -25.0, 25.0, 0.0, 0.0, -25.0, 25.0, 0.5, 0.0, |
| 36 | 0.0, 25.0, -25.0, 0.0, 0.0, 25.0, -25.0, 0.5, 0.0, 0.0, 0.0, 0.0, -25.0, |
| 37 | 25.0, 0.0, -25.0, 0.5, 0.0, 0.0, 0.0, 0.0, 25.0, -25.0, 0.0, 25.0, 0.5, 25.0, |
| 38 | -25.0, 0.0, 0.0, -25.0, 25.0, -25.0, -25.0, 0.0, 0.0, 0.0, 25.0, -25.0, |
| 39 | -25.0, 25.0, 25.0, -50.0, 0.0, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.0, 0.0, 0.03 |
| 40 | } |
| 41 | }; |
| 42 | |