Cambios
This commit is contained in:
parent
3e7835e670
commit
84fe092dae
Binary file not shown.
@ -582,7 +582,7 @@
|
||||
},
|
||||
"net_format_name": "",
|
||||
"page_layout_descr_file": "",
|
||||
"plot_directory": "",
|
||||
"plot_directory": "C:/Users/promerogomb/Desktop/bancada-motores/Esquemáticos/Sistema de amplificación PWM/",
|
||||
"spice_current_sheet_as_root": false,
|
||||
"spice_external_command": "spice \"%I\"",
|
||||
"spice_model_current_sheet_as_root": true,
|
||||
|
@ -4970,7 +4970,7 @@
|
||||
(dnp no)
|
||||
(uuid "8f243b87-d8ee-4b8a-a9eb-cd72da71c190")
|
||||
(property "Reference" "J4"
|
||||
(at 273.05 88.9 0)
|
||||
(at 277.368 82.296 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
@ -4978,7 +4978,7 @@
|
||||
)
|
||||
)
|
||||
(property "Value" "Tierra"
|
||||
(at 273.05 86.36 0)
|
||||
(at 277.368 80.264 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
@ -5103,7 +5103,7 @@
|
||||
(dnp no)
|
||||
(uuid "96715d73-d908-4730-a8bb-e18d620c7460")
|
||||
(property "Reference" "J3"
|
||||
(at 273.05 88.9 0)
|
||||
(at 273.05 92.71 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
@ -5111,7 +5111,7 @@
|
||||
)
|
||||
)
|
||||
(property "Value" "SalidaSeñales"
|
||||
(at 273.05 91.44 0)
|
||||
(at 273.05 90.424 0)
|
||||
(effects
|
||||
(font
|
||||
(size 1.27 1.27)
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,13 +0,0 @@
|
||||
#ifndef __OPTIONS_H___
|
||||
#define __OPTIONS_H___
|
||||
|
||||
#include "simstruc_types.h"
|
||||
#ifndef MT
|
||||
#define MT 0 /* MT may be undefined by simstruc_types.h */
|
||||
#endif
|
||||
|
||||
#include "VFControl.h"
|
||||
|
||||
#define FULLMULTITHREAD 1
|
||||
|
||||
#endif // __OPTIONS_H___
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -1,862 +0,0 @@
|
||||
/*
|
||||
* VFControl.h
|
||||
*
|
||||
* Academic License - for use in teaching, academic research, and meeting
|
||||
* course requirements at degree granting institutions only. Not for
|
||||
* government, commercial, or other organizational use.
|
||||
*
|
||||
* Code generation for model "VFControl".
|
||||
*
|
||||
* Model version : 1.1
|
||||
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
|
||||
* C++ source code generated on : Wed Oct 16 11:33:22 2024
|
||||
*
|
||||
* Target selection: speedgoat.tlc
|
||||
* Note: GRT includes extra infrastructure and instrumentation for prototyping
|
||||
* Embedded hardware selection: Intel->x86-64 (Linux 64)
|
||||
* Code generation objectives: Unspecified
|
||||
* Validation result: Not run
|
||||
*/
|
||||
|
||||
#ifndef VFControl_h_
|
||||
#define VFControl_h_
|
||||
#include "rtwtypes.h"
|
||||
#include "simstruc.h"
|
||||
#include "fixedpoint.h"
|
||||
#include "sg_fpga_io30x_setup_util.h"
|
||||
#include "sg_fpga_io31x_io32x_setup_util.h"
|
||||
#include "sg_fpga_io33x_setup_util.h"
|
||||
#include "sg_fpga_io36x_setup_util.h"
|
||||
#include "sg_fpga_io39x_setup_util.h"
|
||||
#include "sg_fpga_io3xx_scatter_gather_dma.h"
|
||||
#include "sg_common.h"
|
||||
#include "sg_printf.h"
|
||||
#include "VFControl_types.h"
|
||||
#include "PWMGenerator.h"
|
||||
#include <stddef.h>
|
||||
#include "rtGetNaN.h"
|
||||
#include <cstring>
|
||||
#include "VFControl_cal.h"
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
||||
#include "rt_nonfinite.h"
|
||||
|
||||
}
|
||||
|
||||
/* Macros for accessing real-time model data structure */
|
||||
#ifndef rtmGetContTimeOutputInconsistentWithStateAtMajorStepFlag
|
||||
#define rtmGetContTimeOutputInconsistentWithStateAtMajorStepFlag(rtm) ((rtm)->CTOutputIncnstWithState)
|
||||
#endif
|
||||
|
||||
#ifndef rtmSetContTimeOutputInconsistentWithStateAtMajorStepFlag
|
||||
#define rtmSetContTimeOutputInconsistentWithStateAtMajorStepFlag(rtm, val) ((rtm)->CTOutputIncnstWithState = (val))
|
||||
#endif
|
||||
|
||||
#ifndef rtmGetDerivCacheNeedsReset
|
||||
#define rtmGetDerivCacheNeedsReset(rtm) ((rtm)->derivCacheNeedsReset)
|
||||
#endif
|
||||
|
||||
#ifndef rtmSetDerivCacheNeedsReset
|
||||
#define rtmSetDerivCacheNeedsReset(rtm, val) ((rtm)->derivCacheNeedsReset = (val))
|
||||
#endif
|
||||
|
||||
#ifndef rtmGetFinalTime
|
||||
#define rtmGetFinalTime(rtm) ((rtm)->Timing.tFinal)
|
||||
#endif
|
||||
|
||||
#ifndef rtmGetSampleHitArray
|
||||
#define rtmGetSampleHitArray(rtm) ((rtm)->Timing.sampleHitArray)
|
||||
#endif
|
||||
|
||||
#ifndef rtmGetStepSize
|
||||
#define rtmGetStepSize(rtm) ((rtm)->Timing.stepSize)
|
||||
#endif
|
||||
|
||||
#ifndef rtmGetZCCacheNeedsReset
|
||||
#define rtmGetZCCacheNeedsReset(rtm) ((rtm)->zCCacheNeedsReset)
|
||||
#endif
|
||||
|
||||
#ifndef rtmSetZCCacheNeedsReset
|
||||
#define rtmSetZCCacheNeedsReset(rtm, val) ((rtm)->zCCacheNeedsReset = (val))
|
||||
#endif
|
||||
|
||||
#ifndef rtmGet_TimeOfLastOutput
|
||||
#define rtmGet_TimeOfLastOutput(rtm) ((rtm)->Timing.timeOfLastOutput)
|
||||
#endif
|
||||
|
||||
#ifndef rtmCounterLimit
|
||||
#define rtmCounterLimit(rtm, idx) ((rtm)->Timing.TaskCounters.cLimit[(idx)])
|
||||
#endif
|
||||
|
||||
#ifndef rtmGetErrorStatus
|
||||
#define rtmGetErrorStatus(rtm) ((rtm)->errorStatus)
|
||||
#endif
|
||||
|
||||
#ifndef rtmSetErrorStatus
|
||||
#define rtmSetErrorStatus(rtm, val) ((rtm)->errorStatus = (val))
|
||||
#endif
|
||||
|
||||
#ifndef rtmGetErrorStatusPointer
|
||||
#define rtmGetErrorStatusPointer(rtm) ((const char_T **)(&((rtm)->errorStatus)))
|
||||
#endif
|
||||
|
||||
#ifndef rtmStepTask
|
||||
#define rtmStepTask(rtm, idx) ((rtm)->Timing.TaskCounters.TID[(idx)] == 0)
|
||||
#endif
|
||||
|
||||
#ifndef rtmGetStopRequested
|
||||
#define rtmGetStopRequested(rtm) ((rtm)->Timing.stopRequestedFlag)
|
||||
#endif
|
||||
|
||||
#ifndef rtmSetStopRequested
|
||||
#define rtmSetStopRequested(rtm, val) ((rtm)->Timing.stopRequestedFlag = (val))
|
||||
#endif
|
||||
|
||||
#ifndef rtmGetStopRequestedPtr
|
||||
#define rtmGetStopRequestedPtr(rtm) (&((rtm)->Timing.stopRequestedFlag))
|
||||
#endif
|
||||
|
||||
#ifndef rtmGetT
|
||||
#define rtmGetT(rtm) (rtmGetTPtr((rtm))[0])
|
||||
#endif
|
||||
|
||||
#ifndef rtmGetTFinal
|
||||
#define rtmGetTFinal(rtm) ((rtm)->Timing.tFinal)
|
||||
#endif
|
||||
|
||||
#ifndef rtmGetTPtr
|
||||
#define rtmGetTPtr(rtm) ((rtm)->Timing.t)
|
||||
#endif
|
||||
|
||||
#ifndef rtmGetTStart
|
||||
#define rtmGetTStart(rtm) ((rtm)->Timing.tStart)
|
||||
#endif
|
||||
|
||||
#ifndef rtmTaskCounter
|
||||
#define rtmTaskCounter(rtm, idx) ((rtm)->Timing.TaskCounters.TID[(idx)])
|
||||
#endif
|
||||
|
||||
#ifndef rtmGetTimeOfLastOutput
|
||||
#define rtmGetTimeOfLastOutput(rtm) ((rtm)->Timing.timeOfLastOutput)
|
||||
#endif
|
||||
|
||||
/* Block signals (default storage) */
|
||||
struct B_VFControl_T {
|
||||
real_T xk1[4]; /* '<S23>/fluxes' */
|
||||
real_T Gain[4]; /* '<S21>/Gain' */
|
||||
real_T fluxes[4]; /* '<S21>/fluxes' */
|
||||
real_T Sum2[4]; /* '<S21>/Sum2' */
|
||||
real_T Linv[16]; /* '<S16>/Switch' */
|
||||
real_T Product3[4]; /* '<S16>/Product3' */
|
||||
real_T Rotoranglethetam; /* '<S15>/Rotor angle thetam' */
|
||||
real_T wm_delay; /* '<S38>/wm_delay' */
|
||||
real_T F2; /* '<S38>/F2' */
|
||||
real_T wm_predict; /* '<S38>/wm_predict' */
|
||||
real_T Sum1; /* '<S38>/Sum1' */
|
||||
real_T MultiportSwitch[4]; /* '<S19>/Multiport Switch' */
|
||||
real_T MultiportSwitch_p[2]; /* '<S18>/Multiport Switch' */
|
||||
real_T MultiportSwitch1[2]; /* '<S18>/Multiport Switch1' */
|
||||
real_T ib[4]; /* '<S18>/ib' */
|
||||
real_T GainVr_Vs1[2]; /* '<S13>/Gain Vr_Vs1' */
|
||||
real_T StateSpace_o1[14]; /* '<S96>/State-Space' */
|
||||
real_T StateSpace_o2[6]; /* '<S96>/State-Space' */
|
||||
real_T iqsids[2]; /* '<S20>/1-1' */
|
||||
real_T Mult1[2]; /* '<S20>/Mult1' */
|
||||
real_T Sum2_k; /* '<S20>/Sum2' */
|
||||
real_T Switch2; /* '<S16>/Switch2' */
|
||||
real_T GainVr_Vs[2]; /* '<S13>/Gain Vr_Vs' */
|
||||
real_T u_Vb[4]; /* '<S17>/1_Vb' */
|
||||
real_T MultiportSwitch1_f[2]; /* '<S17>/Multiport Switch1' */
|
||||
real_T MultiportSwitch_p2[2]; /* '<S17>/Multiport Switch' */
|
||||
real_T voltages[4]; /* '<S23>/voltages' */
|
||||
real_T DigitalClock; /* '<S23>/Digital Clock' */
|
||||
real_T IC[4]; /* '<S23>/IC' */
|
||||
real_T Sum2_l; /* '<S18>/Sum2' */
|
||||
real_T Sum3; /* '<S18>/Sum3' */
|
||||
real_T unitconversion[19]; /* '<S13>/unit conversion' */
|
||||
real_T up; /* '<S15>/1\p' */
|
||||
real_T wTethr[3]; /* '<S15>/1\p1' */
|
||||
real_T Unitconversion; /* '<S15>/Unit conversion' */
|
||||
real_T F; /* '<S15>/F' */
|
||||
real_T Sum; /* '<S15>/Sum' */
|
||||
real_T u_2H; /* '<S15>/1_2H' */
|
||||
real_T Rotorspeedwm; /* '<S15>/Rotor speed(wm)' */
|
||||
real_T web_psb; /* '<S15>/web_psb' */
|
||||
real_T DigitalClock_k; /* '<S57>/Digital Clock' */
|
||||
real_T LookUpTable; /* '<S57>/Look-Up Table' */
|
||||
real_T Toff; /* '<S56>/Step1' */
|
||||
real_T Ton; /* '<S56>/Step' */
|
||||
real_T DiscreteTimeIntegrator1; /* '<S47>/Discrete-Time Integrator1' */
|
||||
real_T UnitDelay1; /* '<S47>/Unit Delay1' */
|
||||
real_T Switch2_d; /* '<S56>/Switch2' */
|
||||
real_T Switch3; /* '<S56>/Switch3' */
|
||||
real_T Switch2_a; /* '<S41>/Switch2' */
|
||||
real_T Sum3_e; /* '<S41>/Sum3' */
|
||||
real_T Switch1; /* '<S49>/Switch1' */
|
||||
real_T Switch5[3]; /* '<S50>/Switch5' */
|
||||
real_T t; /* '<S42>/t' */
|
||||
real_T Gain_p; /* '<S42>/Gain' */
|
||||
real_T Product; /* '<S42>/Product' */
|
||||
real_T DiscreteTimeIntegrator; /* '<S42>/Discrete-Time Integrator' */
|
||||
real_T Sum_n; /* '<S42>/Sum' */
|
||||
real_T Gain3; /* '<S45>/Gain3' */
|
||||
real_T Switch3_o; /* '<S45>/Switch3' */
|
||||
real_T Sum2_j[3]; /* '<S45>/Sum2' */
|
||||
real_T Switch1_a[3]; /* '<S54>/Switch1' */
|
||||
real_T Switch5_b[3]; /* '<S55>/Switch5' */
|
||||
real_T Sum7[3]; /* '<S40>/Sum7' */
|
||||
real_T TrigonometricFunction1[3]; /* '<S40>/Trigonometric Function1' */
|
||||
real_T Product2[3]; /* '<S40>/Product2' */
|
||||
real_T Ton_e; /* '<S51>/Step' */
|
||||
real_T Toff_e; /* '<S51>/Step1' */
|
||||
real_T Sum4; /* '<S51>/Sum4' */
|
||||
real_T DataTypeConversion; /* '<S51>/Data Type Conversion' */
|
||||
real_T Gain1; /* '<S52>/Gain1' */
|
||||
real_T Gain3_f; /* '<S52>/Gain3' */
|
||||
real_T Sum1_m; /* '<S52>/Sum1' */
|
||||
real_T MultiportSwitch_h[3]; /* '<S52>/Multiport Switch' */
|
||||
real_T Sum_j[3]; /* '<S52>/Sum' */
|
||||
real_T TrigonometricFunction1_d[3]; /* '<S52>/Trigonometric Function1' */
|
||||
real_T Product1[3]; /* '<S52>/Product1' */
|
||||
real_T Gain1_m; /* '<S53>/Gain1' */
|
||||
real_T Gain3_a; /* '<S53>/Gain3' */
|
||||
real_T Sum1_m3; /* '<S53>/Sum1' */
|
||||
real_T MultiportSwitch_n[3]; /* '<S53>/Multiport Switch' */
|
||||
real_T Sum_i[3]; /* '<S53>/Sum' */
|
||||
real_T TrigonometricFunction1_c[3]; /* '<S53>/Trigonometric Function1' */
|
||||
real_T Product1_i[3]; /* '<S53>/Product1' */
|
||||
real_T Sum4_o[3]; /* '<S43>/Sum4' */
|
||||
real_T Sum8[3]; /* '<S40>/Sum8' */
|
||||
real_T Clock; /* '<S73>/Clock' */
|
||||
real_T Add1; /* '<S73>/Add1' */
|
||||
real_T MathFunction; /* '<S73>/Math Function' */
|
||||
real_T uib1; /* '<S73>/1\ib1' */
|
||||
real_T uDLookupTable; /* '<S73>/1-D Lookup Table' */
|
||||
real_T Add3; /* '<S73>/Add3' */
|
||||
real_T Model_o1; /* '<Root>/Model' */
|
||||
real_T Model_o2; /* '<Root>/Model' */
|
||||
real_T Model_o3; /* '<Root>/Model' */
|
||||
real_T DigitalClock_m; /* '<S74>/Digital Clock' */
|
||||
real_T Add1_e; /* '<S74>/Add1' */
|
||||
real_T MathFunction_l; /* '<S74>/Math Function' */
|
||||
real_T uib1_h; /* '<S74>/1\ib1' */
|
||||
real_T uDLookupTable_b; /* '<S74>/1-D Lookup Table' */
|
||||
real_T Add3_h; /* '<S74>/Add3' */
|
||||
real_T Model1_o1; /* '<Root>/Model1' */
|
||||
real_T Model1_o2; /* '<Root>/Model1' */
|
||||
real_T Model1_o3; /* '<Root>/Model1' */
|
||||
real_T DigitalClock_ms; /* '<S75>/Digital Clock' */
|
||||
real_T Add1_l; /* '<S75>/Add1' */
|
||||
real_T MathFunction_o; /* '<S75>/Math Function' */
|
||||
real_T uib1_e; /* '<S75>/1\ib1' */
|
||||
real_T uDLookupTable_bk; /* '<S75>/1-D Lookup Table' */
|
||||
real_T Add3_n; /* '<S75>/Add3' */
|
||||
real_T Model2_o1; /* '<Root>/Model2' */
|
||||
real_T Model2_o2; /* '<Root>/Model2' */
|
||||
real_T Model2_o3; /* '<Root>/Model2' */
|
||||
real_T TransportDelay; /* '<S3>/Transport Delay' */
|
||||
real_T TransportDelay_i; /* '<S4>/Transport Delay' */
|
||||
real_T TransportDelay_n; /* '<S5>/Transport Delay' */
|
||||
real_T Switch; /* '<S84>/Switch' */
|
||||
real_T Saturation[6]; /* '<S76>/Saturation' */
|
||||
real_T DataTypeConversion_p[6]; /* '<S76>/Data Type Conversion' */
|
||||
real_T DataTypeConversion1; /* '<S76>/Data Type Conversion1' */
|
||||
real_T Product4[6]; /* '<S76>/Product4' */
|
||||
real_T DataTypeConversion_f; /* '<S84>/Data Type Conversion' */
|
||||
real_T Switch_e; /* '<S86>/Switch' */
|
||||
real_T DataTypeConversion_l; /* '<S86>/Data Type Conversion' */
|
||||
real_T Switch_k; /* '<S88>/Switch' */
|
||||
real_T DataTypeConversion_h; /* '<S88>/Data Type Conversion' */
|
||||
real_T Switch_i; /* '<S90>/Switch' */
|
||||
real_T DataTypeConversion_k; /* '<S90>/Data Type Conversion' */
|
||||
real_T Switch_a; /* '<S92>/Switch' */
|
||||
real_T DataTypeConversion_i; /* '<S92>/Data Type Conversion' */
|
||||
real_T Switch_a4; /* '<S94>/Switch' */
|
||||
real_T DataTypeConversion_c; /* '<S94>/Data Type Conversion' */
|
||||
real_T Product_n; /* '<S3>/Product' */
|
||||
real_T Product_b; /* '<S4>/Product' */
|
||||
real_T Product_l; /* '<S5>/Product' */
|
||||
real_T Switch4; /* '<S42>/Switch4' */
|
||||
real_T Gain2; /* '<S42>/Gain2' */
|
||||
real_T Sum1_o; /* '<S42>/Sum1' */
|
||||
real_T Gain3_m[3]; /* '<S40>/Gain3' */
|
||||
real_T wtrad; /* '<S44>/Math Function' */
|
||||
real_T Switch_c; /* '<S56>/Switch' */
|
||||
real_T donotdeletethisgain; /* '<S64>/do not delete this gain' */
|
||||
real_T donotdeletethisgain_k; /* '<S65>/do not delete this gain' */
|
||||
real_T donotdeletethisgain_o; /* '<S66>/do not delete this gain' */
|
||||
real_T Kv1[3]; /* '<S7>/Kv1' */
|
||||
real_T donotdeletethisgain_kv; /* '<S61>/do not delete this gain' */
|
||||
real_T donotdeletethisgain_b; /* '<S62>/do not delete this gain' */
|
||||
real_T donotdeletethisgain_h; /* '<S63>/do not delete this gain' */
|
||||
real_T Kv[3]; /* '<S7>/Kv' */
|
||||
real_T UnitDelay; /* '<S73>/Unit Delay' */
|
||||
real_T uRsw; /* '<S94>/1//Rsw' */
|
||||
real_T uRsw_n; /* '<S92>/1//Rsw' */
|
||||
real_T uRsw_i; /* '<S90>/1//Rsw' */
|
||||
real_T uRsw_g; /* '<S88>/1//Rsw' */
|
||||
real_T uRsw_c; /* '<S86>/1//Rsw' */
|
||||
real_T uRsw_k; /* '<S84>/1//Rsw' */
|
||||
real_T Switch1_j; /* '<S56>/Switch1' */
|
||||
real_T MultiportSwitch1_b; /* '<S56>/Multiport Switch1' */
|
||||
real_T Gain1_f; /* '<S56>/Gain1' */
|
||||
real_T Product1_f; /* '<S56>/Product1' */
|
||||
real_T TrigonometricFunction1_l; /* '<S56>/Trigonometric Function1' */
|
||||
real_T Mod; /* '<S56>/Product' */
|
||||
real_T Step; /* '<S56>/Product2' */
|
||||
real_T Gain4; /* '<S45>/Gain4' */
|
||||
real_T Gain3_n; /* '<S54>/Gain3' */
|
||||
real_T Sum2_lw[3]; /* '<S54>/Sum2' */
|
||||
real_T Constant[2]; /* '<S37>/Constant' */
|
||||
real_T Gain3_e; /* '<S37>/Gain3' */
|
||||
real_T TrigonometricFunction_o1; /* '<S37>/Trigonometric Function' */
|
||||
real_T TrigonometricFunction_o2; /* '<S37>/Trigonometric Function' */
|
||||
real_T W34wr[16]; /* '<S37>/W(3,4)=-wr' */
|
||||
real_T W43wr[16]; /* '<S37>/W(4,3)=wr' */
|
||||
real_T Constant_e[2]; /* '<S36>/Constant' */
|
||||
real_T Gain1_e; /* '<S36>/Gain1' */
|
||||
real_T TrigonometricFunction_o1_d; /* '<S36>/Trigonometric Function' */
|
||||
real_T TrigonometricFunction_o2_j; /* '<S36>/Trigonometric Function' */
|
||||
real_T W12wr[16]; /* '<S36>/W(1,2)=wr' */
|
||||
real_T W21wr[16]; /* '<S36>/W(2,1)=-wr' */
|
||||
real_T DigitalClock_kx; /* '<S35>/Digital Clock' */
|
||||
real_T wewr; /* '<S35>/Sum' */
|
||||
real_T Gain2_k; /* '<S35>/Gain2' */
|
||||
real_T th; /* '<S35>/web_psb' */
|
||||
real_T beta; /* '<S35>/Sum1' */
|
||||
real_T TrigonometricFunction_o1_dn; /* '<S35>/Trigonometric Function' */
|
||||
real_T TrigonometricFunction_o2_k; /* '<S35>/Trigonometric Function' */
|
||||
real_T TrigonometricFunction1_o1; /* '<S35>/Trigonometric Function1' */
|
||||
real_T TrigonometricFunction1_o2; /* '<S35>/Trigonometric Function1' */
|
||||
real_T W341wr[16]; /* '<S35>/W(3,4)=1-wr' */
|
||||
real_T W43wr1[16]; /* '<S35>/W(4,3)=wr-1' */
|
||||
real_T ira; /* '<S34>/ira' */
|
||||
real_T irb; /* '<S34>/irb' */
|
||||
real_T isa; /* '<S34>/isa' */
|
||||
real_T isb; /* '<S34>/isb' */
|
||||
real_T ira_g; /* '<S33>/ira' */
|
||||
real_T irb_g; /* '<S33>/irb' */
|
||||
real_T isa_a; /* '<S33>/isa' */
|
||||
real_T isb_f; /* '<S33>/isb' */
|
||||
real_T ira_p; /* '<S32>/ira' */
|
||||
real_T irb_n; /* '<S32>/irb' */
|
||||
real_T isa_m; /* '<S32>/isa' */
|
||||
real_T isb_p; /* '<S32>/isb' */
|
||||
real_T vdr; /* '<S30>/vdr' */
|
||||
real_T vds; /* '<S30>/vds' */
|
||||
real_T vqr; /* '<S30>/vqr' */
|
||||
real_T vqs; /* '<S30>/vqs' */
|
||||
real_T vdr_p; /* '<S29>/vdr' */
|
||||
real_T vds_i; /* '<S29>/vds' */
|
||||
real_T vqr_l; /* '<S29>/vqr' */
|
||||
real_T vqs_i; /* '<S29>/vqs' */
|
||||
real_T vdr_l; /* '<S28>/vdr' */
|
||||
real_T vds_f; /* '<S28>/vds' */
|
||||
real_T vqr_j; /* '<S28>/vqr' */
|
||||
real_T vqs_l; /* '<S28>/vqs' */
|
||||
real_T ukuk1[4]; /* '<S23>/sum' */
|
||||
real_T RLinv[16]; /* '<S16>/Switch1' */
|
||||
real_T MultiportSwitch1_l[16]; /* '<S19>/Multiport Switch1' */
|
||||
real_T A[16]; /* '<S16>/Sum1' */
|
||||
real_T wbaseTs2[16]; /* '<S27>/wbase*Ts//2' */
|
||||
real_T Sum1_k[16]; /* '<S27>/Sum1' */
|
||||
real_T inversion[16]; /* '<S27>/inversion' */
|
||||
real_T wbaseTs2_c[16]; /* '<S27>/wbase*Ts//2 ' */
|
||||
real_T Product1_d[4]; /* '<S23>/Product1' */
|
||||
real_T Sum5[16]; /* '<S27>/Sum5' */
|
||||
real_T Product4_k[16]; /* '<S27>/Product4' */
|
||||
real_T Product2_o[4]; /* '<S23>/Product2' */
|
||||
real_T xk[4]; /* '<S23>/Ad*x(k-1) + Bd*( u(k-1) + u(k))' */
|
||||
real_T Delay; /* '<S22>/Delay' */
|
||||
real_T TmpSignalConversionAtMathFuncti[3];
|
||||
real_T MathFunction_p[3]; /* '<S24>/Math Function' */
|
||||
real_T Sum2_i; /* '<S24>/Sum2' */
|
||||
real_T MathFunction1; /* '<S24>/Math Function1' */
|
||||
real_T Product2_m[2]; /* '<S26>/Product2' */
|
||||
real_T Product_c[2]; /* '<S26>/Product' */
|
||||
real_T phimq; /* '<S26>/Sum2' */
|
||||
real_T Product1_j[2]; /* '<S26>/Product1' */
|
||||
real_T phimd; /* '<S26>/Sum1' */
|
||||
real_T Phisat; /* '<S22>/Math Function' */
|
||||
real_T Isat; /* '<S22>/1-D Lookup Table' */
|
||||
real_T Switch_g; /* '<S22>/Switch' */
|
||||
real_T Lminrows13col13[16]; /* '<S25>/Lm in rows[1,3] & col[1,3]' */
|
||||
real_T Lminrows24col24[16]; /* '<S25>/Lm in rows[2,4] & col[2,4]' */
|
||||
real_T Sum2_e[16]; /* '<S25>/Sum2' */
|
||||
real_T Linv_h[16]; /* '<S22>/inversion' */
|
||||
real_T RLinv_m[16]; /* '<S22>/Product1' */
|
||||
real_T Lm; /* '<S22>/Product' */
|
||||
boolean_T RelationalOperator3; /* '<S49>/Relational Operator3' */
|
||||
boolean_T Amplitude; /* '<S46>/Relational Operator' */
|
||||
boolean_T LogicalOperator1; /* '<S49>/Logical Operator1' */
|
||||
boolean_T DataTypeConversion2; /* '<S56>/Data Type Conversion2' */
|
||||
boolean_T LogicalOperator1_l; /* '<S56>/Logical Operator1' */
|
||||
boolean_T RelationalOperator1; /* '<S56>/Relational Operator1' */
|
||||
boolean_T DataTypeConversion1_f; /* '<S56>/Data Type Conversion1' */
|
||||
boolean_T LogicalOperator; /* '<S56>/Logical Operator' */
|
||||
boolean_T RelationalOperator3_f; /* '<S54>/Relational Operator3' */
|
||||
boolean_T Phase; /* '<S46>/Relational Operator1' */
|
||||
boolean_T LogicalOperator1_b; /* '<S54>/Logical Operator1' */
|
||||
boolean_T DataTypeConversion1_j; /* '<S51>/Data Type Conversion1' */
|
||||
boolean_T DataTypeConversion2_m; /* '<S51>/Data Type Conversion2' */
|
||||
boolean_T LogicalOperator_l; /* '<S51>/Logical Operator' */
|
||||
boolean_T Compare; /* '<S77>/Compare' */
|
||||
boolean_T Frequency; /* '<S46>/Relational Operator2' */
|
||||
boolean_T RelationalOperator; /* '<S56>/Relational Operator' */
|
||||
};
|
||||
|
||||
/* Block states (default storage) for system '<Root>' */
|
||||
struct DW_VFControl_T {
|
||||
real_T fluxes_DSTATE[4]; /* '<S23>/fluxes' */
|
||||
real_T fluxes_DSTATE_l[4]; /* '<S21>/fluxes' */
|
||||
real_T Rotoranglethetam_DSTATE; /* '<S15>/Rotor angle thetam' */
|
||||
real_T wm_delay_DSTATE; /* '<S38>/wm_delay' */
|
||||
real_T wm_predict_DSTATE; /* '<S38>/wm_predict' */
|
||||
real_T voltages_DSTATE[4]; /* '<S23>/voltages' */
|
||||
real_T Rotorspeedwm_DSTATE; /* '<S15>/Rotor speed(wm)' */
|
||||
real_T DiscreteTimeIntegrator1_DSTATE;/* '<S47>/Discrete-Time Integrator1' */
|
||||
real_T UnitDelay1_DSTATE; /* '<S47>/Unit Delay1' */
|
||||
real_T DiscreteTimeIntegrator_DSTATE;/* '<S42>/Discrete-Time Integrator' */
|
||||
real_T UnitDelay_DSTATE; /* '<S73>/Unit Delay' */
|
||||
real_T Delay_DSTATE; /* '<S22>/Delay' */
|
||||
real_T inversion_DWORK1[16]; /* '<S27>/inversion' */
|
||||
real_T inversion_DWORK3[16]; /* '<S27>/inversion' */
|
||||
real_T inversion_DWORK4[16]; /* '<S27>/inversion' */
|
||||
real_T inversion_DWORK4_k[16]; /* '<S22>/inversion' */
|
||||
struct {
|
||||
real_T modelTStart;
|
||||
real_T TUbufferArea[2048];
|
||||
} TransportDelay_RWORK; /* '<S3>/Transport Delay' */
|
||||
|
||||
struct {
|
||||
real_T modelTStart;
|
||||
real_T TUbufferArea[2048];
|
||||
} TransportDelay_RWORK_d; /* '<S4>/Transport Delay' */
|
||||
|
||||
struct {
|
||||
real_T modelTStart;
|
||||
real_T TUbufferArea[2048];
|
||||
} TransportDelay_RWORK_m; /* '<S5>/Transport Delay' */
|
||||
|
||||
struct {
|
||||
void *AS;
|
||||
void *BS;
|
||||
void *CS;
|
||||
void *DS;
|
||||
void *DX_COL;
|
||||
void *BD_COL;
|
||||
void *TMP1;
|
||||
void *TMP2;
|
||||
void *XTMP;
|
||||
void *SWITCH_STATUS;
|
||||
void *SWITCH_STATUS_INIT;
|
||||
void *SW_CHG;
|
||||
void *G_STATE;
|
||||
void *USWLAST;
|
||||
void *XKM12;
|
||||
void *XKP12;
|
||||
void *XLAST;
|
||||
void *ULAST;
|
||||
void *IDX_SW_CHG;
|
||||
void *Y_SWITCH;
|
||||
void *SWITCH_TYPES;
|
||||
void *IDX_OUT_SW;
|
||||
void *SWITCH_TOPO_SAVED_IDX;
|
||||
void *SWITCH_MAP;
|
||||
} StateSpace_PWORK; /* '<S96>/State-Space' */
|
||||
|
||||
struct {
|
||||
void *LoggedData[3];
|
||||
} DebugPWM_PWORK; /* '<Root>/Debug PWM' */
|
||||
|
||||
struct {
|
||||
void *LoggedData[4];
|
||||
} DebugfaseA_PWORK; /* '<Root>/Debug fase A' */
|
||||
|
||||
struct {
|
||||
void *LoggedData[4];
|
||||
} DebugfaseB_PWORK; /* '<Root>/Debug fase B' */
|
||||
|
||||
struct {
|
||||
void *LoggedData[4];
|
||||
} DebugfaseC_PWORK; /* '<Root>/Debug fase C' */
|
||||
|
||||
struct {
|
||||
void *TUbufferPtrs[2];
|
||||
} TransportDelay_PWORK; /* '<S3>/Transport Delay' */
|
||||
|
||||
struct {
|
||||
void *TUbufferPtrs[2];
|
||||
} TransportDelay_PWORK_m; /* '<S4>/Transport Delay' */
|
||||
|
||||
struct {
|
||||
void *TUbufferPtrs[2];
|
||||
} TransportDelay_PWORK_f; /* '<S5>/Transport Delay' */
|
||||
|
||||
void *Digitaloutput1_PWORK[2]; /* '<Root>/Digital output1' */
|
||||
void *Digitaloutput2_PWORK[2]; /* '<Root>/Digital output2' */
|
||||
struct {
|
||||
void *LoggedData[2];
|
||||
} Corrientetensinmotorideal_PWORK;
|
||||
/* '<Root>/Corriente//tensión motor ideal' */
|
||||
|
||||
struct {
|
||||
void *USERIO_P_IND;
|
||||
void *PROG_SPACE_P_IND;
|
||||
void *CONFIG_REGISTER_P_IND;
|
||||
void *CONDITIONING_MODULE_IO3xx_2x_P_IND;
|
||||
void *DEVICENAME_P_IND;
|
||||
void *DMA_CONTROLLER_P_IND;
|
||||
} Setup_PWORK; /* '<Root>/Setup' */
|
||||
|
||||
int32_T inversion_DWORK2[4]; /* '<S27>/inversion' */
|
||||
uint32_T m_bpIndex; /* '<S73>/1-D Lookup Table' */
|
||||
uint32_T m_bpIndex_e; /* '<S74>/1-D Lookup Table' */
|
||||
uint32_T m_bpIndex_p; /* '<S75>/1-D Lookup Table' */
|
||||
uint32_T m_bpIndex_b; /* '<S22>/1-D Lookup Table' */
|
||||
int_T StateSpace_IWORK[11]; /* '<S96>/State-Space' */
|
||||
struct {
|
||||
int_T Tail;
|
||||
int_T Head;
|
||||
int_T Last;
|
||||
int_T CircularBufSize;
|
||||
} TransportDelay_IWORK; /* '<S3>/Transport Delay' */
|
||||
|
||||
struct {
|
||||
int_T Tail;
|
||||
int_T Head;
|
||||
int_T Last;
|
||||
int_T CircularBufSize;
|
||||
} TransportDelay_IWORK_g; /* '<S4>/Transport Delay' */
|
||||
|
||||
struct {
|
||||
int_T Tail;
|
||||
int_T Head;
|
||||
int_T Last;
|
||||
int_T CircularBufSize;
|
||||
} TransportDelay_IWORK_m; /* '<S5>/Transport Delay' */
|
||||
|
||||
struct {
|
||||
int_T MODULEARCHITECTURE_I_IND;
|
||||
} Setup_IWORK; /* '<Root>/Setup' */
|
||||
|
||||
int8_T sinthrcosthr1_SubsysRanBC; /* '<S19>/sin(thr),cos(thr)1' */
|
||||
int8_T sinthrcosthr_SubsysRanBC; /* '<S19>/sin(thr),cos(thr)' */
|
||||
int8_T sinbetacosbetasinthcosth_Subsys;
|
||||
/* '<S19>/sin(beta),cos(beta),sin(th),cos(th)' */
|
||||
int8_T Synchronousreferenceframe_Subsy;/* '<S18>/Synchronous reference frame' */
|
||||
int8_T Stationaryreferenceframe_Subsys;/* '<S18>/Stationary reference frame' */
|
||||
int8_T Rotorreferenceframe_SubsysRanBC;/* '<S18>/Rotor reference frame' */
|
||||
int8_T Synchronousreferenceframe_Sub_k;/* '<S17>/Synchronous reference frame' */
|
||||
int8_T Stationaryreferenceframe_Subs_n;/* '<S17>/Stationary reference frame' */
|
||||
int8_T Rotorreferenceframe_SubsysRan_i;/* '<S17>/Rotor reference frame' */
|
||||
int8_T Saturation_SubsysRanBC; /* '<S16>/Saturation' */
|
||||
uint8_T Rotorspeedwm_SYSTEM_ENABLE; /* '<S15>/Rotor speed(wm)' */
|
||||
boolean_T sinthrcosthr1_MODE; /* '<S19>/sin(thr),cos(thr)1' */
|
||||
boolean_T sinthrcosthr_MODE; /* '<S19>/sin(thr),cos(thr)' */
|
||||
boolean_T Synchronousreferenceframe_MODE;/* '<S18>/Synchronous reference frame' */
|
||||
boolean_T Stationaryreferenceframe_MODE;/* '<S18>/Stationary reference frame' */
|
||||
boolean_T Rotorreferenceframe_MODE; /* '<S18>/Rotor reference frame' */
|
||||
boolean_T Synchronousreferenceframe_MOD_l;/* '<S17>/Synchronous reference frame' */
|
||||
boolean_T Stationaryreferenceframe_MODE_p;/* '<S17>/Stationary reference frame' */
|
||||
boolean_T Rotorreferenceframe_MODE_m;/* '<S17>/Rotor reference frame' */
|
||||
MdlrefDW_PWMGenerator_T Model_InstanceData;/* '<Root>/Model' */
|
||||
MdlrefDW_PWMGenerator_T Model1_InstanceData;/* '<Root>/Model1' */
|
||||
MdlrefDW_PWMGenerator_T Model2_InstanceData;/* '<Root>/Model2' */
|
||||
};
|
||||
|
||||
/* Real-time Model Data Structure */
|
||||
struct tag_RTM_VFControl_T {
|
||||
struct SimStruct_tag * *childSfunctions;
|
||||
const char_T *errorStatus;
|
||||
SS_SimMode simMode;
|
||||
RTWSolverInfo solverInfo;
|
||||
RTWSolverInfo *solverInfoPtr;
|
||||
void *sfcnInfo;
|
||||
|
||||
/*
|
||||
* NonInlinedSFcns:
|
||||
* The following substructure contains information regarding
|
||||
* non-inlined s-functions used in the model.
|
||||
*/
|
||||
struct {
|
||||
RTWSfcnInfo sfcnInfo;
|
||||
time_T *taskTimePtrs[3];
|
||||
SimStruct childSFunctions[2];
|
||||
SimStruct *childSFunctionPtrs[2];
|
||||
struct _ssBlkInfo2 blkInfo2[2];
|
||||
struct _ssSFcnModelMethods2 methods2[2];
|
||||
struct _ssSFcnModelMethods3 methods3[2];
|
||||
struct _ssSFcnModelMethods4 methods4[2];
|
||||
struct _ssStatesInfo2 statesInfo2[2];
|
||||
ssPeriodicStatesInfo periodicStatesInfo[2];
|
||||
struct _ssPortInfo2 inputOutputPortInfo2[2];
|
||||
struct {
|
||||
time_T sfcnPeriod[1];
|
||||
time_T sfcnOffset[1];
|
||||
int_T sfcnTsMap[1];
|
||||
struct _ssPortInputs inputPortInfo[3];
|
||||
struct _ssInPortUnit inputPortUnits[3];
|
||||
struct _ssInPortCoSimAttribute inputPortCoSimAttribute[3];
|
||||
uint_T attribs[6];
|
||||
mxArray *params[6];
|
||||
struct _ssDWorkRecord dWork[1];
|
||||
struct _ssDWorkAuxRecord dWorkAux[1];
|
||||
} Sfcn0;
|
||||
|
||||
struct {
|
||||
time_T sfcnPeriod[1];
|
||||
time_T sfcnOffset[1];
|
||||
int_T sfcnTsMap[1];
|
||||
struct _ssPortInputs inputPortInfo[3];
|
||||
struct _ssInPortUnit inputPortUnits[3];
|
||||
struct _ssInPortCoSimAttribute inputPortCoSimAttribute[3];
|
||||
uint_T attribs[6];
|
||||
mxArray *params[6];
|
||||
struct _ssDWorkRecord dWork[1];
|
||||
struct _ssDWorkAuxRecord dWorkAux[1];
|
||||
} Sfcn1;
|
||||
} NonInlinedSFcns;
|
||||
|
||||
boolean_T zCCacheNeedsReset;
|
||||
boolean_T derivCacheNeedsReset;
|
||||
boolean_T CTOutputIncnstWithState;
|
||||
|
||||
/*
|
||||
* Sizes:
|
||||
* The following substructure contains sizes information
|
||||
* for many of the model attributes such as inputs, outputs,
|
||||
* dwork, sample times, etc.
|
||||
*/
|
||||
struct {
|
||||
uint32_T options;
|
||||
int_T numContStates;
|
||||
int_T numU;
|
||||
int_T numY;
|
||||
int_T numSampTimes;
|
||||
int_T numBlocks;
|
||||
int_T numBlockIO;
|
||||
int_T numBlockPrms;
|
||||
int_T numDwork;
|
||||
int_T numSFcnPrms;
|
||||
int_T numSFcns;
|
||||
int_T numIports;
|
||||
int_T numOports;
|
||||
int_T numNonSampZCs;
|
||||
int_T sysDirFeedThru;
|
||||
int_T rtwGenSfcn;
|
||||
} Sizes;
|
||||
|
||||
/*
|
||||
* Timing:
|
||||
* The following substructure contains information regarding
|
||||
* the timing information for the model.
|
||||
*/
|
||||
struct {
|
||||
time_T stepSize;
|
||||
uint32_T clockTick0;
|
||||
uint32_T clockTickH0;
|
||||
time_T stepSize0;
|
||||
uint32_T clockTick1;
|
||||
uint32_T clockTickH1;
|
||||
time_T stepSize1;
|
||||
uint32_T clockTick2;
|
||||
uint32_T clockTickH2;
|
||||
struct {
|
||||
uint32_T TID[3];
|
||||
uint32_T cLimit[3];
|
||||
} TaskCounters;
|
||||
|
||||
time_T tStart;
|
||||
time_T tFinal;
|
||||
time_T timeOfLastOutput;
|
||||
SimTimeStep simTimeStep;
|
||||
boolean_T stopRequestedFlag;
|
||||
time_T *sampleTimes;
|
||||
time_T *offsetTimes;
|
||||
int_T *sampleTimeTaskIDPtr;
|
||||
int_T *sampleHits;
|
||||
int_T *perTaskSampleHits;
|
||||
time_T *t;
|
||||
time_T sampleTimesArray[3];
|
||||
time_T offsetTimesArray[3];
|
||||
int_T sampleTimeTaskIDArray[3];
|
||||
int_T sampleHitArray[3];
|
||||
int_T perTaskSampleHitsArray[9];
|
||||
time_T tArray[3];
|
||||
} Timing;
|
||||
};
|
||||
|
||||
/* Block signals (default storage) */
|
||||
#ifdef __cplusplus
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
||||
#endif
|
||||
|
||||
extern struct B_VFControl_T VFControl_B;
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* Block states (default storage) */
|
||||
extern struct DW_VFControl_T VFControl_DW;
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
||||
#endif
|
||||
|
||||
/* Model entry point functions */
|
||||
extern void VFControl_initialize(void);
|
||||
extern void VFControl_step0(void);
|
||||
extern void VFControl_step2(void);
|
||||
extern void VFControl_terminate(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* Real-time Model object */
|
||||
#ifdef __cplusplus
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
||||
#endif
|
||||
|
||||
extern RT_MODEL_VFControl_T *const VFControl_M;
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/*-
|
||||
* The generated code includes comments that allow you to trace directly
|
||||
* back to the appropriate location in the model. The basic format
|
||||
* is <system>/block_name, where system is the system number (uniquely
|
||||
* assigned by Simulink) and block_name is the name of the block.
|
||||
*
|
||||
* Use the MATLAB hilite_system command to trace the generated code back
|
||||
* to the model. For example,
|
||||
*
|
||||
* hilite_system('<S3>') - opens system 3
|
||||
* hilite_system('<S3>/Kp') - opens and selects block Kp which resides in S3
|
||||
*
|
||||
* Here is the system hierarchy for this model
|
||||
*
|
||||
* '<Root>' : 'VFControl'
|
||||
* '<S1>' : 'VFControl/Asynchronous Machine SI Units'
|
||||
* '<S2>' : 'VFControl/DC Voltage Source'
|
||||
* '<S3>' : 'VFControl/Inversión A'
|
||||
* '<S4>' : 'VFControl/Inversión B'
|
||||
* '<S5>' : 'VFControl/Inversión C'
|
||||
* '<S6>' : 'VFControl/Three-Phase Programmable Generator'
|
||||
* '<S7>' : 'VFControl/Three-Phase V-I Measurement'
|
||||
* '<S8>' : 'VFControl/Triangle Generator'
|
||||
* '<S9>' : 'VFControl/Triangle Generator1'
|
||||
* '<S10>' : 'VFControl/Triangle Generator2'
|
||||
* '<S11>' : 'VFControl/Two-Level Converter1'
|
||||
* '<S12>' : 'VFControl/powergui'
|
||||
* '<S13>' : 'VFControl/Asynchronous Machine SI Units/Electrical model'
|
||||
* '<S14>' : 'VFControl/Asynchronous Machine SI Units/Measurements'
|
||||
* '<S15>' : 'VFControl/Asynchronous Machine SI Units/Mechanical model'
|
||||
* '<S16>' : 'VFControl/Asynchronous Machine SI Units/Electrical model/Asynchronous Machine State-space model'
|
||||
* '<S17>' : 'VFControl/Asynchronous Machine SI Units/Electrical model/abc to dq transformation'
|
||||
* '<S18>' : 'VFControl/Asynchronous Machine SI Units/Electrical model/dq to abc transformation'
|
||||
* '<S19>' : 'VFControl/Asynchronous Machine SI Units/Electrical model/sin,cos'
|
||||
* '<S20>' : 'VFControl/Asynchronous Machine SI Units/Electrical model/Asynchronous Machine State-space model/Electromagnetic Torque'
|
||||
* '<S21>' : 'VFControl/Asynchronous Machine SI Units/Electrical model/Asynchronous Machine State-space model/Flux Prediction'
|
||||
* '<S22>' : 'VFControl/Asynchronous Machine SI Units/Electrical model/Asynchronous Machine State-space model/Saturation'
|
||||
* '<S23>' : 'VFControl/Asynchronous Machine SI Units/Electrical model/Asynchronous Machine State-space model/phiqd_SR'
|
||||
* '<S24>' : 'VFControl/Asynchronous Machine SI Units/Electrical model/Asynchronous Machine State-space model/Saturation/Laq=Lad'
|
||||
* '<S25>' : 'VFControl/Asynchronous Machine SI Units/Electrical model/Asynchronous Machine State-space model/Saturation/Matrix L'
|
||||
* '<S26>' : 'VFControl/Asynchronous Machine SI Units/Electrical model/Asynchronous Machine State-space model/Saturation/phimqd'
|
||||
* '<S27>' : 'VFControl/Asynchronous Machine SI Units/Electrical model/Asynchronous Machine State-space model/phiqd_SR/Subsystem'
|
||||
* '<S28>' : 'VFControl/Asynchronous Machine SI Units/Electrical model/abc to dq transformation/Rotor reference frame'
|
||||
* '<S29>' : 'VFControl/Asynchronous Machine SI Units/Electrical model/abc to dq transformation/Stationary reference frame'
|
||||
* '<S30>' : 'VFControl/Asynchronous Machine SI Units/Electrical model/abc to dq transformation/Synchronous reference frame'
|
||||
* '<S31>' : 'VFControl/Asynchronous Machine SI Units/Electrical model/abc to dq transformation/transit'
|
||||
* '<S32>' : 'VFControl/Asynchronous Machine SI Units/Electrical model/dq to abc transformation/Rotor reference frame'
|
||||
* '<S33>' : 'VFControl/Asynchronous Machine SI Units/Electrical model/dq to abc transformation/Stationary reference frame'
|
||||
* '<S34>' : 'VFControl/Asynchronous Machine SI Units/Electrical model/dq to abc transformation/Synchronous reference frame'
|
||||
* '<S35>' : 'VFControl/Asynchronous Machine SI Units/Electrical model/sin,cos/sin(beta),cos(beta),sin(th),cos(th)'
|
||||
* '<S36>' : 'VFControl/Asynchronous Machine SI Units/Electrical model/sin,cos/sin(thr),cos(thr)'
|
||||
* '<S37>' : 'VFControl/Asynchronous Machine SI Units/Electrical model/sin,cos/sin(thr),cos(thr)1'
|
||||
* '<S38>' : 'VFControl/Asynchronous Machine SI Units/Mechanical model/Delay Prediction'
|
||||
* '<S39>' : 'VFControl/DC Voltage Source/Model'
|
||||
* '<S40>' : 'VFControl/Three-Phase Programmable Generator/Model'
|
||||
* '<S41>' : 'VFControl/Three-Phase Programmable Generator/Model/Amplitude'
|
||||
* '<S42>' : 'VFControl/Three-Phase Programmable Generator/Model/Frequency'
|
||||
* '<S43>' : 'VFControl/Three-Phase Programmable Generator/Model/Harmonic Generation'
|
||||
* '<S44>' : 'VFControl/Three-Phase Programmable Generator/Model/Measurements'
|
||||
* '<S45>' : 'VFControl/Three-Phase Programmable Generator/Model/Phase'
|
||||
* '<S46>' : 'VFControl/Three-Phase Programmable Generator/Model/Type of Variation selector'
|
||||
* '<S47>' : 'VFControl/Three-Phase Programmable Generator/Model/Variation value (step ramp mod)'
|
||||
* '<S48>' : 'VFControl/Three-Phase Programmable Generator/Model/Variation value (time table)'
|
||||
* '<S49>' : 'VFControl/Three-Phase Programmable Generator/Model/Amplitude/Time-Amplitude pairs'
|
||||
* '<S50>' : 'VFControl/Three-Phase Programmable Generator/Model/Amplitude/Variation on phase A only'
|
||||
* '<S51>' : 'VFControl/Three-Phase Programmable Generator/Model/Harmonic Generation/Enable Harmonics'
|
||||
* '<S52>' : 'VFControl/Three-Phase Programmable Generator/Model/Harmonic Generation/Harmonic A generation'
|
||||
* '<S53>' : 'VFControl/Three-Phase Programmable Generator/Model/Harmonic Generation/Harmonic B generation'
|
||||
* '<S54>' : 'VFControl/Three-Phase Programmable Generator/Model/Phase/Time-Phase pairs'
|
||||
* '<S55>' : 'VFControl/Three-Phase Programmable Generator/Model/Phase/Variation on phase A only'
|
||||
* '<S56>' : 'VFControl/Three-Phase Programmable Generator/Model/Variation value (step ramp mod)/Subsystem1'
|
||||
* '<S57>' : 'VFControl/Three-Phase Programmable Generator/Model/Variation value (time table)/Model'
|
||||
* '<S58>' : 'VFControl/Three-Phase V-I Measurement/Mode I'
|
||||
* '<S59>' : 'VFControl/Three-Phase V-I Measurement/Mode V'
|
||||
* '<S60>' : 'VFControl/Three-Phase V-I Measurement/Model'
|
||||
* '<S61>' : 'VFControl/Three-Phase V-I Measurement/Model/I A:'
|
||||
* '<S62>' : 'VFControl/Three-Phase V-I Measurement/Model/I B:'
|
||||
* '<S63>' : 'VFControl/Three-Phase V-I Measurement/Model/I C:'
|
||||
* '<S64>' : 'VFControl/Three-Phase V-I Measurement/Model/U AB:'
|
||||
* '<S65>' : 'VFControl/Three-Phase V-I Measurement/Model/U BC:'
|
||||
* '<S66>' : 'VFControl/Three-Phase V-I Measurement/Model/U CA:'
|
||||
* '<S67>' : 'VFControl/Three-Phase V-I Measurement/Model/I A:/Model'
|
||||
* '<S68>' : 'VFControl/Three-Phase V-I Measurement/Model/I B:/Model'
|
||||
* '<S69>' : 'VFControl/Three-Phase V-I Measurement/Model/I C:/Model'
|
||||
* '<S70>' : 'VFControl/Three-Phase V-I Measurement/Model/U AB:/Model'
|
||||
* '<S71>' : 'VFControl/Three-Phase V-I Measurement/Model/U BC:/Model'
|
||||
* '<S72>' : 'VFControl/Three-Phase V-I Measurement/Model/U CA:/Model'
|
||||
* '<S73>' : 'VFControl/Triangle Generator/Model'
|
||||
* '<S74>' : 'VFControl/Triangle Generator1/Model'
|
||||
* '<S75>' : 'VFControl/Triangle Generator2/Model'
|
||||
* '<S76>' : 'VFControl/Two-Level Converter1/Model'
|
||||
* '<S77>' : 'VFControl/Two-Level Converter1/Model/Compare To Constant'
|
||||
* '<S78>' : 'VFControl/Two-Level Converter1/Model/Sw1'
|
||||
* '<S79>' : 'VFControl/Two-Level Converter1/Model/Sw2'
|
||||
* '<S80>' : 'VFControl/Two-Level Converter1/Model/Sw3'
|
||||
* '<S81>' : 'VFControl/Two-Level Converter1/Model/Sw4'
|
||||
* '<S82>' : 'VFControl/Two-Level Converter1/Model/Sw5'
|
||||
* '<S83>' : 'VFControl/Two-Level Converter1/Model/Sw6'
|
||||
* '<S84>' : 'VFControl/Two-Level Converter1/Model/Sw1/Model'
|
||||
* '<S85>' : 'VFControl/Two-Level Converter1/Model/Sw1/Model/Measurement list'
|
||||
* '<S86>' : 'VFControl/Two-Level Converter1/Model/Sw2/Model'
|
||||
* '<S87>' : 'VFControl/Two-Level Converter1/Model/Sw2/Model/Measurement list'
|
||||
* '<S88>' : 'VFControl/Two-Level Converter1/Model/Sw3/Model'
|
||||
* '<S89>' : 'VFControl/Two-Level Converter1/Model/Sw3/Model/Measurement list'
|
||||
* '<S90>' : 'VFControl/Two-Level Converter1/Model/Sw4/Model'
|
||||
* '<S91>' : 'VFControl/Two-Level Converter1/Model/Sw4/Model/Measurement list'
|
||||
* '<S92>' : 'VFControl/Two-Level Converter1/Model/Sw5/Model'
|
||||
* '<S93>' : 'VFControl/Two-Level Converter1/Model/Sw5/Model/Measurement list'
|
||||
* '<S94>' : 'VFControl/Two-Level Converter1/Model/Sw6/Model'
|
||||
* '<S95>' : 'VFControl/Two-Level Converter1/Model/Sw6/Model/Measurement list'
|
||||
* '<S96>' : 'VFControl/powergui/EquivalentModel1'
|
||||
* '<S97>' : 'VFControl/powergui/EquivalentModel1/Gates'
|
||||
* '<S98>' : 'VFControl/powergui/EquivalentModel1/Sources'
|
||||
* '<S99>' : 'VFControl/powergui/EquivalentModel1/Status'
|
||||
* '<S100>' : 'VFControl/powergui/EquivalentModel1/Yout'
|
||||
*/
|
||||
#endif /* VFControl_h_ */
|
File diff suppressed because it is too large
Load Diff
@ -1,813 +0,0 @@
|
||||
#ifndef VFControl_cal_h_
|
||||
#define VFControl_cal_h_
|
||||
#include "rtwtypes.h"
|
||||
|
||||
/* Storage class 'PageSwitching', for system '<Root>' */
|
||||
struct VFControl_cal_type {
|
||||
real_T DCVoltageSource_Amplitude; /* Mask Parameter: DCVoltageSource_Amplitude
|
||||
* Referenced by: '<S39>/DC'
|
||||
*/
|
||||
real_T HarmonicAgeneration_Mag_Harmo;
|
||||
/* Mask Parameter: HarmonicAgeneration_Mag_Harmo
|
||||
* Referenced by: '<S52>/Phase_Harmo1'
|
||||
*/
|
||||
real_T HarmonicBgeneration_Mag_Harmo;
|
||||
/* Mask Parameter: HarmonicBgeneration_Mag_Harmo
|
||||
* Referenced by: '<S53>/Phase_Harmo1'
|
||||
*/
|
||||
real_T HarmonicAgeneration_Phase_Harmo;
|
||||
/* Mask Parameter: HarmonicAgeneration_Phase_Harmo
|
||||
* Referenced by: '<S52>/Phase_Harmo'
|
||||
*/
|
||||
real_T HarmonicBgeneration_Phase_Harmo;
|
||||
/* Mask Parameter: HarmonicBgeneration_Phase_Harmo
|
||||
* Referenced by: '<S53>/Phase_Harmo'
|
||||
*/
|
||||
real_T HarmonicAgeneration_Seq_Harmo;
|
||||
/* Mask Parameter: HarmonicAgeneration_Seq_Harmo
|
||||
* Referenced by: '<S52>/Phase_Harmo2'
|
||||
*/
|
||||
real_T HarmonicBgeneration_Seq_Harmo;
|
||||
/* Mask Parameter: HarmonicBgeneration_Seq_Harmo
|
||||
* Referenced by: '<S53>/Phase_Harmo2'
|
||||
*/
|
||||
real_T Variationvaluesteprampmod_Toff_;
|
||||
/* Mask Parameter: Variationvaluesteprampmod_Toff_
|
||||
* Referenced by: '<S56>/Step1'
|
||||
*/
|
||||
real_T Variationvaluesteprampmod_Ton_V;
|
||||
/* Mask Parameter: Variationvaluesteprampmod_Ton_V
|
||||
* Referenced by: '<S56>/Step'
|
||||
*/
|
||||
real_T Variationvaluesteprampmod_Varia;
|
||||
/* Mask Parameter: Variationvaluesteprampmod_Varia
|
||||
* Referenced by: '<S56>/valp_nom9'
|
||||
*/
|
||||
real_T Variationvaluesteprampmod_Var_l;
|
||||
/* Mask Parameter: Variationvaluesteprampmod_Var_l
|
||||
* Referenced by: '<S56>/valp_nom8'
|
||||
*/
|
||||
real_T Variationvaluesteprampmod_Var_p;
|
||||
/* Mask Parameter: Variationvaluesteprampmod_Var_p
|
||||
* Referenced by: '<S56>/valp_nom7'
|
||||
*/
|
||||
real_T Variationvaluesteprampmod_Var_n;
|
||||
/* Mask Parameter: Variationvaluesteprampmod_Var_n
|
||||
* Referenced by: '<S56>/valp_nom6'
|
||||
*/
|
||||
real_T CompareToConstant_const; /* Mask Parameter: CompareToConstant_const
|
||||
* Referenced by: '<S77>/Constant'
|
||||
*/
|
||||
real_T HarmonicAgeneration_n_Harmo;
|
||||
/* Mask Parameter: HarmonicAgeneration_n_Harmo
|
||||
* Referenced by: '<S52>/Gain1'
|
||||
*/
|
||||
real_T HarmonicBgeneration_n_Harmo;
|
||||
/* Mask Parameter: HarmonicBgeneration_n_Harmo
|
||||
* Referenced by: '<S53>/Gain1'
|
||||
*/
|
||||
real_T Constant1_Value; /* Expression: SM.Lsat(1)
|
||||
* Referenced by: '<S22>/Constant1'
|
||||
*/
|
||||
real_T Linv_Y0; /* Computed Parameter: Linv_Y0
|
||||
* Referenced by: '<S22>/Linv'
|
||||
*/
|
||||
real_T RLinv_Y0; /* Computed Parameter: RLinv_Y0
|
||||
* Referenced by: '<S22>/R*Linv'
|
||||
*/
|
||||
real_T Lm_Y0; /* Computed Parameter: Lm_Y0
|
||||
* Referenced by: '<S22>/Lm'
|
||||
*/
|
||||
real_T u1_Value[2]; /* Expression: [1/SM.Lls 1/SM.Llr]
|
||||
* Referenced by: '<S26>/u1'
|
||||
*/
|
||||
real_T u2_Value[2]; /* Expression: [ SM.Lls SM.Llr ]
|
||||
* Referenced by: '<S24>/u2'
|
||||
*/
|
||||
real_T Delay_InitialCondition; /* Expression: SM.Lsat(1)
|
||||
* Referenced by: '<S22>/Delay'
|
||||
*/
|
||||
real_T uDLookupTable_tableData[2];
|
||||
/* Expression: [ 0 SM.Phisat(2:end)./SM.Lsat(2:end) ]
|
||||
* Referenced by: '<S22>/1-D Lookup Table'
|
||||
*/
|
||||
real_T uDLookupTable_bp01Data[2]; /* Expression: SM.Phisat
|
||||
* Referenced by: '<S22>/1-D Lookup Table'
|
||||
*/
|
||||
real_T u1_Value_d[16]; /* Expression: zeros(4,4)
|
||||
* Referenced by: '<S25>/u1'
|
||||
*/
|
||||
real_T u5_Value[16]; /* Expression: SM.Ll
|
||||
* Referenced by: '<S25>/u5'
|
||||
*/
|
||||
real_T u1_Value_e[16]; /* Expression: SM.R
|
||||
* Referenced by: '<S22>/u1'
|
||||
*/
|
||||
real_T Lm_nosat_Value; /* Expression: SM.Lm
|
||||
* Referenced by: '<S16>/Lm_nosat'
|
||||
*/
|
||||
real_T Constant2_Value[16]; /* Expression: SM.Linv
|
||||
* Referenced by: '<S16>/Constant2'
|
||||
*/
|
||||
real_T Constant4_Value[16]; /* Expression: SM.RLinv
|
||||
* Referenced by: '<S16>/Constant4'
|
||||
*/
|
||||
real_T Constant3_Value; /* Expression: SM.ensat
|
||||
* Referenced by: '<S16>/Constant3'
|
||||
*/
|
||||
real_T Switch1_Threshold; /* Expression: 0.5
|
||||
* Referenced by: '<S16>/Switch1'
|
||||
*/
|
||||
real_T Constant4_Value_e; /* Expression: SM.ctrl
|
||||
* Referenced by: '<S19>/Constant4'
|
||||
*/
|
||||
real_T wbaseTs2_Gain; /* Expression: SM.web*Ts/2
|
||||
* Referenced by: '<S27>/wbase*Ts//2'
|
||||
*/
|
||||
real_T u5_Value_l[16]; /* Expression: eye(4,4)
|
||||
* Referenced by: '<S27>/u5'
|
||||
*/
|
||||
real_T wbaseTs2_Gain_c; /* Expression: SM.web*Ts/2
|
||||
* Referenced by: '<S27>/wbase*Ts//2 '
|
||||
*/
|
||||
real_T vqrvdr_Y0; /* Expression: 0
|
||||
* Referenced by: '<S28>/vqr,vdr'
|
||||
*/
|
||||
real_T vqsvds_Y0; /* Expression: 0
|
||||
* Referenced by: '<S28>/vqs,vds'
|
||||
*/
|
||||
real_T vqrvdr_Y0_a; /* Expression: 0
|
||||
* Referenced by: '<S29>/vqr,vdr'
|
||||
*/
|
||||
real_T vqsvds_Y0_m; /* Expression: 0
|
||||
* Referenced by: '<S29>/vqs,vds'
|
||||
*/
|
||||
real_T vqrvdr_Y0_am; /* Expression: 0
|
||||
* Referenced by: '<S30>/vqr,vdr'
|
||||
*/
|
||||
real_T vqsvds_Y0_p; /* Expression: 0
|
||||
* Referenced by: '<S30>/vqs,vds'
|
||||
*/
|
||||
real_T irairb_Y0; /* Expression: 0
|
||||
* Referenced by: '<S32>/ira,irb'
|
||||
*/
|
||||
real_T isaisb_Y0; /* Expression: 0
|
||||
* Referenced by: '<S32>/isa,isb'
|
||||
*/
|
||||
real_T irairb_Y0_d; /* Expression: 0
|
||||
* Referenced by: '<S33>/ira,irb'
|
||||
*/
|
||||
real_T isaisb_Y0_k; /* Expression: 0
|
||||
* Referenced by: '<S33>/isa,isb'
|
||||
*/
|
||||
real_T irairb_Y0_h; /* Expression: 0
|
||||
* Referenced by: '<S34>/ira,irb'
|
||||
*/
|
||||
real_T isaisb_Y0_m; /* Expression: 0
|
||||
* Referenced by: '<S34>/isa,isb'
|
||||
*/
|
||||
real_T sinbetacosbetasinthcosth_Y0; /* Expression: 0
|
||||
* Referenced by: '<S35>/sin(beta),cos(beta), sin(th),cos(th)'
|
||||
*/
|
||||
real_T W_Y0; /* Expression: 0
|
||||
* Referenced by: '<S35>/W'
|
||||
*/
|
||||
real_T we_Value; /* Expression: 1
|
||||
* Referenced by: '<S35>/we'
|
||||
*/
|
||||
real_T Gain2_Gain; /* Expression: -1
|
||||
* Referenced by: '<S35>/Gain2'
|
||||
*/
|
||||
real_T web_psb_Gain; /* Expression: SM.web
|
||||
* Referenced by: '<S35>/web_psb'
|
||||
*/
|
||||
real_T u3_Value[16];
|
||||
/* Expression: [ 0 1 0 0; -1 0 0 0; 0 0 0 0; 0 0 0 0]
|
||||
* Referenced by: '<S35>/u3'
|
||||
*/
|
||||
real_T sinthrcosthr_Y0; /* Expression: 0
|
||||
* Referenced by: '<S36>/sin(thr),cos(thr)'
|
||||
*/
|
||||
real_T W_Y0_m; /* Expression: 0
|
||||
* Referenced by: '<S36>/W'
|
||||
*/
|
||||
real_T Constant_Value[2]; /* Expression: [0; 0]
|
||||
* Referenced by: '<S36>/Constant'
|
||||
*/
|
||||
real_T Gain1_Gain; /* Expression: -1
|
||||
* Referenced by: '<S36>/Gain1'
|
||||
*/
|
||||
real_T u1_Value_j[16]; /* Expression: zeros(4,4)
|
||||
* Referenced by: '<S36>/u1'
|
||||
*/
|
||||
real_T sinthrcosthr_Y0_h; /* Expression: 0
|
||||
* Referenced by: '<S37>/sin(thr),cos(thr)'
|
||||
*/
|
||||
real_T W_Y0_o; /* Computed Parameter: W_Y0_o
|
||||
* Referenced by: '<S37>/W'
|
||||
*/
|
||||
real_T Constant_Value_n[2]; /* Expression: [0; 0]
|
||||
* Referenced by: '<S37>/Constant'
|
||||
*/
|
||||
real_T Gain3_Gain; /* Expression: -1
|
||||
* Referenced by: '<S37>/Gain3'
|
||||
*/
|
||||
real_T u4_Value[16]; /* Expression: zeros(4,4)
|
||||
* Referenced by: '<S37>/u4'
|
||||
*/
|
||||
real_T Zerosequence_Value[3]; /* Expression: [0 0 0]
|
||||
* Referenced by: '<S52>/Zero-sequence'
|
||||
*/
|
||||
real_T Positivesequence_Value[3]; /* Expression: [0 -2*pi/3 2*pi/3]
|
||||
* Referenced by: '<S52>/Positive-sequence'
|
||||
*/
|
||||
real_T Negativesequence_Value[3]; /* Expression: [0 2*pi/3 -2*pi/3]
|
||||
* Referenced by: '<S52>/Negative-sequence'
|
||||
*/
|
||||
real_T Zerosequence_Value_h[3]; /* Expression: [0 0 0]
|
||||
* Referenced by: '<S53>/Zero-sequence'
|
||||
*/
|
||||
real_T Positivesequence_Value_o[3]; /* Expression: [0 -2*pi/3 2*pi/3]
|
||||
* Referenced by: '<S53>/Positive-sequence'
|
||||
*/
|
||||
real_T Negativesequence_Value_k[3]; /* Expression: [0 2*pi/3 -2*pi/3]
|
||||
* Referenced by: '<S53>/Negative-sequence'
|
||||
*/
|
||||
real_T Gain3_Gain_c; /* Expression: pi/180
|
||||
* Referenced by: '<S54>/Gain3'
|
||||
*/
|
||||
real_T Gain4_Gain; /* Expression: pi/180
|
||||
* Referenced by: '<S45>/Gain4'
|
||||
*/
|
||||
real_T Gain1_Gain_n; /* Expression: 2*pi
|
||||
* Referenced by: '<S56>/Gain1'
|
||||
*/
|
||||
real_T Constant4_Value_f; /* Expression: 0
|
||||
* Referenced by: '<S56>/Constant4'
|
||||
*/
|
||||
real_T uRsw_Gain; /* Expression: 1./Ron
|
||||
* Referenced by: '<S84>/1//Rsw'
|
||||
*/
|
||||
real_T u4_Value_l; /* Expression: 0
|
||||
* Referenced by: '<S84>/0 4'
|
||||
*/
|
||||
real_T uRsw_Gain_e; /* Expression: 1./Ron
|
||||
* Referenced by: '<S86>/1//Rsw'
|
||||
*/
|
||||
real_T u4_Value_j; /* Expression: 0
|
||||
* Referenced by: '<S86>/0 4'
|
||||
*/
|
||||
real_T uRsw_Gain_l; /* Expression: 1./Ron
|
||||
* Referenced by: '<S88>/1//Rsw'
|
||||
*/
|
||||
real_T u4_Value_c; /* Expression: 0
|
||||
* Referenced by: '<S88>/0 4'
|
||||
*/
|
||||
real_T uRsw_Gain_k; /* Expression: 1./Ron
|
||||
* Referenced by: '<S90>/1//Rsw'
|
||||
*/
|
||||
real_T u4_Value_m; /* Expression: 0
|
||||
* Referenced by: '<S90>/0 4'
|
||||
*/
|
||||
real_T uRsw_Gain_m; /* Expression: 1./Ron
|
||||
* Referenced by: '<S92>/1//Rsw'
|
||||
*/
|
||||
real_T u4_Value_lk; /* Expression: 0
|
||||
* Referenced by: '<S92>/0 4'
|
||||
*/
|
||||
real_T uRsw_Gain_k4; /* Expression: 1./Ron
|
||||
* Referenced by: '<S94>/1//Rsw'
|
||||
*/
|
||||
real_T u4_Value_o; /* Expression: 0
|
||||
* Referenced by: '<S94>/0 4'
|
||||
*/
|
||||
real_T SwitchCurrents_Value[6]; /* Expression: zeros(6,1)
|
||||
* Referenced by: '<S98>/SwitchCurrents'
|
||||
*/
|
||||
real_T Constant3_Value_e; /* Expression: SM.ctrl
|
||||
* Referenced by: '<S18>/Constant3'
|
||||
*/
|
||||
real_T fluxes_InitialCondition[4]; /* Expression: SM.phiqd0
|
||||
* Referenced by: '<S23>/fluxes'
|
||||
*/
|
||||
real_T Gain_Gain; /* Expression: 2
|
||||
* Referenced by: '<S21>/Gain'
|
||||
*/
|
||||
real_T fluxes_InitialCondition_a[4]; /* Expression: SM.phiqd0
|
||||
* Referenced by: '<S21>/fluxes'
|
||||
*/
|
||||
real_T Constant_Value_e; /* Expression: SM.ensat
|
||||
* Referenced by: '<S16>/Constant'
|
||||
*/
|
||||
real_T Constant1_Value_k; /* Expression: SM.ensat
|
||||
* Referenced by: '<S16>/Constant1'
|
||||
*/
|
||||
real_T Switch_Threshold; /* Expression: 0.5
|
||||
* Referenced by: '<S16>/Switch'
|
||||
*/
|
||||
real_T Constant2_Value_n; /* Expression: SM.ctrl
|
||||
* Referenced by: '<S19>/Constant2'
|
||||
*/
|
||||
real_T Rotoranglethetam_gainval;
|
||||
/* Computed Parameter: Rotoranglethetam_gainval
|
||||
* Referenced by: '<S15>/Rotor angle thetam'
|
||||
*/
|
||||
real_T Rotoranglethetam_IC; /* Expression: SM.tho
|
||||
* Referenced by: '<S15>/Rotor angle thetam'
|
||||
*/
|
||||
real_T wm_delay_InitialCondition; /* Expression: SM.wmo
|
||||
* Referenced by: '<S38>/wm_delay'
|
||||
*/
|
||||
real_T F2_Gain; /* Expression: 2
|
||||
* Referenced by: '<S38>/F2'
|
||||
*/
|
||||
real_T wm_predict_InitialCondition; /* Expression: SM.wmo
|
||||
* Referenced by: '<S38>/wm_predict'
|
||||
*/
|
||||
real_T Constant4_Value_c; /* Expression: SM.ctrl
|
||||
* Referenced by: '<S18>/Constant4'
|
||||
*/
|
||||
real_T ib_Gain; /* Expression: SM.ib
|
||||
* Referenced by: '<S18>/ib'
|
||||
*/
|
||||
real_T GainVr_Vs1_Gain[2]; /* Expression: SM.Gain_Vr_Vs
|
||||
* Referenced by: '<S13>/Gain Vr_Vs1'
|
||||
*/
|
||||
real_T StateSpace_DS_param[126]; /* Expression: S.D
|
||||
* Referenced by: '<S96>/State-Space'
|
||||
*/
|
||||
real_T Constant5_Value; /* Expression: SM.ensat
|
||||
* Referenced by: '<S16>/Constant5'
|
||||
*/
|
||||
real_T u1_Gain[2]; /* Expression: [1 -1]
|
||||
* Referenced by: '<S20>/1-1'
|
||||
*/
|
||||
real_T Switch2_Threshold; /* Expression: 0.5
|
||||
* Referenced by: '<S16>/Switch2'
|
||||
*/
|
||||
real_T Constant4_Value_i; /* Expression: SM.ctrl
|
||||
* Referenced by: '<S17>/Constant4'
|
||||
*/
|
||||
real_T Constant6_Value[2]; /* Expression: [0;0]
|
||||
* Referenced by: '<S31>/Constant6'
|
||||
*/
|
||||
real_T GainVr_Vs_Gain[2]; /* Expression: SM.Gain_Vr_Vs
|
||||
* Referenced by: '<S13>/Gain Vr_Vs'
|
||||
*/
|
||||
real_T u_Vb_Gain; /* Expression: 1/SM.Vb
|
||||
* Referenced by: '<S17>/1_Vb'
|
||||
*/
|
||||
real_T Constant3_Value_g; /* Expression: SM.ctrl
|
||||
* Referenced by: '<S17>/Constant3'
|
||||
*/
|
||||
real_T voltages_InitialCondition; /* Expression: 0
|
||||
* Referenced by: '<S23>/voltages'
|
||||
*/
|
||||
real_T IC_Threshold; /* Expression: Ts
|
||||
* Referenced by: '<S23>/IC'
|
||||
*/
|
||||
real_T unitconversion_Gain[19];
|
||||
/* Expression: [SM.ib2*SM.kIr*ones(5,1); SM.phib2*SM.kVr; SM.phib2*SM.kVr; SM.Vb2*SM.kVr; SM.Vb2*SM.kVr ; SM.ib2*ones(5,1); SM.phib2; SM.phib2; SM.Vb2; SM.Vb2; SM.phib2/SM.ib2]
|
||||
* Referenced by: '<S13>/unit conversion'
|
||||
*/
|
||||
real_T up_Gain; /* Expression: 1/SM.p
|
||||
* Referenced by: '<S15>/1\p'
|
||||
*/
|
||||
real_T up1_Gain[3]; /* Expression: [SM.Nb2;SM.Tb2;1]
|
||||
* Referenced by: '<S15>/1\p1'
|
||||
*/
|
||||
real_T Unitconversion_Gain; /* Expression: 1/SM.Tb2
|
||||
* Referenced by: '<S15>/Unit conversion'
|
||||
*/
|
||||
real_T F_Gain; /* Expression: SM.F
|
||||
* Referenced by: '<S15>/F'
|
||||
*/
|
||||
real_T u_2H_Gain; /* Expression: 1/(2*SM.H)
|
||||
* Referenced by: '<S15>/1_2H'
|
||||
*/
|
||||
real_T Rotorspeedwm_gainval; /* Computed Parameter: Rotorspeedwm_gainval
|
||||
* Referenced by: '<S15>/Rotor speed(wm)'
|
||||
*/
|
||||
real_T Rotorspeedwm_IC; /* Expression: SM.wmo
|
||||
* Referenced by: '<S15>/Rotor speed(wm)'
|
||||
*/
|
||||
real_T web_psb_Gain_n; /* Expression: SM.web
|
||||
* Referenced by: '<S15>/web_psb'
|
||||
*/
|
||||
real_T LookUpTable_XData[8]; /* Expression: sps.tv
|
||||
* Referenced by: '<S57>/Look-Up Table'
|
||||
*/
|
||||
real_T LookUpTable_YData[8]; /* Expression: sps.opv
|
||||
* Referenced by: '<S57>/Look-Up Table'
|
||||
*/
|
||||
real_T valp_nom1_Value; /* Expression: sps.VariationType
|
||||
* Referenced by: '<S49>/valp_nom1'
|
||||
*/
|
||||
real_T Constant6_Value_k; /* Expression: 4
|
||||
* Referenced by: '<S49>/Constant6'
|
||||
*/
|
||||
real_T valp_nom3_Value; /* Expression: sps.VariationEntity
|
||||
* Referenced by: '<S46>/valp_nom3'
|
||||
*/
|
||||
real_T Constant_Value_nw; /* Expression: 2
|
||||
* Referenced by: '<S46>/Constant'
|
||||
*/
|
||||
real_T Constant1_Value_a; /* Expression: 0
|
||||
* Referenced by: '<S56>/Constant1'
|
||||
*/
|
||||
real_T Step1_Y0; /* Expression: 1
|
||||
* Referenced by: '<S56>/Step1'
|
||||
*/
|
||||
real_T Step1_YFinal; /* Expression: 0
|
||||
* Referenced by: '<S56>/Step1'
|
||||
*/
|
||||
real_T valp_nom5_Value; /* Expression: sps.VariationType
|
||||
* Referenced by: '<S47>/valp_nom5'
|
||||
*/
|
||||
real_T Constant3_Value_ey; /* Expression: 1
|
||||
* Referenced by: '<S56>/Constant3'
|
||||
*/
|
||||
real_T Step_Y0; /* Expression: 0
|
||||
* Referenced by: '<S56>/Step'
|
||||
*/
|
||||
real_T Step_YFinal; /* Expression: 1
|
||||
* Referenced by: '<S56>/Step'
|
||||
*/
|
||||
real_T DiscreteTimeIntegrator1_gainval;
|
||||
/* Computed Parameter: DiscreteTimeIntegrator1_gainval
|
||||
* Referenced by: '<S47>/Discrete-Time Integrator1'
|
||||
*/
|
||||
real_T DiscreteTimeIntegrator1_IC; /* Expression: 0
|
||||
* Referenced by: '<S47>/Discrete-Time Integrator1'
|
||||
*/
|
||||
real_T Constant5_Value_c; /* Expression: 0
|
||||
* Referenced by: '<S56>/Constant5'
|
||||
*/
|
||||
real_T UnitDelay1_InitialCondition; /* Expression: 0
|
||||
* Referenced by: '<S47>/Unit Delay1'
|
||||
*/
|
||||
real_T Switch2_Threshold_a; /* Expression: 0.5
|
||||
* Referenced by: '<S56>/Switch2'
|
||||
*/
|
||||
real_T Constant1_Value_j; /* Expression: 0
|
||||
* Referenced by: '<S41>/Constant1'
|
||||
*/
|
||||
real_T valp_nom2_Value; /* Expression: sps.Mag_Vps
|
||||
* Referenced by: '<S41>/valp_nom2'
|
||||
*/
|
||||
real_T SinglePhase_Value; /* Expression: sps.SinglePhase
|
||||
* Referenced by: '<S50>/SinglePhase'
|
||||
*/
|
||||
real_T Switch5_Threshold; /* Expression: 0.5
|
||||
* Referenced by: '<S50>/Switch5'
|
||||
*/
|
||||
real_T valp_nom1_Value_g; /* Expression: sps.Freq_Vps
|
||||
* Referenced by: '<S42>/valp_nom1'
|
||||
*/
|
||||
real_T Gain_Gain_k; /* Expression: 2*pi
|
||||
* Referenced by: '<S42>/Gain'
|
||||
*/
|
||||
real_T DiscreteTimeIntegrator_gainval;
|
||||
/* Computed Parameter: DiscreteTimeIntegrator_gainval
|
||||
* Referenced by: '<S42>/Discrete-Time Integrator'
|
||||
*/
|
||||
real_T DiscreteTimeIntegrator_IC; /* Expression: 0
|
||||
* Referenced by: '<S42>/Discrete-Time Integrator'
|
||||
*/
|
||||
real_T P1_Value[3]; /* Expression: [0 -2*pi/3 2*pi/3]
|
||||
* Referenced by: '<S54>/P1'
|
||||
*/
|
||||
real_T valp_nom1_Value_c; /* Expression: sps.VariationType
|
||||
* Referenced by: '<S54>/valp_nom1'
|
||||
*/
|
||||
real_T Constant6_Value_h; /* Expression: 4
|
||||
* Referenced by: '<S54>/Constant6'
|
||||
*/
|
||||
real_T Constant2_Value_b; /* Expression: 3
|
||||
* Referenced by: '<S46>/Constant2'
|
||||
*/
|
||||
real_T valp_nom_Value; /* Expression: sps.Phase_Vps
|
||||
* Referenced by: '<S45>/valp_nom'
|
||||
*/
|
||||
real_T Gain3_Gain_e; /* Expression: pi/180
|
||||
* Referenced by: '<S45>/Gain3'
|
||||
*/
|
||||
real_T P1_Value_e[3]; /* Expression: [0 -2*pi/3 2*pi/3]
|
||||
* Referenced by: '<S45>/P1'
|
||||
*/
|
||||
real_T Constant4_Value_l; /* Expression: 0
|
||||
* Referenced by: '<S45>/Constant4'
|
||||
*/
|
||||
real_T SinglePhase_Value_i; /* Expression: sps.SinglePhase
|
||||
* Referenced by: '<S55>/SinglePhase'
|
||||
*/
|
||||
real_T Switch5_Threshold_m; /* Expression: 0.5
|
||||
* Referenced by: '<S55>/Switch5'
|
||||
*/
|
||||
real_T Step_Time; /* Expression: sps.Ton_Harmo
|
||||
* Referenced by: '<S51>/Step'
|
||||
*/
|
||||
real_T Step_Y0_k; /* Expression: 0
|
||||
* Referenced by: '<S51>/Step'
|
||||
*/
|
||||
real_T Step_YFinal_d; /* Expression: 1
|
||||
* Referenced by: '<S51>/Step'
|
||||
*/
|
||||
real_T Step1_Time; /* Expression: sps.Toff_Harmo
|
||||
* Referenced by: '<S51>/Step1'
|
||||
*/
|
||||
real_T Step1_Y0_i; /* Expression: 0
|
||||
* Referenced by: '<S51>/Step1'
|
||||
*/
|
||||
real_T Step1_YFinal_k; /* Expression: -1
|
||||
* Referenced by: '<S51>/Step1'
|
||||
*/
|
||||
real_T valp_nom7_Value; /* Expression: sps.HarmonicGeneration
|
||||
* Referenced by: '<S51>/valp_nom7'
|
||||
*/
|
||||
real_T Gain3_Gain_l; /* Expression: pi/180
|
||||
* Referenced by: '<S52>/Gain3'
|
||||
*/
|
||||
real_T valp_nom2_Value_i; /* Expression: 1
|
||||
* Referenced by: '<S52>/valp_nom2'
|
||||
*/
|
||||
real_T Gain3_Gain_j; /* Expression: pi/180
|
||||
* Referenced by: '<S53>/Gain3'
|
||||
*/
|
||||
real_T valp_nom2_Value_c; /* Expression: 1
|
||||
* Referenced by: '<S53>/valp_nom2'
|
||||
*/
|
||||
real_T Constant3_Value_m; /* Expression: sps.Delay
|
||||
* Referenced by: '<S73>/Constant3'
|
||||
*/
|
||||
real_T Constant4_Value_p; /* Expression: sps.Period
|
||||
* Referenced by: '<S73>/Constant4'
|
||||
*/
|
||||
real_T uib1_Gain; /* Expression: sps.Freq
|
||||
* Referenced by: '<S73>/1\ib1'
|
||||
*/
|
||||
real_T uDLookupTable_tableData_d[3]; /* Expression: [0 2 0]
|
||||
* Referenced by: '<S73>/1-D Lookup Table'
|
||||
*/
|
||||
real_T uDLookupTable_bp01Data_k[3]; /* Expression: [0 .5 1]
|
||||
* Referenced by: '<S73>/1-D Lookup Table'
|
||||
*/
|
||||
real_T Constant2_Value_a; /* Expression: 1
|
||||
* Referenced by: '<S73>/Constant2'
|
||||
*/
|
||||
real_T Constant_Value_c; /* Expression: 230
|
||||
* Referenced by: '<Root>/Constant'
|
||||
*/
|
||||
real_T Constant3_Value_ej; /* Expression: sps.Delay
|
||||
* Referenced by: '<S74>/Constant3'
|
||||
*/
|
||||
real_T Constant1_Value_o; /* Expression: sps.Period
|
||||
* Referenced by: '<S74>/Constant1'
|
||||
*/
|
||||
real_T uib1_Gain_i; /* Expression: sps.Freq
|
||||
* Referenced by: '<S74>/1\ib1'
|
||||
*/
|
||||
real_T uDLookupTable_tableData_f[3]; /* Expression: [0 2 0]
|
||||
* Referenced by: '<S74>/1-D Lookup Table'
|
||||
*/
|
||||
real_T uDLookupTable_bp01Data_i[3]; /* Expression: [0 .5 1]
|
||||
* Referenced by: '<S74>/1-D Lookup Table'
|
||||
*/
|
||||
real_T Constant2_Value_at; /* Expression: 1
|
||||
* Referenced by: '<S74>/Constant2'
|
||||
*/
|
||||
real_T Constant1_Value_ah; /* Expression: 230
|
||||
* Referenced by: '<Root>/Constant1'
|
||||
*/
|
||||
real_T Constant3_Value_mm; /* Expression: sps.Delay
|
||||
* Referenced by: '<S75>/Constant3'
|
||||
*/
|
||||
real_T Constant1_Value_p; /* Expression: sps.Period
|
||||
* Referenced by: '<S75>/Constant1'
|
||||
*/
|
||||
real_T uib1_Gain_c; /* Expression: sps.Freq
|
||||
* Referenced by: '<S75>/1\ib1'
|
||||
*/
|
||||
real_T uDLookupTable_tableData_h[3]; /* Expression: [0 2 0]
|
||||
* Referenced by: '<S75>/1-D Lookup Table'
|
||||
*/
|
||||
real_T uDLookupTable_bp01Data_m[3]; /* Expression: [0 .5 1]
|
||||
* Referenced by: '<S75>/1-D Lookup Table'
|
||||
*/
|
||||
real_T Constant2_Value_k; /* Expression: 1
|
||||
* Referenced by: '<S75>/Constant2'
|
||||
*/
|
||||
real_T Constant2_Value_a1; /* Expression: 230
|
||||
* Referenced by: '<Root>/Constant2'
|
||||
*/
|
||||
real_T TransportDelay_Delay; /* Expression: 1e-6
|
||||
* Referenced by: '<S3>/Transport Delay'
|
||||
*/
|
||||
real_T TransportDelay_InitOutput; /* Expression: 0
|
||||
* Referenced by: '<S3>/Transport Delay'
|
||||
*/
|
||||
real_T TransportDelay_Delay_l; /* Expression: 1e-6
|
||||
* Referenced by: '<S4>/Transport Delay'
|
||||
*/
|
||||
real_T TransportDelay_InitOutput_l; /* Expression: 0
|
||||
* Referenced by: '<S4>/Transport Delay'
|
||||
*/
|
||||
real_T TransportDelay_Delay_c; /* Expression: 1e-6
|
||||
* Referenced by: '<S5>/Transport Delay'
|
||||
*/
|
||||
real_T TransportDelay_InitOutput_le; /* Expression: 0
|
||||
* Referenced by: '<S5>/Transport Delay'
|
||||
*/
|
||||
real_T Digitaloutput1_P1_Size[2];/* Computed Parameter: Digitaloutput1_P1_Size
|
||||
* Referenced by: '<Root>/Digital output1'
|
||||
*/
|
||||
real_T Digitaloutput1_P1; /* Expression: id
|
||||
* Referenced by: '<Root>/Digital output1'
|
||||
*/
|
||||
real_T Digitaloutput1_P2_Size[2];/* Computed Parameter: Digitaloutput1_P2_Size
|
||||
* Referenced by: '<Root>/Digital output1'
|
||||
*/
|
||||
real_T Digitaloutput1_P2[3]; /* Expression: chan
|
||||
* Referenced by: '<Root>/Digital output1'
|
||||
*/
|
||||
real_T Digitaloutput1_P3_Size[2];/* Computed Parameter: Digitaloutput1_P3_Size
|
||||
* Referenced by: '<Root>/Digital output1'
|
||||
*/
|
||||
real_T Digitaloutput1_P3; /* Expression: vectorizeInput
|
||||
* Referenced by: '<Root>/Digital output1'
|
||||
*/
|
||||
real_T Digitaloutput1_P4_Size[2];/* Computed Parameter: Digitaloutput1_P4_Size
|
||||
* Referenced by: '<Root>/Digital output1'
|
||||
*/
|
||||
real_T Digitaloutput1_P4[3]; /* Expression: reset
|
||||
* Referenced by: '<Root>/Digital output1'
|
||||
*/
|
||||
real_T Digitaloutput1_P5_Size[2];/* Computed Parameter: Digitaloutput1_P5_Size
|
||||
* Referenced by: '<Root>/Digital output1'
|
||||
*/
|
||||
real_T Digitaloutput1_P5[3]; /* Expression: init
|
||||
* Referenced by: '<Root>/Digital output1'
|
||||
*/
|
||||
real_T Digitaloutput1_P6_Size[2];/* Computed Parameter: Digitaloutput1_P6_Size
|
||||
* Referenced by: '<Root>/Digital output1'
|
||||
*/
|
||||
real_T Digitaloutput1_P6; /* Expression: ts
|
||||
* Referenced by: '<Root>/Digital output1'
|
||||
*/
|
||||
real_T Digitaloutput2_P1_Size[2];/* Computed Parameter: Digitaloutput2_P1_Size
|
||||
* Referenced by: '<Root>/Digital output2'
|
||||
*/
|
||||
real_T Digitaloutput2_P1; /* Expression: id
|
||||
* Referenced by: '<Root>/Digital output2'
|
||||
*/
|
||||
real_T Digitaloutput2_P2_Size[2];/* Computed Parameter: Digitaloutput2_P2_Size
|
||||
* Referenced by: '<Root>/Digital output2'
|
||||
*/
|
||||
real_T Digitaloutput2_P2[3]; /* Expression: chan
|
||||
* Referenced by: '<Root>/Digital output2'
|
||||
*/
|
||||
real_T Digitaloutput2_P3_Size[2];/* Computed Parameter: Digitaloutput2_P3_Size
|
||||
* Referenced by: '<Root>/Digital output2'
|
||||
*/
|
||||
real_T Digitaloutput2_P3; /* Expression: vectorizeInput
|
||||
* Referenced by: '<Root>/Digital output2'
|
||||
*/
|
||||
real_T Digitaloutput2_P4_Size[2];/* Computed Parameter: Digitaloutput2_P4_Size
|
||||
* Referenced by: '<Root>/Digital output2'
|
||||
*/
|
||||
real_T Digitaloutput2_P4[3]; /* Expression: reset
|
||||
* Referenced by: '<Root>/Digital output2'
|
||||
*/
|
||||
real_T Digitaloutput2_P5_Size[2];/* Computed Parameter: Digitaloutput2_P5_Size
|
||||
* Referenced by: '<Root>/Digital output2'
|
||||
*/
|
||||
real_T Digitaloutput2_P5[3]; /* Expression: init
|
||||
* Referenced by: '<Root>/Digital output2'
|
||||
*/
|
||||
real_T Digitaloutput2_P6_Size[2];/* Computed Parameter: Digitaloutput2_P6_Size
|
||||
* Referenced by: '<Root>/Digital output2'
|
||||
*/
|
||||
real_T Digitaloutput2_P6; /* Expression: ts
|
||||
* Referenced by: '<Root>/Digital output2'
|
||||
*/
|
||||
real_T Switch_Threshold_e; /* Expression: 0.5
|
||||
* Referenced by: '<S84>/Switch'
|
||||
*/
|
||||
real_T Saturation_UpperSat; /* Expression: 1
|
||||
* Referenced by: '<S76>/Saturation'
|
||||
*/
|
||||
real_T Saturation_LowerSat; /* Expression: 0
|
||||
* Referenced by: '<S76>/Saturation'
|
||||
*/
|
||||
real_T Constant6_Value_e; /* Expression: 0
|
||||
* Referenced by: '<Root>/Constant6'
|
||||
*/
|
||||
real_T Switch_Threshold_p; /* Expression: 0.5
|
||||
* Referenced by: '<S86>/Switch'
|
||||
*/
|
||||
real_T Switch_Threshold_i; /* Expression: 0.5
|
||||
* Referenced by: '<S88>/Switch'
|
||||
*/
|
||||
real_T Switch_Threshold_o; /* Expression: 0.5
|
||||
* Referenced by: '<S90>/Switch'
|
||||
*/
|
||||
real_T Switch_Threshold_a; /* Expression: 0.5
|
||||
* Referenced by: '<S92>/Switch'
|
||||
*/
|
||||
real_T Switch_Threshold_n; /* Expression: 0.5
|
||||
* Referenced by: '<S94>/Switch'
|
||||
*/
|
||||
real_T Constant_Value_a; /* Expression: -1
|
||||
* Referenced by: '<S3>/Constant'
|
||||
*/
|
||||
real_T Constant_Value_g; /* Expression: -1
|
||||
* Referenced by: '<S4>/Constant'
|
||||
*/
|
||||
real_T Constant_Value_n5; /* Expression: -1
|
||||
* Referenced by: '<S5>/Constant'
|
||||
*/
|
||||
real_T Constant5_Value_ct; /* Expression: 0
|
||||
* Referenced by: '<S42>/Constant5'
|
||||
*/
|
||||
real_T Constant3_Value_n; /* Expression: 4
|
||||
* Referenced by: '<S46>/Constant3'
|
||||
*/
|
||||
real_T Gain2_Gain_h; /* Expression: 2*pi
|
||||
* Referenced by: '<S42>/Gain2'
|
||||
*/
|
||||
real_T Gain3_Gain_i; /* Expression: 180/pi
|
||||
* Referenced by: '<S40>/Gain3'
|
||||
*/
|
||||
real_T Constant7_Value; /* Expression: 2*pi
|
||||
* Referenced by: '<S44>/Constant7'
|
||||
*/
|
||||
real_T Constant_Value_p; /* Expression: 2
|
||||
* Referenced by: '<S56>/Constant'
|
||||
*/
|
||||
real_T Constant2_Value_i; /* Expression: 1
|
||||
* Referenced by: '<S56>/Constant2'
|
||||
*/
|
||||
real_T Switch_Threshold_d; /* Expression: 0.5
|
||||
* Referenced by: '<S56>/Switch'
|
||||
*/
|
||||
real_T donotdeletethisgain_Gain; /* Expression: 1
|
||||
* Referenced by: '<S64>/do not delete this gain'
|
||||
*/
|
||||
real_T donotdeletethisgain_Gain_d; /* Expression: 1
|
||||
* Referenced by: '<S65>/do not delete this gain'
|
||||
*/
|
||||
real_T donotdeletethisgain_Gain_h; /* Expression: 1
|
||||
* Referenced by: '<S66>/do not delete this gain'
|
||||
*/
|
||||
real_T Kv1_Gain; /* Expression: Kv
|
||||
* Referenced by: '<S7>/Kv1'
|
||||
*/
|
||||
real_T donotdeletethisgain_Gain_j; /* Expression: 1
|
||||
* Referenced by: '<S61>/do not delete this gain'
|
||||
*/
|
||||
real_T donotdeletethisgain_Gain_n; /* Expression: 1
|
||||
* Referenced by: '<S62>/do not delete this gain'
|
||||
*/
|
||||
real_T donotdeletethisgain_Gain_p; /* Expression: 1
|
||||
* Referenced by: '<S63>/do not delete this gain'
|
||||
*/
|
||||
real_T Kv_Gain; /* Expression: Ki
|
||||
* Referenced by: '<S7>/Kv'
|
||||
*/
|
||||
real_T UnitDelay_InitialCondition; /* Expression: 0
|
||||
* Referenced by: '<S73>/Unit Delay'
|
||||
*/
|
||||
boolean_T Constant_Value_b; /* Expression: SM.ctrl==1
|
||||
* Referenced by: '<S19>/Constant'
|
||||
*/
|
||||
boolean_T Constant1_Value_kj; /* Expression: SM.ctrl==2
|
||||
* Referenced by: '<S19>/Constant1'
|
||||
*/
|
||||
boolean_T Constant3_Value_h; /* Expression: SM.ctrl==3
|
||||
* Referenced by: '<S19>/Constant3'
|
||||
*/
|
||||
boolean_T Constant_Value_px; /* Expression: SM.ctrl==1
|
||||
* Referenced by: '<S18>/Constant'
|
||||
*/
|
||||
boolean_T Constant1_Value_b; /* Expression: SM.ctrl==2
|
||||
* Referenced by: '<S18>/Constant1'
|
||||
*/
|
||||
boolean_T Constant2_Value_d; /* Expression: SM.ctrl==3
|
||||
* Referenced by: '<S18>/Constant2'
|
||||
*/
|
||||
boolean_T Constant_Value_j; /* Expression: SM.ctrl==1
|
||||
* Referenced by: '<S17>/Constant'
|
||||
*/
|
||||
boolean_T Constant1_Value_f; /* Expression: SM.ctrl==2
|
||||
* Referenced by: '<S17>/Constant1'
|
||||
*/
|
||||
boolean_T Constant2_Value_kn; /* Expression: SM.ctrl==3
|
||||
* Referenced by: '<S17>/Constant2'
|
||||
*/
|
||||
};
|
||||
|
||||
/* Storage class 'PageSwitching' */
|
||||
extern VFControl_cal_type VFControl_cal_impl;
|
||||
extern VFControl_cal_type *VFControl_cal;
|
||||
|
||||
#endif /* VFControl_cal_h_ */
|
@ -1,89 +0,0 @@
|
||||
/*
|
||||
* VFControl_private.h
|
||||
*
|
||||
* Academic License - for use in teaching, academic research, and meeting
|
||||
* course requirements at degree granting institutions only. Not for
|
||||
* government, commercial, or other organizational use.
|
||||
*
|
||||
* Code generation for model "VFControl".
|
||||
*
|
||||
* Model version : 1.1
|
||||
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
|
||||
* C++ source code generated on : Wed Oct 16 11:33:22 2024
|
||||
*
|
||||
* Target selection: speedgoat.tlc
|
||||
* Note: GRT includes extra infrastructure and instrumentation for prototyping
|
||||
* Embedded hardware selection: Intel->x86-64 (Linux 64)
|
||||
* Code generation objectives: Unspecified
|
||||
* Validation result: Not run
|
||||
*/
|
||||
|
||||
#ifndef VFControl_private_h_
|
||||
#define VFControl_private_h_
|
||||
#include "rtwtypes.h"
|
||||
#include "multiword_types.h"
|
||||
#include "VFControl_types.h"
|
||||
#include "VFControl.h"
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
/* Private macros used by the generated code to access rtModel */
|
||||
#ifndef rtmIsMajorTimeStep
|
||||
#define rtmIsMajorTimeStep(rtm) (((rtm)->Timing.simTimeStep) == MAJOR_TIME_STEP)
|
||||
#endif
|
||||
|
||||
#ifndef rtmIsMinorTimeStep
|
||||
#define rtmIsMinorTimeStep(rtm) (((rtm)->Timing.simTimeStep) == MINOR_TIME_STEP)
|
||||
#endif
|
||||
|
||||
#ifndef rtmSetTFinal
|
||||
#define rtmSetTFinal(rtm, val) ((rtm)->Timing.tFinal = (val))
|
||||
#endif
|
||||
|
||||
#ifndef rtmSetTPtr
|
||||
#define rtmSetTPtr(rtm, val) ((rtm)->Timing.t = (val))
|
||||
#endif
|
||||
|
||||
#ifndef CodeFormat
|
||||
#define CodeFormat S-Function
|
||||
#else
|
||||
#undef CodeFormat
|
||||
#define CodeFormat S-Function
|
||||
#endif
|
||||
|
||||
#ifndef S_FUNCTION_NAME
|
||||
#define S_FUNCTION_NAME simulink_only_sfcn
|
||||
#else
|
||||
#undef S_FUNCTION_NAME
|
||||
#define S_FUNCTION_NAME simulink_only_sfcn
|
||||
#endif
|
||||
|
||||
#ifndef S_FUNCTION_LEVEL
|
||||
#define S_FUNCTION_LEVEL 2
|
||||
#else
|
||||
#undef S_FUNCTION_LEVEL
|
||||
#define S_FUNCTION_LEVEL 2
|
||||
#endif
|
||||
|
||||
#ifndef RTW_GENERATED_S_FUNCTION
|
||||
#define RTW_GENERATED_S_FUNCTION
|
||||
#endif
|
||||
|
||||
#ifndef rtmGetDataMapInfo
|
||||
# define rtmGetDataMapInfo(rtm) NULL
|
||||
#endif
|
||||
|
||||
#ifndef rtmSetDataMapInfo
|
||||
# define rtmSetDataMapInfo(rtm, val)
|
||||
#endif
|
||||
|
||||
#if !defined(RTW_SFUNCTION_DEFINES)
|
||||
#define RTW_SFUNCTION_DEFINES
|
||||
#ifndef _RTW_COMMON_DEFINES_
|
||||
#define _RTW_COMMON_DEFINES_
|
||||
#endif
|
||||
#endif
|
||||
|
||||
extern "C" void sg_fpga_do_sf_a2(SimStruct *rts);
|
||||
|
||||
#endif /* VFControl_private_h_ */
|
@ -1,27 +0,0 @@
|
||||
/*
|
||||
* VFControl_types.h
|
||||
*
|
||||
* Academic License - for use in teaching, academic research, and meeting
|
||||
* course requirements at degree granting institutions only. Not for
|
||||
* government, commercial, or other organizational use.
|
||||
*
|
||||
* Code generation for model "VFControl".
|
||||
*
|
||||
* Model version : 1.1
|
||||
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
|
||||
* C++ source code generated on : Wed Oct 16 11:33:22 2024
|
||||
*
|
||||
* Target selection: speedgoat.tlc
|
||||
* Note: GRT includes extra infrastructure and instrumentation for prototyping
|
||||
* Embedded hardware selection: Intel->x86-64 (Linux 64)
|
||||
* Code generation objectives: Unspecified
|
||||
* Validation result: Not run
|
||||
*/
|
||||
|
||||
#ifndef VFControl_types_h_
|
||||
#define VFControl_types_h_
|
||||
|
||||
/* Forward declaration for rtModel */
|
||||
typedef struct tag_RTM_VFControl_T RT_MODEL_VFControl_T;
|
||||
|
||||
#endif /* VFControl_types_h_ */
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,15 +0,0 @@
|
||||
|
||||
call "%SLREALTIME_QNX_SP_ROOT%\%SLREALTIME_QNX_VERSION%\qnxsdp-env.bat"
|
||||
|
||||
cd .
|
||||
|
||||
chcp 1252
|
||||
|
||||
if "%1"=="" (make -f VFControl.mk all) else (make -f VFControl.mk %1)
|
||||
@if errorlevel 1 goto error_exit
|
||||
|
||||
exit /B 0
|
||||
|
||||
:error_exit
|
||||
echo The make command returned an error of %errorlevel%
|
||||
exit /B 1
|
@ -1,505 +0,0 @@
|
||||
###########################################################################
|
||||
## Makefile generated for component 'VFControl'.
|
||||
##
|
||||
## Makefile : VFControl.mk
|
||||
## Generated on : Wed Oct 16 11:33:28 2024
|
||||
## Final product: $(START_DIR)/VFControl_sg_rtw/VFControl
|
||||
## Product type : executable
|
||||
##
|
||||
###########################################################################
|
||||
|
||||
###########################################################################
|
||||
## MACROS
|
||||
###########################################################################
|
||||
|
||||
# Macro Descriptions:
|
||||
# PRODUCT_NAME Name of the system to build
|
||||
# MAKEFILE Name of this makefile
|
||||
|
||||
PRODUCT_NAME = VFControl
|
||||
MAKEFILE = VFControl.mk
|
||||
MATLAB_ROOT = C:/PROGRA~1/MATLAB/R2024a
|
||||
MATLAB_BIN = C:/PROGRA~1/MATLAB/R2024a/bin
|
||||
MATLAB_ARCH_BIN = $(MATLAB_BIN)/win64
|
||||
START_DIR = C:/Users/PROMER~1/Desktop/SPARK-~1/Spark/UNAV/BANCOD~1/Simulink/VFCONT~1
|
||||
SOLVER =
|
||||
SOLVER_OBJ =
|
||||
CLASSIC_INTERFACE = 0
|
||||
TGT_FCN_LIB = ISO_C++
|
||||
MODEL_HAS_DYNAMICALLY_LOADED_SFCNS = 0
|
||||
RELATIVE_PATH_TO_ANCHOR = ../..
|
||||
C_STANDARD_OPTS =
|
||||
CPP_STANDARD_OPTS =
|
||||
|
||||
###########################################################################
|
||||
## TOOLCHAIN SPECIFICATIONS
|
||||
###########################################################################
|
||||
|
||||
# Toolchain Name: Simulink Real-Time Toolchain
|
||||
# Supported Version(s):
|
||||
# ToolchainInfo Version: 2024a
|
||||
# Specification Revision: 1.0
|
||||
#
|
||||
#-------------------------------------------
|
||||
# Macros assumed to be defined elsewhere
|
||||
#-------------------------------------------
|
||||
|
||||
# SLREALTIME_QNX_SP_ROOT
|
||||
# SLREALTIME_QNX_VERSION
|
||||
|
||||
#-----------
|
||||
# MACROS
|
||||
#-----------
|
||||
|
||||
QCC_TARGET = gcc_ntox86_64
|
||||
|
||||
TOOLCHAIN_SRCS =
|
||||
TOOLCHAIN_INCS =
|
||||
TOOLCHAIN_LIBS = -L$(MATLAB_ROOT)/toolbox/slrealtime/target/win64/target/lib -ltraceparser -lpps -lslrealtime_kernel -lslrealtime_platform -lslrealtime_rtps -lsocket -lboost_system -lboost_log -lpci -lopenblas -lpcap
|
||||
|
||||
#------------------------
|
||||
# BUILD TOOL COMMANDS
|
||||
#------------------------
|
||||
|
||||
# C Compiler: QNX C Compiler
|
||||
CC = qcc
|
||||
|
||||
# Linker: QCC Linker
|
||||
LD = q++
|
||||
|
||||
# C++ Compiler: QNX C++ Compiler
|
||||
CPP = q++
|
||||
|
||||
# C++ Linker: QCC C++ Linker
|
||||
CPP_LD = q++
|
||||
|
||||
# Archiver: QNX Archiver
|
||||
AR = ntox86_64-gcc-ar
|
||||
|
||||
# Builder: GMAKE Utility
|
||||
MAKE = make
|
||||
|
||||
|
||||
#-------------------------
|
||||
# Directives/Utilities
|
||||
#-------------------------
|
||||
|
||||
CDEBUG = -g -O0 -finstrument-functions
|
||||
C_OUTPUT_FLAG = -o
|
||||
LDDEBUG = -g
|
||||
OUTPUT_FLAG = -o
|
||||
CPPDEBUG = -g -O0 -finstrument-functions
|
||||
CPP_OUTPUT_FLAG = -o
|
||||
CPPLDDEBUG = -g
|
||||
OUTPUT_FLAG = -o
|
||||
ARDEBUG =
|
||||
STATICLIB_OUTPUT_FLAG =
|
||||
RM = @del /F
|
||||
ECHO = @echo
|
||||
MV = @move
|
||||
RUN =
|
||||
|
||||
#--------------------------------------
|
||||
# "Faster Runs" Build Configuration
|
||||
#--------------------------------------
|
||||
|
||||
ARFLAGS = ruvs
|
||||
CFLAGS = -c -V$(QCC_TARGET) -g \
|
||||
-O2 -fwrapv
|
||||
CPPFLAGS = -c -V$(QCC_TARGET) -g -std=gnu++14 -stdlib=libstdc++ \
|
||||
-O2 -fwrapv
|
||||
CPP_LDFLAGS = -V$(QCC_TARGET) -g -std=gnu++14 -stdlib=libstdc++
|
||||
CPP_SHAREDLIB_LDFLAGS = -V$(QCC_TARGET) -shared -Wl,--no-undefined -g
|
||||
LDFLAGS = -V$(QCC_TARGET) -g -std=gnu++14 -stdlib=libstdc++
|
||||
MAKE_FLAGS = -f $(MAKEFILE)
|
||||
SHAREDLIB_LDFLAGS = -V$(QCC_TARGET) -shared -Wl,--no-undefined -g
|
||||
|
||||
|
||||
|
||||
###########################################################################
|
||||
## OUTPUT INFO
|
||||
###########################################################################
|
||||
|
||||
PRODUCT = $(START_DIR)/VFControl_sg_rtw/VFControl
|
||||
PRODUCT_TYPE = "executable"
|
||||
BUILD_TYPE = "Top-Level Standalone Executable"
|
||||
|
||||
###########################################################################
|
||||
## INCLUDE PATHS
|
||||
###########################################################################
|
||||
|
||||
INCLUDES_BUILDINFO = -I$(START_DIR)/slprj/speedgoat/PWMGenerator -I$(START_DIR) -I$(START_DIR)/VFControl_sg_rtw -I$(MATLAB_ROOT)/toolbox/slrealtime/simulink/blocks/dist/include -I$(MATLAB_ROOT)/toolbox/slrealtime/target/kernel/dist/include -I$(MATLAB_ROOT)/extern/include -I$(MATLAB_ROOT)/simulink/include -I$(MATLAB_ROOT)/rtw/c/src -I$(MATLAB_ROOT)/rtw/c/src/ext_mode/common -IC:/PROGRA~3/SPEEDG~1/SPEEDG~1/R2024a/990DE8~1.0/SG_BLO~1/common/libsg -I$(MATLAB_ROOT)/toolbox/physmod/powersys/facts/facts -I$(MATLAB_ROOT)/toolbox/physmod/powersys/DR/DR -IC:/PROGRA~3/SPEEDG~1/SPEEDG~1/R2024a/990DE8~1.0 -IC:/PROGRA~3/SPEEDG~1/SPEEDG~1/R2024a/990DE8~1.0/SG_BLO~1/fpga/setup/include -I$(START_DIR)/slprj/speedgoat/_sharedutils -I$(START_DIR)/VFControl_sg_rtw/instrumented
|
||||
|
||||
INCLUDES = $(INCLUDES_BUILDINFO)
|
||||
|
||||
###########################################################################
|
||||
## DEFINES
|
||||
###########################################################################
|
||||
|
||||
DEFINES_ = -DSIMULINK_REAL_TIME -D_QNX_SOURCE
|
||||
DEFINES_BUILD_ARGS = -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DEXT_MODE=1 -DMAT_FILE=0 -DONESTEPFCN=1 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=1
|
||||
DEFINES_CUSTOM =
|
||||
DEFINES_OPTS = -DTID01EQ=1
|
||||
DEFINES_STANDARD = -DMODEL=VFControl -DNUMST=3 -DNCSTATES=0 -DHAVESTDIO -DRT -DUSE_RTMODEL
|
||||
|
||||
DEFINES = $(DEFINES_) $(DEFINES_BUILD_ARGS) $(DEFINES_CUSTOM) $(DEFINES_OPTS) $(DEFINES_STANDARD)
|
||||
|
||||
###########################################################################
|
||||
## SOURCE FILES
|
||||
###########################################################################
|
||||
|
||||
SRCS = $(MATLAB_ROOT)/rtw/c/src/rt_matrx.c $(MATLAB_ROOT)/rtw/c/src/rt_printf.c $(START_DIR)/VFControl_sg_rtw/VFControl.cpp $(START_DIR)/VFControl_sg_rtw/VFControl_cal.cpp $(START_DIR)/VFControl_sg_rtw/rtmodel.cpp $(START_DIR)/VFControl_sg_rtw/slrealtime_datatype_ground.cpp $(START_DIR)/VFControl_sg_rtw/rte_VFControl_parameters.cpp $(START_DIR)/VFControl_sg_rtw/main.cpp C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/dio/sg_fpga_do_sf_a2.c C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/setup/src/sg_fpga_io30x_setup_util.c C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/setup/src/sg_fpga_io3xx_scatter_gather_dma.c C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/setup/src/sg_fpga_io39x_setup_util.c C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/setup/src/sg_fpga_io31x_io32x_setup_util.c C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/setup/src/sg_fpga_io33x_setup_util.c C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/setup/src/sg_fpga_setup_util.c C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/setup/src/sg_fpga_io36x_setup_util.c C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/setup/src/sg_fpga_io3xx_util.c $(START_DIR)/VFControl_sg_rtw/sg_early_init.cpp host_timer_x86.c slrealtime_code_profiling_utility_functions.cpp
|
||||
|
||||
ALL_SRCS = $(SRCS)
|
||||
|
||||
###########################################################################
|
||||
## OBJECTS
|
||||
###########################################################################
|
||||
|
||||
OBJS = rt_matrx.o rt_printf.o VFControl.o VFControl_cal.o rtmodel.o slrealtime_datatype_ground.o rte_VFControl_parameters.o main.o sg_fpga_do_sf_a2.o sg_fpga_io30x_setup_util.o sg_fpga_io3xx_scatter_gather_dma.o sg_fpga_io39x_setup_util.o sg_fpga_io31x_io32x_setup_util.o sg_fpga_io33x_setup_util.o sg_fpga_setup_util.o sg_fpga_io36x_setup_util.o sg_fpga_io3xx_util.o sg_early_init.o host_timer_x86.o slrealtime_code_profiling_utility_functions.o
|
||||
|
||||
ALL_OBJS = $(OBJS)
|
||||
|
||||
###########################################################################
|
||||
## PREBUILT OBJECT FILES
|
||||
###########################################################################
|
||||
|
||||
PREBUILT_OBJS =
|
||||
|
||||
###########################################################################
|
||||
## LIBRARIES
|
||||
###########################################################################
|
||||
|
||||
MODELREF_LIBS = ../../slprj/speedgoat/PWMGenerator/instrumented/PWMGenerator_rtwlib.a
|
||||
|
||||
LIBS = $(START_DIR)/slprj/speedgoat/_sharedutils/rtwshared.a
|
||||
|
||||
###########################################################################
|
||||
## SYSTEM LIBRARIES
|
||||
###########################################################################
|
||||
|
||||
SYSTEM_LIBS =
|
||||
|
||||
###########################################################################
|
||||
## ADDITIONAL TOOLCHAIN FLAGS
|
||||
###########################################################################
|
||||
|
||||
#---------------
|
||||
# C Compiler
|
||||
#---------------
|
||||
|
||||
CFLAGS_BASIC = $(DEFINES) $(INCLUDES)
|
||||
|
||||
CFLAGS += $(CFLAGS_BASIC)
|
||||
|
||||
#-----------------
|
||||
# C++ Compiler
|
||||
#-----------------
|
||||
|
||||
CPPFLAGS_BASIC = $(DEFINES) $(INCLUDES)
|
||||
|
||||
CPPFLAGS += $(CPPFLAGS_BASIC)
|
||||
|
||||
#---------------
|
||||
# C++ Linker
|
||||
#---------------
|
||||
|
||||
CPP_LDFLAGS_ = -lsg_qnx710_x86_64 -LC:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/common/libsg
|
||||
|
||||
CPP_LDFLAGS += $(CPP_LDFLAGS_)
|
||||
|
||||
#------------------------------
|
||||
# C++ Shared Library Linker
|
||||
#------------------------------
|
||||
|
||||
CPP_SHAREDLIB_LDFLAGS_ = -lsg_qnx710_x86_64 -LC:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/common/libsg
|
||||
|
||||
CPP_SHAREDLIB_LDFLAGS += $(CPP_SHAREDLIB_LDFLAGS_)
|
||||
|
||||
#-----------
|
||||
# Linker
|
||||
#-----------
|
||||
|
||||
LDFLAGS_ = -lsg_qnx710_x86_64 -LC:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/common/libsg
|
||||
|
||||
LDFLAGS += $(LDFLAGS_)
|
||||
|
||||
#--------------------------
|
||||
# Shared Library Linker
|
||||
#--------------------------
|
||||
|
||||
SHAREDLIB_LDFLAGS_ = -lsg_qnx710_x86_64 -LC:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/common/libsg
|
||||
|
||||
SHAREDLIB_LDFLAGS += $(SHAREDLIB_LDFLAGS_)
|
||||
|
||||
###########################################################################
|
||||
## INLINED COMMANDS
|
||||
###########################################################################
|
||||
|
||||
###########################################################################
|
||||
## PHONY TARGETS
|
||||
###########################################################################
|
||||
|
||||
.PHONY : all build buildobj clean info prebuild
|
||||
|
||||
|
||||
all : build
|
||||
@echo "### Successfully generated all binary outputs."
|
||||
|
||||
|
||||
build : prebuild $(PRODUCT)
|
||||
|
||||
|
||||
buildobj : prebuild $(OBJS) $(PREBUILT_OBJS) $(LIBS)
|
||||
@echo "### Successfully generated all binary outputs."
|
||||
|
||||
|
||||
prebuild :
|
||||
|
||||
|
||||
###########################################################################
|
||||
## FINAL TARGET
|
||||
###########################################################################
|
||||
|
||||
#-------------------------------------------
|
||||
# Create a standalone executable
|
||||
#-------------------------------------------
|
||||
|
||||
$(PRODUCT) : $(OBJS) $(PREBUILT_OBJS) $(MODELREF_LIBS) $(LIBS)
|
||||
@echo "### Creating standalone executable "$(PRODUCT)" ..."
|
||||
$(CPP_LD) $(CPP_LDFLAGS) -o $(PRODUCT) $(OBJS) -Wl,--start-group ../../slprj/speedgoat/PWMGenerator/instrumented/PWMGenerator_rtwlib.a $(LIBS) -Wl,--end-group $(SYSTEM_LIBS) $(TOOLCHAIN_LIBS)
|
||||
@echo "### Created: $(PRODUCT)"
|
||||
|
||||
|
||||
###########################################################################
|
||||
## INTERMEDIATE TARGETS
|
||||
###########################################################################
|
||||
|
||||
#---------------------
|
||||
# SOURCE-TO-OBJECT
|
||||
#---------------------
|
||||
|
||||
%.o : $(RELATIVE_PATH_TO_ANCHOR)/%.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(RELATIVE_PATH_TO_ANCHOR)/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(MATLAB_ROOT)/toolbox/physmod/powersys/powersys/%.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(MATLAB_ROOT)/toolbox/physmod/powersys/powersys/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/%.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/setup/src/%.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/setup/src/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/dio/%.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/dio/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/setup/%.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/setup/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(START_DIR)/%.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(START_DIR)/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(START_DIR)/VFControl_sg_rtw/%.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(START_DIR)/VFControl_sg_rtw/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(MATLAB_ROOT)/rtw/c/src/%.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(MATLAB_ROOT)/rtw/c/src/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(MATLAB_ROOT)/simulink/src/%.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(MATLAB_ROOT)/simulink/src/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(MATLAB_ROOT)/toolbox/simulink/blocks/src/%.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(MATLAB_ROOT)/toolbox/simulink/blocks/src/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : ../%.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : ../%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(MATLAB_ROOT)/toolbox/coder/profile/src/%.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(MATLAB_ROOT)/toolbox/coder/profile/src/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(START_DIR)/VFControl_sg_rtw/instrumented/%.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(START_DIR)/VFControl_sg_rtw/instrumented/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
rt_matrx.o : $(MATLAB_ROOT)/rtw/c/src/rt_matrx.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
rt_printf.o : $(MATLAB_ROOT)/rtw/c/src/rt_printf.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
VFControl.o : $(START_DIR)/VFControl_sg_rtw/VFControl.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
VFControl_cal.o : $(START_DIR)/VFControl_sg_rtw/VFControl_cal.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
rtmodel.o : $(START_DIR)/VFControl_sg_rtw/rtmodel.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
slrealtime_datatype_ground.o : $(START_DIR)/VFControl_sg_rtw/slrealtime_datatype_ground.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
rte_VFControl_parameters.o : $(START_DIR)/VFControl_sg_rtw/rte_VFControl_parameters.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
main.o : $(START_DIR)/VFControl_sg_rtw/main.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
sg_fpga_do_sf_a2.o : C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/dio/sg_fpga_do_sf_a2.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
sg_fpga_io30x_setup_util.o : C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/setup/src/sg_fpga_io30x_setup_util.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
sg_fpga_io3xx_scatter_gather_dma.o : C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/setup/src/sg_fpga_io3xx_scatter_gather_dma.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
sg_fpga_io39x_setup_util.o : C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/setup/src/sg_fpga_io39x_setup_util.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
sg_fpga_io31x_io32x_setup_util.o : C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/setup/src/sg_fpga_io31x_io32x_setup_util.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
sg_fpga_io33x_setup_util.o : C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/setup/src/sg_fpga_io33x_setup_util.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
sg_fpga_setup_util.o : C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/setup/src/sg_fpga_setup_util.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
sg_fpga_io36x_setup_util.o : C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/setup/src/sg_fpga_io36x_setup_util.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
sg_fpga_io3xx_util.o : C:/ProgramData/Speedgoat/speedgoatlib/R2024a/9.9.0/sg_blocks/fpga/setup/src/sg_fpga_io3xx_util.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
sg_early_init.o : $(START_DIR)/VFControl_sg_rtw/sg_early_init.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
###########################################################################
|
||||
## DEPENDENCIES
|
||||
###########################################################################
|
||||
|
||||
$(ALL_OBJS) : rtw_proj.tmw $(MAKEFILE)
|
||||
|
||||
|
||||
###########################################################################
|
||||
## MISCELLANEOUS TARGETS
|
||||
###########################################################################
|
||||
|
||||
info :
|
||||
@echo "### PRODUCT = $(PRODUCT)"
|
||||
@echo "### PRODUCT_TYPE = $(PRODUCT_TYPE)"
|
||||
@echo "### BUILD_TYPE = $(BUILD_TYPE)"
|
||||
@echo "### INCLUDES = $(INCLUDES)"
|
||||
@echo "### DEFINES = $(DEFINES)"
|
||||
@echo "### ALL_SRCS = $(ALL_SRCS)"
|
||||
@echo "### ALL_OBJS = $(ALL_OBJS)"
|
||||
@echo "### LIBS = $(LIBS)"
|
||||
@echo "### MODELREF_LIBS = $(MODELREF_LIBS)"
|
||||
@echo "### SYSTEM_LIBS = $(SYSTEM_LIBS)"
|
||||
@echo "### TOOLCHAIN_LIBS = $(TOOLCHAIN_LIBS)"
|
||||
@echo "### CFLAGS = $(CFLAGS)"
|
||||
@echo "### LDFLAGS = $(LDFLAGS)"
|
||||
@echo "### SHAREDLIB_LDFLAGS = $(SHAREDLIB_LDFLAGS)"
|
||||
@echo "### CPPFLAGS = $(CPPFLAGS)"
|
||||
@echo "### CPP_LDFLAGS = $(CPP_LDFLAGS)"
|
||||
@echo "### CPP_SHAREDLIB_LDFLAGS = $(CPP_SHAREDLIB_LDFLAGS)"
|
||||
@echo "### ARFLAGS = $(ARFLAGS)"
|
||||
@echo "### MAKE_FLAGS = $(MAKE_FLAGS)"
|
||||
|
||||
|
||||
clean :
|
||||
$(ECHO) "### Deleting all derived files ..."
|
||||
$(RM) $(subst /,\,$(PRODUCT))
|
||||
$(RM) $(subst /,\,$(ALL_OBJS))
|
||||
$(ECHO) "### Deleted all derived files."
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +0,0 @@
|
||||
Simulink Coder project for VFControl using . MATLAB root = C:\Program Files\MATLAB\R2024a. SimStruct date: 12-ene.-2024 11:16:21
|
||||
This file is generated by Simulink Coder for use by the make utility
|
||||
to determine when to rebuild objects when the name of the current Simulink Coder project changes.
|
||||
The rtwinfomat located at:
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,62 +0,0 @@
|
||||
/*
|
||||
* File: slrealtime_code_profiling_utility_functions.cpp
|
||||
*
|
||||
* Code generated for instrumentation.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "slrealtime_code_profiling_utility_functions.h"
|
||||
|
||||
/* Code instrumentation offset(s) for model */
|
||||
#define taskTimeStart__offset 0
|
||||
#define taskTimeEnd__offset 0
|
||||
|
||||
/* A function parameter may be intentionally unused */
|
||||
#ifndef UNUSED_PARAMETER
|
||||
# if defined(__LCC__)
|
||||
# define UNUSED_PARAMETER(x)
|
||||
# else
|
||||
# define UNUSED_PARAMETER(x) (void) (x)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
void xilUploadProfilingData(uint32_T sectionId)
|
||||
{
|
||||
slrealtimeAddEvent(sectionId);
|
||||
}
|
||||
|
||||
/* For real-time, multitasking case this function is stubbed out. */
|
||||
#define xilProfilingTimerFreezeInternal() {}
|
||||
|
||||
void xilProfilingTimerFreeze(void)
|
||||
{
|
||||
}
|
||||
|
||||
#define xilProfilingTimerUnFreezeInternal() {}
|
||||
|
||||
void xilProfilingTimerUnFreeze(void)
|
||||
{
|
||||
}
|
||||
|
||||
/* Tic/Toc methods for task profiling */
|
||||
#define taskTimeStart(id) { \
|
||||
xilUploadProfilingData(id); \
|
||||
xilProfilingTimerUnFreezeInternal(); \
|
||||
}
|
||||
#define taskTimeEnd(id) { \
|
||||
uint32_T sectionIdNeg = id; \
|
||||
sectionIdNeg = ~sectionIdNeg; \
|
||||
xilProfilingTimerFreezeInternal(); \
|
||||
xilUploadProfilingData(sectionIdNeg); \
|
||||
}
|
||||
|
||||
/* Code instrumentation method(s) for model */
|
||||
void taskTimeStart_(uint32_T sectionId)
|
||||
{
|
||||
taskTimeStart(taskTimeStart__offset + sectionId);
|
||||
}
|
||||
|
||||
void taskTimeEnd_(uint32_T sectionId)
|
||||
{
|
||||
taskTimeEnd(taskTimeEnd__offset + sectionId);
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
/*
|
||||
* File: slrealtime_code_profiling_utility_functions.h
|
||||
*
|
||||
* Code generated for instrumentation.
|
||||
*
|
||||
*/
|
||||
|
||||
/* Functions with a C call interface */
|
||||
#ifdef __cplusplus
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
||||
#endif
|
||||
|
||||
#include "tracing.h"
|
||||
#ifdef __cplusplus
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#include "rtwtypes.h"
|
||||
|
||||
/* Upload code instrumentation data point */
|
||||
void slrealtimeUploadEvent(
|
||||
void* pData, uint32_T numMemUnits, uint32_T sectionId);
|
||||
|
||||
/* Uploads data */
|
||||
void xilUploadProfilingData(uint32_T sectionId);
|
||||
|
||||
/* Pause/restart the timer while running code associated with storing and uploading the data. */
|
||||
void xilProfilingTimerFreeze(void);
|
||||
void xilProfilingTimerUnFreeze(void);
|
||||
|
||||
/* Code instrumentation method(s) for model */
|
||||
void taskTimeStart_(uint32_T sectionId);
|
||||
void taskTimeEnd_(uint32_T sectionId);
|
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
||||
{"model_checksum":[0,0,0,0],"num_entries":0,"channels":[]}
|
@ -1,44 +0,0 @@
|
||||
/* Main generated for Simulink Real-Time model VFControl */
|
||||
#include <ModelInfo.hpp>
|
||||
#include <utilities.hpp>
|
||||
#include "VFControl.h"
|
||||
#include "rte_VFControl_parameters.h"
|
||||
|
||||
/* Task wrapper function definitions */
|
||||
void VFControl_Task1(void)
|
||||
{
|
||||
VFControl_step0();
|
||||
}
|
||||
void VFControl_Task2(void)
|
||||
{
|
||||
VFControl_step2();
|
||||
}
|
||||
/* Task descriptors */
|
||||
slrealtime::TaskInfo task_1( 0u, std::bind(VFControl_Task1), slrealtime::TaskInfo::PERIODIC, 0.0001, 0, 40);
|
||||
slrealtime::TaskInfo task_2( 1u, std::bind(VFControl_Task2), slrealtime::TaskInfo::PERIODIC, 0.0005, 0, 39);
|
||||
|
||||
/* Executable base address for XCP */
|
||||
#ifdef __linux__
|
||||
extern char __executable_start;
|
||||
static uintptr_t const base_address = reinterpret_cast<uintptr_t>(&__executable_start);
|
||||
#else
|
||||
/* Set 0 as placeholder, to be parsed later from /proc filesystem */
|
||||
static uintptr_t const base_address = 0;
|
||||
#endif
|
||||
|
||||
/* Model descriptor */
|
||||
slrealtime::ModelInfo VFControl_Info =
|
||||
{
|
||||
"VFControl",
|
||||
VFControl_initialize,
|
||||
VFControl_terminate,
|
||||
[]()->char const*& { return VFControl_M->errorStatus; },
|
||||
[]()->unsigned char& { return VFControl_M->Timing.stopRequestedFlag; },
|
||||
{ task_1, task_2 },
|
||||
slrealtime::getSegmentVector()
|
||||
};
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
slrealtime::BaseAddress::set(base_address);
|
||||
return slrealtime::runModel(argc, argv, VFControl_Info);
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
#include "rte_VFControl_parameters.h"
|
||||
#include "PWMGenerator.h"
|
||||
#include "VFControl.h"
|
||||
#include "PWMGenerator_cal.h"
|
||||
#include "VFControl_cal.h"
|
||||
|
||||
extern PWMGenerator_cal_type PWMGenerator_cal_impl;
|
||||
extern VFControl_cal_type VFControl_cal_impl;
|
||||
namespace slrealtime
|
||||
{
|
||||
/* Description of SEGMENTS */
|
||||
SegmentVector segmentInfo {
|
||||
{ (void*)&VFControl_cal_impl, (void**)&VFControl_cal, sizeof
|
||||
(VFControl_cal_type), 2 },
|
||||
|
||||
{ (void*)&PWMGenerator_cal_impl, (void**)&PWMGenerator_cal, sizeof
|
||||
(PWMGenerator_cal_type), 2 }
|
||||
};
|
||||
|
||||
SegmentVector &getSegmentVector(void)
|
||||
{
|
||||
return segmentInfo;
|
||||
}
|
||||
} // slrealtime
|
@ -1,11 +0,0 @@
|
||||
#ifndef _RTE_VFCONTROL_PARAMETERS_H
|
||||
#define _RTE_VFCONTROL_PARAMETERS_H
|
||||
#include "rtwtypes.h"
|
||||
#include "SegmentInfo.hpp"
|
||||
|
||||
namespace slrealtime
|
||||
{
|
||||
SegmentVector &getSegmentVector(void);
|
||||
} // slrealtime
|
||||
|
||||
#endif
|
@ -1,39 +0,0 @@
|
||||
/*
|
||||
* rtmodel.cpp:
|
||||
*
|
||||
* Academic License - for use in teaching, academic research, and meeting
|
||||
* course requirements at degree granting institutions only. Not for
|
||||
* government, commercial, or other organizational use.
|
||||
*
|
||||
* Code generation for model "VFControl".
|
||||
*
|
||||
* Model version : 1.1
|
||||
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
|
||||
* C++ source code generated on : Wed Oct 16 11:33:22 2024
|
||||
*
|
||||
* Target selection: speedgoat.tlc
|
||||
* Note: GRT includes extra infrastructure and instrumentation for prototyping
|
||||
* Embedded hardware selection: Intel->x86-64 (Linux 64)
|
||||
* Code generation objectives: Unspecified
|
||||
* Validation result: Not run
|
||||
*/
|
||||
|
||||
#include "rtmodel.h"
|
||||
|
||||
/* Use this function only if you need to maintain compatibility with an existing static main program. */
|
||||
void VFControl_step(int_T tid)
|
||||
{
|
||||
switch (tid) {
|
||||
case 0 :
|
||||
VFControl_step0();
|
||||
break;
|
||||
|
||||
case 1 :
|
||||
VFControl_step2();
|
||||
break;
|
||||
|
||||
default :
|
||||
/* do nothing */
|
||||
break;
|
||||
}
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
/*
|
||||
* rtmodel.h:
|
||||
*
|
||||
* Academic License - for use in teaching, academic research, and meeting
|
||||
* course requirements at degree granting institutions only. Not for
|
||||
* government, commercial, or other organizational use.
|
||||
*
|
||||
* Code generation for model "VFControl".
|
||||
*
|
||||
* Model version : 1.1
|
||||
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
|
||||
* C++ source code generated on : Wed Oct 16 11:33:22 2024
|
||||
*
|
||||
* Target selection: speedgoat.tlc
|
||||
* Note: GRT includes extra infrastructure and instrumentation for prototyping
|
||||
* Embedded hardware selection: Intel->x86-64 (Linux 64)
|
||||
* Code generation objectives: Unspecified
|
||||
* Validation result: Not run
|
||||
*/
|
||||
|
||||
#ifndef rtmodel_h_
|
||||
#define rtmodel_h_
|
||||
#include "VFControl.h"
|
||||
#define GRTINTERFACE 0
|
||||
|
||||
/* Model wrapper function */
|
||||
/* Use this function only if you need to maintain compatibility with an existing static main program. */
|
||||
extern void VFControl_step(int_T tid);
|
||||
|
||||
#endif /* rtmodel_h_ */
|
@ -1,4 +0,0 @@
|
||||
Simulink Coder project for VFControl using . MATLAB root = C:\Program Files\MATLAB\R2024a. SimStruct date: 12-ene.-2024 11:16:21
|
||||
This file is generated by Simulink Coder for use by the make utility
|
||||
to determine when to rebuild objects when the name of the current Simulink Coder project changes.
|
||||
The rtwinfomat located at: ..\slprj\speedgoat\VFControl\tmwinternal\binfo.mat
|
@ -1,264 +0,0 @@
|
||||
#include "VFControl.h"
|
||||
#include "VFControl_private.h"
|
||||
#include "sg_printf.h"
|
||||
#include "sg_early_init.h"
|
||||
#include "simstruc.h" // This is required if there are no S-function blocks in the model
|
||||
|
||||
static RTWSfcnInfo sgEarlyInitSfcnInfo;
|
||||
struct _ssBlkInfo2 sgEarlyInitBlkInfo2 = {.rtwSfcnInfo = &sgEarlyInitSfcnInfo};
|
||||
|
||||
void sg_init_sfcns(void)
|
||||
{
|
||||
sg_printf(sg_debug, "Initializing [EARLY INIT] S-functions\n");
|
||||
|
||||
rtssSetErrorStatusPtr(&sgEarlyInitSfcnInfo, (&rtmGetErrorStatus(VFControl_M)));
|
||||
sg_early_init_set_blkInfo2((void*)&sgEarlyInitBlkInfo2);
|
||||
|
||||
{
|
||||
uint16_t moduleArchitecture;
|
||||
int32_t ErrCode;
|
||||
uint32_t i;
|
||||
uint32_t *bitstream = NULL;
|
||||
uint8_t *fpgacode = NULL;
|
||||
char *devname;
|
||||
sg_fpga_io3xxModuleIdT moduleId;
|
||||
FILE *mcs;
|
||||
static char mcsBinFile[200];
|
||||
static char msg[500];
|
||||
|
||||
sg_initModelRun();
|
||||
|
||||
// Determine path to bitstream file
|
||||
if (sg_getModelBaseDir(mcsBinFile, sizeof(mcsBinFile))) {
|
||||
sprintf(msg, "Could not determine location of the model on the target machine.");
|
||||
rtmSetErrorStatus(VFControl_M, msg);
|
||||
return;
|
||||
}
|
||||
if ((strlen(mcsBinFile) + strlen("/fpga/speedgoat_IO397_RCP.mcs") + 1) > sizeof(mcsBinFile)) {
|
||||
sprintf(msg, "Path to the bitstream (model name + bitstream name) is too long.");
|
||||
rtmSetErrorStatus(VFControl_M, msg);
|
||||
return;
|
||||
}
|
||||
strcat(mcsBinFile, "/fpga/speedgoat_IO397_RCP.mcs");
|
||||
SG_PRINTF(DEBUG, "Bitstream: %s\n", mcsBinFile);
|
||||
|
||||
// Read bitstream file
|
||||
if ((mcs = fopen(mcsBinFile, "r")) == NULL){
|
||||
sprintf(msg, "Bitstream file not found at %s\n", mcsBinFile);
|
||||
rtmSetErrorStatus(VFControl_M, msg);
|
||||
SG_PRINTF(ERROR,msg);
|
||||
return;
|
||||
}
|
||||
bitstream = (uint32_t *) malloc(2192012*sizeof(uint32_t));
|
||||
fpgacode = (uint8_t *) malloc(2192012*sizeof(uint8_t));
|
||||
for(i = 0; i<2192012; i++){
|
||||
fscanf(mcs, "%d\n", &bitstream[i]);
|
||||
fpgacode[i] = bitstream[i];
|
||||
}
|
||||
fclose(mcs);
|
||||
|
||||
// Get module IDs (PIC info)
|
||||
SG_PRINTF(INFO,"Getting module information.\n");
|
||||
ErrCode = (int32_t)sg_fpga_IO3xxGetModuleId(39750, &moduleId);
|
||||
|
||||
if (ErrCode >= 0)
|
||||
{
|
||||
devname = moduleId.devname;
|
||||
moduleArchitecture = moduleId.moduleArchitecture;
|
||||
|
||||
SG_PRINTF(DEBUG, "boardType: %d\n", 39750);
|
||||
SG_PRINTF(DEBUG, "ErrCode: %d\n", ErrCode);
|
||||
SG_PRINTF(DEBUG, "******************************************\n");
|
||||
SG_PRINTF(DEBUG, "moduleId->devname: %s\n", moduleId.devname);
|
||||
SG_PRINTF(DEBUG, "moduleId->vendorid: 0x%x\n", moduleId.vendorid);
|
||||
SG_PRINTF(DEBUG, "moduleId->subvendorid: 0x%x\n", moduleId.subvendorid);
|
||||
SG_PRINTF(DEBUG, "moduleId->deviceid: 0x%x\n", moduleId.deviceid);
|
||||
SG_PRINTF(DEBUG, "moduleId->subdeviceid: 0x%x\n", moduleId.subdeviceid);
|
||||
SG_PRINTF(DEBUG, "moduleId.moduleArchitecture: %d\n", moduleId.moduleArchitecture);
|
||||
}
|
||||
else
|
||||
{
|
||||
sprintf(msg, "Setup block: board type unknown.");
|
||||
rtmSetErrorStatus(VFControl_M, msg);
|
||||
SG_PRINTF(ERROR,msg);
|
||||
return;
|
||||
}
|
||||
// Support for different architectures
|
||||
SG_PRINTF(INFO,"Running board specific programming file.\n");
|
||||
switch (moduleArchitecture)
|
||||
{
|
||||
case TEWS_TPMC:
|
||||
ErrCode = IO30x_programFPGA(devname, (int16_t)-1, (int16_t)-1,
|
||||
(int32_t)1, (int32_t)1,
|
||||
(int32_t)0, (uint32_t)2192012, bitstream,
|
||||
&moduleId,(uint32_t)1102114075);
|
||||
break;
|
||||
|
||||
case TEWS_TXMC:
|
||||
if (39750 == 324200 || 39750 == 334325 ||39750 == 336325 || 39750 == 325160)
|
||||
{
|
||||
ErrCode = IO324_programmFPGA(devname, (int16_t)-1,
|
||||
(int16_t)-1, (int32_t)1, (int32_t)1,
|
||||
(int32_t)0, (uint32_t)2192012, fpgacode,
|
||||
(uint32_t)1102114075, &moduleId, (uint32_t)85,
|
||||
(uint32_t)0);
|
||||
}
|
||||
else // IO31x, IO32x
|
||||
{
|
||||
ErrCode = IO31x_IO32x_programmFPGA(devname, (int16_t)-1,
|
||||
(int16_t)-1, (int32_t)1, (int32_t)1,
|
||||
(int32_t)0, (uint32_t)2192012, fpgacode,
|
||||
&moduleId, (uint32_t)85,(uint32_t)1102114075);
|
||||
}
|
||||
break;
|
||||
|
||||
case ACROMAG_PMC:
|
||||
ErrCode = IO331_programmFPGA(devname, (int16_t)-1, (int16_t)-1,
|
||||
(int32_t)1, (int32_t)1,
|
||||
(uint32_t)2192012, bitstream, &moduleId);
|
||||
break;
|
||||
|
||||
case ACROMAG_XMC:
|
||||
if (39750 == 332)
|
||||
{
|
||||
ErrCode = IO332_programmFPGA(devname, (int16_t)-1,
|
||||
(int16_t)-1, (int32_t)1, (int32_t)1,
|
||||
(uint32_t)2192012, bitstream, (uint32_t)1102114075,
|
||||
&moduleId);
|
||||
}
|
||||
else // IO333
|
||||
{
|
||||
ErrCode = IO333_programmFPGA(devname, (int16_t)-1,
|
||||
(int16_t)-1, (int32_t)1, (int32_t)1,
|
||||
(uint32_t)2192012, bitstream, (uint32_t)1102114075,
|
||||
&moduleId);
|
||||
}
|
||||
break;
|
||||
|
||||
case TEWS_MPCIE:
|
||||
ErrCode = IO39x_programmFPGA(devname, (int16_t)-1, (int16_t)-1,
|
||||
(int32_t)1, (int32_t)1,
|
||||
(uint32_t)2192012, fpgacode, (uint32_t)85, &moduleId);
|
||||
break;
|
||||
|
||||
case ENCLUSTRA_SOM:
|
||||
|
||||
ErrCode = IO36x_programmFPGA(devname, (int16_t)-1, (int16_t)-1,
|
||||
(int32_t)1, (int32_t)1,
|
||||
(uint32_t)2192012, fpgacode,
|
||||
(uint32_t)85, (uint32_t)0, &moduleId);
|
||||
break;
|
||||
|
||||
case XILINX_MPSOC:
|
||||
break;
|
||||
|
||||
default:
|
||||
sprintf(msg, "Setup block: module architecture incorrect.");
|
||||
rtmSetErrorStatus(VFControl_M, msg);
|
||||
// Free the bitstream allocation
|
||||
SG_PRINTF(ERROR,msg);
|
||||
free(bitstream);
|
||||
free(fpgacode);
|
||||
return;
|
||||
}
|
||||
|
||||
// Set board type (by now the board is registered)
|
||||
io3xxSetBoardTypeSgLib(1, 39750);
|
||||
|
||||
// Free the bitstream allocation
|
||||
free(bitstream);
|
||||
free(fpgacode);
|
||||
|
||||
// Handle any error states
|
||||
switch (ErrCode)
|
||||
{
|
||||
case NO_ERR:
|
||||
// Nothing to do.
|
||||
break;
|
||||
|
||||
case BOARD_NOT_FOUND:
|
||||
// reason for this error can be found in the pSgErrorStr (error message from sg-lib (sg_findPciDevice))
|
||||
sprintf(msg, "%s", pSgErrorStr);
|
||||
rtmSetErrorStatus(VFControl_M, msg);
|
||||
SG_PRINTF(ERROR,msg);
|
||||
return;
|
||||
|
||||
case EEPROM_ERROR:
|
||||
sprintf(msg, "Setup block %s: Error updating board EEPROM.\n", devname);
|
||||
rtmSetErrorStatus(VFControl_M, msg);
|
||||
SG_PRINTF(ERROR,msg);
|
||||
return;
|
||||
|
||||
case REPROG_ERROR:
|
||||
sprintf(msg, "Setup block %s: Error writing new bitstream to FPGA.\n", devname);
|
||||
rtmSetErrorStatus(VFControl_M, msg);
|
||||
SG_PRINTF(ERROR,msg);
|
||||
return;
|
||||
|
||||
case FLASH_ERROR:
|
||||
sprintf(msg, "Setup block %s: Bitstream flash storage error.\n", devname);
|
||||
rtmSetErrorStatus(VFControl_M, msg);
|
||||
SG_PRINTF(ERROR,msg);
|
||||
return;
|
||||
|
||||
case BIST_ERROR:
|
||||
sprintf(msg, "Setup block %s: Built in self test error.\n", devname);
|
||||
rtmSetErrorStatus(VFControl_M, msg);
|
||||
SG_PRINTF(ERROR,msg);
|
||||
return;
|
||||
|
||||
case ICAP_RECONF_FAILED:
|
||||
sprintf(msg, "Setup block %s: ICAP Reconfiguration was not successful.\n",devname);
|
||||
rtmSetErrorStatus(VFControl_M, msg);
|
||||
SG_PRINTF(ERROR,msg);
|
||||
return;
|
||||
|
||||
case BOARD_TYPE_UNKNOWN:
|
||||
sprintf(msg, "Setup block %s: The board type selected is unknown.\n",devname);
|
||||
rtmSetErrorStatus(VFControl_M, msg);
|
||||
SG_PRINTF(ERROR,msg);
|
||||
return;
|
||||
|
||||
default:
|
||||
sprintf(msg, "Setup block %s: An unknown error occurred.\n",devname);
|
||||
rtmSetErrorStatus(VFControl_M, msg);
|
||||
SG_PRINTF(ERROR,msg);
|
||||
return;
|
||||
}
|
||||
|
||||
// initialize Rear-IO's
|
||||
if (1 == 2){
|
||||
IO3xx_21_update(devname, 1, 0, 0, 0);
|
||||
}
|
||||
else if (1 == 3){
|
||||
IO3xx_22_update(devname, 1, 0, 0, 0);
|
||||
}
|
||||
else if (1 == 4){
|
||||
IO3xx_24_update(devname, 1, 0, 0, 0, 0);
|
||||
}
|
||||
|
||||
// initial settings on module registry
|
||||
|
||||
// Set all DIO's to registry inital values (all input, all output states = 0, all sources = codemodule)
|
||||
sg_fpga_io3xx_initDioLines(1, SG_FPGA_IO3XX_BAR2);
|
||||
|
||||
// Set if FPGA DMA Controller is used
|
||||
ScatterGatherDmaState *sgDmaSharedState;
|
||||
sg_fpga_io3xx_getSharedSgDmaState(1, &sgDmaSharedState);
|
||||
sgDmaSharedState->useFpgaDmaController = 0;
|
||||
}
|
||||
|
||||
{
|
||||
// run any code here at end of model-load
|
||||
// SG_PRINTF(INFO, "Setup Block: Entering TLC Trailer\n");
|
||||
// if(0){
|
||||
// io3xx_sgdma_finalizeDmaController(1);
|
||||
// io3xx_sgdma_startDmaController(1);
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
__attribute__((constructor)) void early_init_setup(void)
|
||||
{
|
||||
sg_register_early_init_function(sg_init_sfcns);
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
#include "slrtdatatypes.h"
|
||||
|
||||
const serialfifoptr serialfifoground = { 0, 0, 0 };
|
||||
|
||||
const bcmsglist1553 bcmsg1553ground = { 0, 0, 0, 0 };
|
||||
|
||||
const bcstatus1553 bcstatground = { 0, 0, 0, 0, 0, 0 };
|
||||
|
||||
const bmmsglist1553 bmmsg1553ground = { 0, 0, 0, 0 };
|
@ -1,22 +0,0 @@
|
||||
function [taskInfo, numtask, isDeploymentDiagram]=slrealtime_task_info()
|
||||
taskInfo(1).samplePeriod = 0.0001;
|
||||
taskInfo(1).sampleOffset = 0.0;
|
||||
taskInfo(1).taskPrio = 10;
|
||||
taskInfo(1).taskName = 'BaseRate';
|
||||
taskInfo(1).entryPoints = {};
|
||||
taskInfo(2).samplePeriod = 0.0005;
|
||||
taskInfo(2).sampleOffset = 0.0;
|
||||
taskInfo(2).taskPrio = 9;
|
||||
taskInfo(2).taskName = ['SubRate' '1'];
|
||||
taskInfo(2).entryPoints = {};
|
||||
numtask = 2;
|
||||
for i = 1:numtask
|
||||
if ( 0 == isnumeric(taskInfo(i).samplePeriod) )
|
||||
taskInfo(i).samplePeriod = evalin('base', taskInfo(i).samplePeriod);
|
||||
end
|
||||
if ( isempty(taskInfo(i).taskName) )
|
||||
taskInfo(i).taskName = ['AutoGen' i ];
|
||||
end
|
||||
end
|
||||
isDeploymentDiagram = 0;
|
||||
end
|
Binary file not shown.
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<MF0 version="1.1" packageUris="http://schema.mathworks.com/mf0/SlCache/19700101">
|
||||
<slcache.FileAttributes type="slcache.FileAttributes" uuid="756539d5-dcec-4a8a-aad3-5b2d84c9f970">
|
||||
<checksum>ntUZJK8o6iafn2MKKYVmc22+ZH1+rdpCe8z/i0Ujm/pOqnZOJsBTVGtf6xVXCNzbHrUYAopXdTzjQfYYfQ3UTA==</checksum>
|
||||
</slcache.FileAttributes>
|
||||
</MF0>
|
@ -1,2 +0,0 @@
|
||||
Simulink Coder project marker file. Please don't change it.
|
||||
slprjVersion: 24.1_093
|
@ -1,13 +0,0 @@
|
||||
#ifndef __OPTIONS_H___
|
||||
#define __OPTIONS_H___
|
||||
|
||||
#include "simstruc_types.h"
|
||||
#ifndef MT
|
||||
#define MT 0 /* MT may be undefined by simstruc_types.h */
|
||||
#endif
|
||||
|
||||
#include "PWMGenerator.h"
|
||||
|
||||
#define FULLMULTITHREAD 1
|
||||
|
||||
#endif // __OPTIONS_H___
|
@ -1,59 +0,0 @@
|
||||
/*
|
||||
* Code generation for system model 'PWMGenerator'
|
||||
*
|
||||
* Model : PWMGenerator
|
||||
* Model version : 1.7
|
||||
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
|
||||
* C++ source code generated on : Wed Oct 16 10:45:22 2024
|
||||
*
|
||||
* Note that the functions contained in this file are part of a Simulink
|
||||
* model, and are not self-contained algorithms.
|
||||
*/
|
||||
|
||||
#include "PWMGenerator.h"
|
||||
#include "rtwtypes.h"
|
||||
#include "PWMGenerator_cal.h"
|
||||
#include "PWMGenerator_private.h"
|
||||
|
||||
/* Output and update for referenced model: 'PWMGenerator' */
|
||||
void PWMGenerator(const real_T *rtu_Ondaobjetivo, const real_T
|
||||
*rtu_Ondaportadora, const real_T *rtu_Amplitud, real_T
|
||||
*rty_SealPWM, real_T *rty_MonitoreoPortadoraAmp, real_T
|
||||
*rty_MonitoreoPWMAmp1, B_PWMGenerator_c_T *localB)
|
||||
{
|
||||
/* Product: '<Root>/Amplificación portadora' */
|
||||
*rty_MonitoreoPortadoraAmp = *rtu_Ondaportadora * *rtu_Amplitud;
|
||||
|
||||
/* DataTypeConversion: '<Root>/Fijación Double' */
|
||||
localB->FijacinDouble = *rtu_Ondaobjetivo;
|
||||
|
||||
/* RelationalOperator: '<Root>/PWM' */
|
||||
localB->PWM = (localB->FijacinDouble >= *rty_MonitoreoPortadoraAmp);
|
||||
|
||||
/* DataTypeConversion: '<Root>/Fijación Double PWM' */
|
||||
*rty_MonitoreoPWMAmp1 = localB->PWM;
|
||||
|
||||
/* Sum: '<Root>/Sum1' incorporates:
|
||||
* Constant: '<Root>/Constant3'
|
||||
*/
|
||||
localB->Sum1 = *rty_MonitoreoPWMAmp1 - PWMGenerator_cal->Constant3_Value;
|
||||
|
||||
/* Product: '<Root>/Simetrización PWM' incorporates:
|
||||
* Constant: '<Root>/Constant4'
|
||||
*/
|
||||
*rty_SealPWM = localB->Sum1 * PWMGenerator_cal->Constant4_Value;
|
||||
}
|
||||
|
||||
/* Model initialize function */
|
||||
void PWMGenerator_initialize(const char_T **rt_errorStatus,
|
||||
RT_MODEL_PWMGenerator_T *const PWMGenerator_M, B_PWMGenerator_c_T *localB)
|
||||
{
|
||||
/* Registration code */
|
||||
|
||||
/* initialize error status */
|
||||
rtmSetErrorStatusPointer(PWMGenerator_M, rt_errorStatus);
|
||||
|
||||
/* block I/O */
|
||||
(void) std::memset((static_cast<void *>(localB)), 0,
|
||||
sizeof(B_PWMGenerator_c_T));
|
||||
}
|
@ -1,68 +0,0 @@
|
||||
/*
|
||||
* Code generation for system model 'PWMGenerator'
|
||||
* For more details, see corresponding source file PWMGenerator.c
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef PWMGenerator_h_
|
||||
#define PWMGenerator_h_
|
||||
#include "rtwtypes.h"
|
||||
#include "rtw_extmode.h"
|
||||
#include "sysran_types.h"
|
||||
#include "rtw_continuous.h"
|
||||
#include "rtw_solver.h"
|
||||
#include "PWMGenerator_types.h"
|
||||
#include "PWMGenerator_cal.h"
|
||||
#include <cstring>
|
||||
|
||||
/* Block signals for model 'PWMGenerator' */
|
||||
struct B_PWMGenerator_c_T {
|
||||
real_T FijacinDouble; /* '<Root>/Fijación Double' */
|
||||
real_T Sum1; /* '<Root>/Sum1' */
|
||||
boolean_T PWM; /* '<Root>/PWM' */
|
||||
};
|
||||
|
||||
/* Real-time Model Data Structure */
|
||||
struct tag_RTM_PWMGenerator_T {
|
||||
const char_T **errorStatus;
|
||||
|
||||
/*
|
||||
* Timing:
|
||||
* The following substructure contains information regarding
|
||||
* the timing information for the model.
|
||||
*/
|
||||
struct {
|
||||
boolean_T *stopRequestedFlag;
|
||||
} Timing;
|
||||
};
|
||||
|
||||
struct MdlrefDW_PWMGenerator_T {
|
||||
B_PWMGenerator_c_T rtb;
|
||||
RT_MODEL_PWMGenerator_T rtm;
|
||||
};
|
||||
|
||||
/* Model reference registration function */
|
||||
extern void PWMGenerator_initialize(const char_T **rt_errorStatus,
|
||||
RT_MODEL_PWMGenerator_T *const PWMGenerator_M, B_PWMGenerator_c_T *localB);
|
||||
extern void PWMGenerator(const real_T *rtu_Ondaobjetivo, const real_T
|
||||
*rtu_Ondaportadora, const real_T *rtu_Amplitud, real_T *rty_SealPWM, real_T
|
||||
*rty_MonitoreoPortadoraAmp, real_T *rty_MonitoreoPWMAmp1, B_PWMGenerator_c_T
|
||||
*localB);
|
||||
|
||||
/*-
|
||||
* The generated code includes comments that allow you to trace directly
|
||||
* back to the appropriate location in the model. The basic format
|
||||
* is <system>/block_name, where system is the system number (uniquely
|
||||
* assigned by Simulink) and block_name is the name of the block.
|
||||
*
|
||||
* Use the MATLAB hilite_system command to trace the generated code back
|
||||
* to the model. For example,
|
||||
*
|
||||
* hilite_system('<S3>') - opens system 3
|
||||
* hilite_system('<S3>/Kp') - opens and selects block Kp which resides in S3
|
||||
*
|
||||
* Here is the system hierarchy for this model
|
||||
*
|
||||
* '<Root>' : 'PWMGenerator'
|
||||
*/
|
||||
#endif /* PWMGenerator_h_ */
|
@ -1,17 +0,0 @@
|
||||
#include "PWMGenerator_cal.h"
|
||||
#include "PWMGenerator.h"
|
||||
|
||||
/* Storage class 'PageSwitching' */
|
||||
PWMGenerator_cal_type PWMGenerator_cal_impl = {
|
||||
/* Expression: 0.5
|
||||
* Referenced by: '<Root>/Constant3'
|
||||
*/
|
||||
0.5,
|
||||
|
||||
/* Expression: 2
|
||||
* Referenced by: '<Root>/Constant4'
|
||||
*/
|
||||
2.0
|
||||
};
|
||||
|
||||
PWMGenerator_cal_type *PWMGenerator_cal = &PWMGenerator_cal_impl;
|
@ -1,19 +0,0 @@
|
||||
#ifndef PWMGenerator_cal_h_
|
||||
#define PWMGenerator_cal_h_
|
||||
#include "rtwtypes.h"
|
||||
|
||||
/* Storage class 'PageSwitching', for model 'PWMGenerator' */
|
||||
struct PWMGenerator_cal_type {
|
||||
real_T Constant3_Value; /* Expression: 0.5
|
||||
* Referenced by: '<Root>/Constant3'
|
||||
*/
|
||||
real_T Constant4_Value; /* Expression: 2
|
||||
* Referenced by: '<Root>/Constant4'
|
||||
*/
|
||||
};
|
||||
|
||||
/* Storage class 'PageSwitching' */
|
||||
extern PWMGenerator_cal_type PWMGenerator_cal_impl;
|
||||
extern PWMGenerator_cal_type *PWMGenerator_cal;
|
||||
|
||||
#endif /* PWMGenerator_cal_h_ */
|
Binary file not shown.
@ -1,61 +0,0 @@
|
||||
/*
|
||||
* PWMGenerator_private.h
|
||||
*
|
||||
* Academic License - for use in teaching, academic research, and meeting
|
||||
* course requirements at degree granting institutions only. Not for
|
||||
* government, commercial, or other organizational use.
|
||||
*
|
||||
* Code generation for model "PWMGenerator".
|
||||
*
|
||||
* Model version : 1.7
|
||||
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
|
||||
* C++ source code generated on : Wed Oct 16 10:45:22 2024
|
||||
*
|
||||
* Target selection: speedgoat.tlc
|
||||
* Note: GRT includes extra infrastructure and instrumentation for prototyping
|
||||
* Embedded hardware selection: Intel->x86-64 (Linux 64)
|
||||
* Code generation objectives: Unspecified
|
||||
* Validation result: Not run
|
||||
*/
|
||||
|
||||
#ifndef PWMGenerator_private_h_
|
||||
#define PWMGenerator_private_h_
|
||||
#include "rtwtypes.h"
|
||||
#include "multiword_types.h"
|
||||
#include "PWMGenerator_types.h"
|
||||
#include "rtw_continuous.h"
|
||||
#include "rtw_solver.h"
|
||||
|
||||
/* Macros for accessing real-time model data structure */
|
||||
#ifndef rtmGetErrorStatus
|
||||
#define rtmGetErrorStatus(rtm) (*((rtm)->errorStatus))
|
||||
#endif
|
||||
|
||||
#ifndef rtmSetErrorStatus
|
||||
#define rtmSetErrorStatus(rtm, val) (*((rtm)->errorStatus) = (val))
|
||||
#endif
|
||||
|
||||
#ifndef rtmGetErrorStatusPointer
|
||||
#define rtmGetErrorStatusPointer(rtm) (rtm)->errorStatus
|
||||
#endif
|
||||
|
||||
#ifndef rtmSetErrorStatusPointer
|
||||
#define rtmSetErrorStatusPointer(rtm, val) ((rtm)->errorStatus = (val))
|
||||
#endif
|
||||
|
||||
#ifndef rtmGetStopRequested
|
||||
#define rtmGetStopRequested(rtm) (*((rtm)->Timing.stopRequestedFlag))
|
||||
#endif
|
||||
|
||||
#ifndef rtmSetStopRequested
|
||||
#define rtmSetStopRequested(rtm, val) (*((rtm)->Timing.stopRequestedFlag) = (val))
|
||||
#endif
|
||||
|
||||
#ifndef rtmGetStopRequestedPtr
|
||||
#define rtmGetStopRequestedPtr(rtm) ((rtm)->Timing.stopRequestedFlag)
|
||||
#endif
|
||||
|
||||
#ifndef rtmSetStopRequestedPtr
|
||||
#define rtmSetStopRequestedPtr(rtm, val) ((rtm)->Timing.stopRequestedFlag = (val))
|
||||
#endif
|
||||
#endif /* PWMGenerator_private_h_ */
|
@ -1,27 +0,0 @@
|
||||
/*
|
||||
* PWMGenerator_types.h
|
||||
*
|
||||
* Academic License - for use in teaching, academic research, and meeting
|
||||
* course requirements at degree granting institutions only. Not for
|
||||
* government, commercial, or other organizational use.
|
||||
*
|
||||
* Code generation for model "PWMGenerator".
|
||||
*
|
||||
* Model version : 1.7
|
||||
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
|
||||
* C++ source code generated on : Wed Oct 16 10:45:22 2024
|
||||
*
|
||||
* Target selection: speedgoat.tlc
|
||||
* Note: GRT includes extra infrastructure and instrumentation for prototyping
|
||||
* Embedded hardware selection: Intel->x86-64 (Linux 64)
|
||||
* Code generation objectives: Unspecified
|
||||
* Validation result: Not run
|
||||
*/
|
||||
|
||||
#ifndef PWMGenerator_types_h_
|
||||
#define PWMGenerator_types_h_
|
||||
|
||||
/* Forward declaration for rtModel */
|
||||
typedef struct tag_RTM_PWMGenerator_T RT_MODEL_PWMGenerator_T;
|
||||
|
||||
#endif /* PWMGenerator_types_h_ */
|
@ -1,28 +0,0 @@
|
||||
function xcp = PWMGeneratorxcp
|
||||
|
||||
xcp.events = repmat(struct('id',{}, 'sampletime', {}, 'offset', {}), getNumEvents, 1 );
|
||||
xcp.parameters = repmat(struct('symbol',{}, 'size', {}, 'dtname', {}, 'baseaddr', {}), getNumParameters, 1 );
|
||||
xcp.signals = repmat(struct('symbol',{}), getNumSignals, 1 );
|
||||
xcp.models = cell(1,getNumModels);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
xcp.events(1).id = 0;
|
||||
xcp.events(1).sampletime = 0.0001;
|
||||
xcp.events(1).offset = 0.0;
|
||||
|
||||
function n = getNumParameters
|
||||
n = 0;
|
||||
|
||||
function n = getNumSignals
|
||||
n = 0;
|
||||
|
||||
function n = getNumEvents
|
||||
n = 1;
|
||||
|
||||
function n = getNumModels
|
||||
n = 1;
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,15 +0,0 @@
|
||||
|
||||
call "%SLREALTIME_QNX_SP_ROOT%\%SLREALTIME_QNX_VERSION%\qnxsdp-env.bat"
|
||||
|
||||
cd .
|
||||
|
||||
chcp 1252
|
||||
|
||||
if "%1"=="" (make -f PWMGenerator.mk all) else (make -f PWMGenerator.mk %1)
|
||||
@if errorlevel 1 goto error_exit
|
||||
|
||||
exit /B 0
|
||||
|
||||
:error_exit
|
||||
echo The make command returned an error of %errorlevel%
|
||||
exit /B 1
|
@ -1,353 +0,0 @@
|
||||
###########################################################################
|
||||
## Makefile generated for component 'PWMGenerator'.
|
||||
##
|
||||
## Makefile : PWMGenerator.mk
|
||||
## Generated on : Wed Oct 16 10:45:31 2024
|
||||
## Final product: ./PWMGenerator_rtwlib.a
|
||||
## Product type : static library
|
||||
##
|
||||
###########################################################################
|
||||
|
||||
###########################################################################
|
||||
## MACROS
|
||||
###########################################################################
|
||||
|
||||
# Macro Descriptions:
|
||||
# PRODUCT_NAME Name of the system to build
|
||||
# MAKEFILE Name of this makefile
|
||||
# MODELLIB Static library target
|
||||
|
||||
PRODUCT_NAME = PWMGenerator
|
||||
MAKEFILE = PWMGenerator.mk
|
||||
MATLAB_ROOT = C:/PROGRA~1/MATLAB/R2024a
|
||||
MATLAB_BIN = C:/PROGRA~1/MATLAB/R2024a/bin
|
||||
MATLAB_ARCH_BIN = $(MATLAB_BIN)/win64
|
||||
START_DIR = C:/Users/PROMER~1/Desktop/SPARK-~1/Spark/UNAV/BANCOD~1/Simulink/VFCONT~1
|
||||
SOLVER =
|
||||
SOLVER_OBJ =
|
||||
CLASSIC_INTERFACE = 0
|
||||
TGT_FCN_LIB = ISO_C++
|
||||
MODEL_HAS_DYNAMICALLY_LOADED_SFCNS = 0
|
||||
RELATIVE_PATH_TO_ANCHOR = ../../../..
|
||||
C_STANDARD_OPTS =
|
||||
CPP_STANDARD_OPTS =
|
||||
MODELLIB = PWMGenerator_rtwlib.a
|
||||
|
||||
###########################################################################
|
||||
## TOOLCHAIN SPECIFICATIONS
|
||||
###########################################################################
|
||||
|
||||
# Toolchain Name: Simulink Real-Time Toolchain
|
||||
# Supported Version(s):
|
||||
# ToolchainInfo Version: 2024a
|
||||
# Specification Revision: 1.0
|
||||
#
|
||||
#-------------------------------------------
|
||||
# Macros assumed to be defined elsewhere
|
||||
#-------------------------------------------
|
||||
|
||||
# SLREALTIME_QNX_SP_ROOT
|
||||
# SLREALTIME_QNX_VERSION
|
||||
|
||||
#-----------
|
||||
# MACROS
|
||||
#-----------
|
||||
|
||||
QCC_TARGET = gcc_ntox86_64
|
||||
|
||||
TOOLCHAIN_SRCS =
|
||||
TOOLCHAIN_INCS =
|
||||
TOOLCHAIN_LIBS = -L$(MATLAB_ROOT)/toolbox/slrealtime/target/win64/target/lib -ltraceparser -lpps -lslrealtime_kernel -lslrealtime_platform -lslrealtime_rtps -lsocket -lboost_system -lboost_log -lpci -lopenblas -lpcap
|
||||
|
||||
#------------------------
|
||||
# BUILD TOOL COMMANDS
|
||||
#------------------------
|
||||
|
||||
# C Compiler: QNX C Compiler
|
||||
CC = qcc
|
||||
|
||||
# Linker: QCC Linker
|
||||
LD = q++
|
||||
|
||||
# C++ Compiler: QNX C++ Compiler
|
||||
CPP = q++
|
||||
|
||||
# C++ Linker: QCC C++ Linker
|
||||
CPP_LD = q++
|
||||
|
||||
# Archiver: QNX Archiver
|
||||
AR = ntox86_64-gcc-ar
|
||||
|
||||
# Builder: GMAKE Utility
|
||||
MAKE = make
|
||||
|
||||
|
||||
#-------------------------
|
||||
# Directives/Utilities
|
||||
#-------------------------
|
||||
|
||||
CDEBUG = -g -O0 -finstrument-functions
|
||||
C_OUTPUT_FLAG = -o
|
||||
LDDEBUG = -g
|
||||
OUTPUT_FLAG = -o
|
||||
CPPDEBUG = -g -O0 -finstrument-functions
|
||||
CPP_OUTPUT_FLAG = -o
|
||||
CPPLDDEBUG = -g
|
||||
OUTPUT_FLAG = -o
|
||||
ARDEBUG =
|
||||
STATICLIB_OUTPUT_FLAG =
|
||||
RM = @del /F
|
||||
ECHO = @echo
|
||||
MV = @move
|
||||
RUN =
|
||||
|
||||
#--------------------------------------
|
||||
# "Faster Runs" Build Configuration
|
||||
#--------------------------------------
|
||||
|
||||
ARFLAGS = ruvs
|
||||
CFLAGS = -c -V$(QCC_TARGET) -g \
|
||||
-O2 -fwrapv
|
||||
CPPFLAGS = -c -V$(QCC_TARGET) -g -std=gnu++14 -stdlib=libstdc++ \
|
||||
-O2 -fwrapv
|
||||
CPP_LDFLAGS = -V$(QCC_TARGET) -g -std=gnu++14 -stdlib=libstdc++
|
||||
CPP_SHAREDLIB_LDFLAGS = -V$(QCC_TARGET) -shared -Wl,--no-undefined -g
|
||||
LDFLAGS = -V$(QCC_TARGET) -g -std=gnu++14 -stdlib=libstdc++
|
||||
MAKE_FLAGS = -f $(MAKEFILE)
|
||||
SHAREDLIB_LDFLAGS = -V$(QCC_TARGET) -shared -Wl,--no-undefined -g
|
||||
|
||||
|
||||
|
||||
###########################################################################
|
||||
## OUTPUT INFO
|
||||
###########################################################################
|
||||
|
||||
PRODUCT = ./PWMGenerator_rtwlib.a
|
||||
PRODUCT_TYPE = "static library"
|
||||
BUILD_TYPE = "Model Reference Library"
|
||||
|
||||
###########################################################################
|
||||
## INCLUDE PATHS
|
||||
###########################################################################
|
||||
|
||||
INCLUDES_BUILDINFO = -I$(START_DIR) -I$(START_DIR)/slprj/speedgoat/PWMGenerator -I$(MATLAB_ROOT)/toolbox/slrealtime/simulink/blocks/dist/include -I$(MATLAB_ROOT)/toolbox/slrealtime/target/kernel/dist/include -I$(MATLAB_ROOT)/extern/include -I$(MATLAB_ROOT)/simulink/include -I$(MATLAB_ROOT)/rtw/c/src -I$(MATLAB_ROOT)/rtw/c/src/ext_mode/common -I$(START_DIR)/slprj/speedgoat/_sharedutils
|
||||
|
||||
INCLUDES = $(INCLUDES_BUILDINFO)
|
||||
|
||||
###########################################################################
|
||||
## DEFINES
|
||||
###########################################################################
|
||||
|
||||
DEFINES_ = -DSIMULINK_REAL_TIME -D_QNX_SOURCE
|
||||
DEFINES_BUILD_ARGS = -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DMAT_FILE=0 -DONESTEPFCN=1 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0
|
||||
DEFINES_CUSTOM =
|
||||
DEFINES_OPTS = -DTID01EQ=0
|
||||
DEFINES_STANDARD = -DMODEL=PWMGenerator -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DRT -DUSE_RTMODEL
|
||||
|
||||
DEFINES = $(DEFINES_) $(DEFINES_BUILD_ARGS) $(DEFINES_CUSTOM) $(DEFINES_OPTS) $(DEFINES_STANDARD)
|
||||
|
||||
###########################################################################
|
||||
## SOURCE FILES
|
||||
###########################################################################
|
||||
|
||||
SRCS = $(START_DIR)/slprj/speedgoat/PWMGenerator/PWMGenerator.cpp $(START_DIR)/slprj/speedgoat/PWMGenerator/PWMGenerator_cal.cpp $(START_DIR)/slprj/speedgoat/PWMGenerator/slrealtime_datatype_ground.cpp
|
||||
|
||||
ALL_SRCS = $(SRCS)
|
||||
|
||||
###########################################################################
|
||||
## OBJECTS
|
||||
###########################################################################
|
||||
|
||||
OBJS = PWMGenerator.o PWMGenerator_cal.o slrealtime_datatype_ground.o
|
||||
|
||||
ALL_OBJS = $(OBJS)
|
||||
|
||||
###########################################################################
|
||||
## PREBUILT OBJECT FILES
|
||||
###########################################################################
|
||||
|
||||
PREBUILT_OBJS =
|
||||
|
||||
###########################################################################
|
||||
## LIBRARIES
|
||||
###########################################################################
|
||||
|
||||
LIBS =
|
||||
|
||||
###########################################################################
|
||||
## SYSTEM LIBRARIES
|
||||
###########################################################################
|
||||
|
||||
SYSTEM_LIBS =
|
||||
|
||||
###########################################################################
|
||||
## ADDITIONAL TOOLCHAIN FLAGS
|
||||
###########################################################################
|
||||
|
||||
#---------------
|
||||
# C Compiler
|
||||
#---------------
|
||||
|
||||
CFLAGS_BASIC = $(DEFINES) $(INCLUDES)
|
||||
|
||||
CFLAGS += $(CFLAGS_BASIC)
|
||||
|
||||
#-----------------
|
||||
# C++ Compiler
|
||||
#-----------------
|
||||
|
||||
CPPFLAGS_BASIC = $(DEFINES) $(INCLUDES)
|
||||
|
||||
CPPFLAGS += $(CPPFLAGS_BASIC)
|
||||
|
||||
###########################################################################
|
||||
## INLINED COMMANDS
|
||||
###########################################################################
|
||||
|
||||
###########################################################################
|
||||
## PHONY TARGETS
|
||||
###########################################################################
|
||||
|
||||
.PHONY : all build clean info prebuild
|
||||
|
||||
|
||||
all : build
|
||||
@echo "### Successfully generated all binary outputs."
|
||||
|
||||
|
||||
build : prebuild $(PRODUCT)
|
||||
|
||||
|
||||
prebuild :
|
||||
|
||||
|
||||
###########################################################################
|
||||
## FINAL TARGET
|
||||
###########################################################################
|
||||
|
||||
#---------------------------------
|
||||
# Create a static library
|
||||
#---------------------------------
|
||||
|
||||
$(PRODUCT) : $(OBJS) $(PREBUILT_OBJS)
|
||||
@echo "### Creating static library "$(PRODUCT)" ..."
|
||||
$(AR) $(ARFLAGS) $(PRODUCT) $(OBJS)
|
||||
@echo "### Created: $(PRODUCT)"
|
||||
|
||||
|
||||
###########################################################################
|
||||
## INTERMEDIATE TARGETS
|
||||
###########################################################################
|
||||
|
||||
#---------------------
|
||||
# SOURCE-TO-OBJECT
|
||||
#---------------------
|
||||
|
||||
%.o : $(RELATIVE_PATH_TO_ANCHOR)/%.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(RELATIVE_PATH_TO_ANCHOR)/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(START_DIR)/%.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(START_DIR)/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(START_DIR)/slprj/speedgoat/PWMGenerator/%.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(START_DIR)/slprj/speedgoat/PWMGenerator/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(MATLAB_ROOT)/rtw/c/src/%.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(MATLAB_ROOT)/rtw/c/src/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(MATLAB_ROOT)/simulink/src/%.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(MATLAB_ROOT)/simulink/src/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(MATLAB_ROOT)/toolbox/simulink/blocks/src/%.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : $(MATLAB_ROOT)/toolbox/simulink/blocks/src/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : ../%.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
|
||||
|
||||
%.o : ../%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
PWMGenerator.o : $(START_DIR)/slprj/speedgoat/PWMGenerator/PWMGenerator.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
PWMGenerator_cal.o : $(START_DIR)/slprj/speedgoat/PWMGenerator/PWMGenerator_cal.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
slrealtime_datatype_ground.o : $(START_DIR)/slprj/speedgoat/PWMGenerator/slrealtime_datatype_ground.cpp
|
||||
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||
|
||||
|
||||
###########################################################################
|
||||
## DEPENDENCIES
|
||||
###########################################################################
|
||||
|
||||
$(ALL_OBJS) : rtw_proj.tmw $(MAKEFILE)
|
||||
|
||||
|
||||
###########################################################################
|
||||
## MISCELLANEOUS TARGETS
|
||||
###########################################################################
|
||||
|
||||
info :
|
||||
@echo "### PRODUCT = $(PRODUCT)"
|
||||
@echo "### PRODUCT_TYPE = $(PRODUCT_TYPE)"
|
||||
@echo "### BUILD_TYPE = $(BUILD_TYPE)"
|
||||
@echo "### INCLUDES = $(INCLUDES)"
|
||||
@echo "### DEFINES = $(DEFINES)"
|
||||
@echo "### ALL_SRCS = $(ALL_SRCS)"
|
||||
@echo "### ALL_OBJS = $(ALL_OBJS)"
|
||||
@echo "### LIBS = $(LIBS)"
|
||||
@echo "### MODELREF_LIBS = $(MODELREF_LIBS)"
|
||||
@echo "### SYSTEM_LIBS = $(SYSTEM_LIBS)"
|
||||
@echo "### TOOLCHAIN_LIBS = $(TOOLCHAIN_LIBS)"
|
||||
@echo "### CFLAGS = $(CFLAGS)"
|
||||
@echo "### LDFLAGS = $(LDFLAGS)"
|
||||
@echo "### SHAREDLIB_LDFLAGS = $(SHAREDLIB_LDFLAGS)"
|
||||
@echo "### CPPFLAGS = $(CPPFLAGS)"
|
||||
@echo "### CPP_LDFLAGS = $(CPP_LDFLAGS)"
|
||||
@echo "### CPP_SHAREDLIB_LDFLAGS = $(CPP_SHAREDLIB_LDFLAGS)"
|
||||
@echo "### ARFLAGS = $(ARFLAGS)"
|
||||
@echo "### MAKE_FLAGS = $(MAKE_FLAGS)"
|
||||
|
||||
|
||||
clean :
|
||||
$(ECHO) "### Deleting all derived files ..."
|
||||
$(RM) $(subst /,\,$(PRODUCT))
|
||||
$(RM) $(subst /,\,$(ALL_OBJS))
|
||||
$(ECHO) "### Deleted all derived files."
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +0,0 @@
|
||||
Simulink Coder project for PWMGenerator using . MATLAB root = C:\Program Files\MATLAB\R2024a. SimStruct date: 12-ene.-2024 11:16:21
|
||||
This file is generated by Simulink Coder for use by the make utility
|
||||
to determine when to rebuild objects when the name of the current Simulink Coder project changes.
|
||||
The rtwinfomat located at:
|
Binary file not shown.
@ -1,4 +0,0 @@
|
||||
Simulink Coder project for PWMGenerator using . MATLAB root = C:\Program Files\MATLAB\R2024a. SimStruct date: 12-ene.-2024 11:16:21
|
||||
This file is generated by Simulink Coder for use by the make utility
|
||||
to determine when to rebuild objects when the name of the current Simulink Coder project changes.
|
||||
The rtwinfomat located at: ..\..\..\slprj\speedgoat\PWMGenerator\tmwinternal\binfo_mdlref.mat
|
@ -1,9 +0,0 @@
|
||||
#include "slrtdatatypes.h"
|
||||
|
||||
const serialfifoptr serialfifoground = { 0, 0, 0 };
|
||||
|
||||
const bcmsglist1553 bcmsg1553ground = { 0, 0, 0, 0 };
|
||||
|
||||
const bcstatus1553 bcstatground = { 0, 0, 0, 0, 0, 0 };
|
||||
|
||||
const bmmsglist1553 bmmsg1553ground = { 0, 0, 0, 0 };
|
@ -1,17 +0,0 @@
|
||||
function [taskInfo, numtask, isDeploymentDiagram]=slrealtime_task_info()
|
||||
taskInfo(1).samplePeriod = 0.0001;
|
||||
taskInfo(1).sampleOffset = 0.0;
|
||||
taskInfo(1).taskPrio = 9;
|
||||
taskInfo(1).taskName = 'BaseRate';
|
||||
taskInfo(1).entryPoints = {};
|
||||
numtask = 1;
|
||||
for i = 1:numtask
|
||||
if ( 0 == isnumeric(taskInfo(i).samplePeriod) )
|
||||
taskInfo(i).samplePeriod = evalin('base', taskInfo(i).samplePeriod);
|
||||
end
|
||||
if ( isempty(taskInfo(i).taskName) )
|
||||
taskInfo(i).taskName = ['AutoGen' i ];
|
||||
end
|
||||
end
|
||||
isDeploymentDiagram = 0;
|
||||
end
|
Binary file not shown.
@ -1,478 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<MF0 version="1.1" packageUris="http://schema.mathworks.com/mf0/ci/19700101 http://schema.mathworks.com/mf0/sl_modelref_info/R2024a http://schema.mathworks.com/mf0/slexec_mm_sto/R2024a_202305081229 http://schema.mathworks.com/mf0/sltp_mm/R2023a_202209151115">
|
||||
<ModelRefInfoRepo.ModelRefInfoRoot type="ModelRefInfoRepo.ModelRefInfoRoot" uuid="2b64bd25-accc-4507-9c1b-554e8fcdbf94">
|
||||
<calibrationData type="ModelRefInfoRepo.CalibrationData" uuid="aa06500a-9a0b-4ac8-be75-da236d2f0af0">
|
||||
<ModelName>PWMGenerator</ModelName>
|
||||
<RootIOData>[{"Name":"Onda objetivo","Profile":""},{"Name":"Onda portadora","Profile":""},{"Name":"Amplitud","Profile":""},{"Name":"Señal PWM","Profile":""},{"Name":"Monitoreo\nPortadora Amp","Profile":""},{"Name":"Monitoreo\nPWMAmp1","Profile":""}]</RootIOData>
|
||||
</calibrationData>
|
||||
<childModelRefInfo type="ModelRefInfoRepo.ChildModelRefInfo" uuid="652c6aab-0795-4aa2-8d96-ae57a6648fdd">
|
||||
<modelName>PWMGenerator</modelName>
|
||||
<modelPath>PWMGenerator</modelPath>
|
||||
</childModelRefInfo>
|
||||
<compDerivCacheNeedsReset>false</compDerivCacheNeedsReset>
|
||||
<compZcCacheNeedsReset>false</compZcCacheNeedsReset>
|
||||
<compiledTFinal>10.0</compiledTFinal>
|
||||
<dataSourceInfo type="ModelRefInfoRepo.DataSourceInfo" uuid="4e4a0e7d-8ce2-48b7-9cc7-a09bc406b303">
|
||||
<dataSources type="ModelRefInfoRepo.SourceInfo" uuid="455c998e-b801-4893-9abe-636b41414cde">
|
||||
<includeAllSections>true</includeAllSections>
|
||||
<sourceName>base workspace</sourceName>
|
||||
<type>BaseWorkspace</type>
|
||||
</dataSources>
|
||||
<modelName>PWMGenerator</modelName>
|
||||
</dataSourceInfo>
|
||||
<dataTransferInfos>AAFJTQAAAAAOAAAAOAAAAAYAAAAIAAAAAgAAAAAAAAAFAAAACAAAAAAAAAABAAAAAQAAAAAAAAAFAAQAAQAAAAEAAAAAAAAA</dataTransferInfos>
|
||||
<defaultsCMapping>{"Inports":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","Outports":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","ParameterArguments":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","LocalParameters":"{\"Name\":\"PageSwitching\",\"Checksum\":\"1969678929\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","GlobalParameters":"{\"Name\":\"slrealtime_PageSwitching\",\"Checksum\":\"673606011\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","InternalData":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","SharedLocalDataStores":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","GlobalDataStores":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","Constants":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","DataTransfers":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","ModelData":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","InitializeTerminate":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","Execution":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","SharedUtility":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}"}</defaultsCMapping>
|
||||
<fastestNoncontSigFeedingDerivPorts>-1.0</fastestNoncontSigFeedingDerivPorts>
|
||||
<fundamentalSampleTimePeriod>.0001</fundamentalSampleTimePeriod>
|
||||
<grCompInputPortMaps>0,0,0;1,1,1;2,2,2</grCompInputPortMaps>
|
||||
<grCompOutputPortMaps>0,0,0;1,1,1;2,2,2</grCompOutputPortMaps>
|
||||
<hasBlockWithPeriodicDiscreteSampleTime>true</hasBlockWithPeriodicDiscreteSampleTime>
|
||||
<hasBwsAccessed>true</hasBwsAccessed>
|
||||
<hasConstantOutput>false</hasConstantOutput>
|
||||
<hasModelWideEventTs>false</hasModelWideEventTs>
|
||||
<inports type="ModelRefInfoRepo.InportInformation" uuid="2bbf469a-b616-4625-a803-7086e7890bee">
|
||||
<isNotDerivPort>true</isNotDerivPort>
|
||||
<overWritable>false</overWritable>
|
||||
<designMax>inf</designMax>
|
||||
<designMin>-inf</designMin>
|
||||
<indexType>2</indexType>
|
||||
<rateInfos type="ModelRefInfoRepo.RateInfo">
|
||||
<compiled>true</compiled>
|
||||
<nonFcnCallPartitionName>D1</nonFcnCallPartitionName>
|
||||
<period>.0001</period>
|
||||
<priority>40</priority>
|
||||
<rateIdx>0</rateIdx>
|
||||
</rateInfos>
|
||||
<resolvedSignalObject></resolvedSignalObject>
|
||||
<executionInterface type="ModelRefInfoRepo.InputExecutionInterface" uuid="3b896c64-c55f-40fd-8f58-23aff27d09a8"/>
|
||||
<sigNameToEMVCEMap type="ModelRefInfoRepo.SigNameEMVCEInfo" uuid="e28f22c8-f348-41db-b51e-0be35b42db90"/>
|
||||
</inports>
|
||||
<inports type="ModelRefInfoRepo.InportInformation" uuid="de418439-35a9-4911-bb7c-9d0e4ee2188e">
|
||||
<isNotDerivPort>true</isNotDerivPort>
|
||||
<overWritable>false</overWritable>
|
||||
<designMax>inf</designMax>
|
||||
<designMin>-inf</designMin>
|
||||
<indexType>2</indexType>
|
||||
<originalPortNumber>1</originalPortNumber>
|
||||
<rateInfos type="ModelRefInfoRepo.RateInfo">
|
||||
<compiled>true</compiled>
|
||||
<nonFcnCallPartitionName>D1</nonFcnCallPartitionName>
|
||||
<period>.0001</period>
|
||||
<priority>40</priority>
|
||||
<rateIdx>0</rateIdx>
|
||||
</rateInfos>
|
||||
<resolvedSignalObject></resolvedSignalObject>
|
||||
<executionInterface type="ModelRefInfoRepo.InputExecutionInterface" uuid="b1a1a626-97cb-40fe-a4c4-22b430a8a052"/>
|
||||
<sigNameToEMVCEMap type="ModelRefInfoRepo.SigNameEMVCEInfo" uuid="a50c83d1-f324-4bf3-ae80-85c74da0cc95"/>
|
||||
</inports>
|
||||
<inports type="ModelRefInfoRepo.InportInformation" uuid="63a92bfe-31bc-4440-8222-c0736804d893">
|
||||
<isNotDerivPort>true</isNotDerivPort>
|
||||
<overWritable>false</overWritable>
|
||||
<designMax>inf</designMax>
|
||||
<designMin>-inf</designMin>
|
||||
<indexType>2</indexType>
|
||||
<originalPortNumber>2</originalPortNumber>
|
||||
<rateInfos type="ModelRefInfoRepo.RateInfo">
|
||||
<compiled>true</compiled>
|
||||
<nonFcnCallPartitionName>D1</nonFcnCallPartitionName>
|
||||
<period>.0001</period>
|
||||
<priority>40</priority>
|
||||
<rateIdx>0</rateIdx>
|
||||
</rateInfos>
|
||||
<resolvedSignalObject></resolvedSignalObject>
|
||||
<executionInterface type="ModelRefInfoRepo.InputExecutionInterface" uuid="a83f3040-0d3d-4f78-8779-c580c187cc9a"/>
|
||||
<sigNameToEMVCEMap type="ModelRefInfoRepo.SigNameEMVCEInfo" uuid="4af11d25-dc3e-4d2e-bbfc-3d0226e6ad2a"/>
|
||||
</inports>
|
||||
<isAperiodicRootFcnCallSystem>false</isAperiodicRootFcnCallSystem>
|
||||
<isBdInSimModeForSimCodegenVariants>false</isBdInSimModeForSimCodegenVariants>
|
||||
<isOrigInportVirtualBus>false</isOrigInportVirtualBus>
|
||||
<isOrigInportVirtualBus>false</isOrigInportVirtualBus>
|
||||
<isOrigInportVirtualBus>false</isOrigInportVirtualBus>
|
||||
<isOrigOutportVirtualBus>false</isOrigOutportVirtualBus>
|
||||
<isOrigOutportVirtualBus>false</isOrigOutportVirtualBus>
|
||||
<isOrigOutportVirtualBus>false</isOrigOutportVirtualBus>
|
||||
<isPreCompSingleRate>false</isPreCompSingleRate>
|
||||
<isRefModelConstant>false</isRefModelConstant>
|
||||
<isRootFcnCallPortGroupsEmpty>true</isRootFcnCallPortGroupsEmpty>
|
||||
<loggingSaveFormat>2</loggingSaveFormat>
|
||||
<maxFreqHz>-1.0</maxFreqHz>
|
||||
<numDataInputPorts>3</numDataInputPorts>
|
||||
<numLoggableJacobianDStates>0</numLoggableJacobianDStates>
|
||||
<numModelWideEventTs>0</numModelWideEventTs>
|
||||
<numPortlessSimulinkFunctionPortGroups>0</numPortlessSimulinkFunctionPortGroups>
|
||||
<numRuntimeExportedRates>1</numRuntimeExportedRates>
|
||||
<numTs>1</numTs>
|
||||
<origInportBusType></origInportBusType>
|
||||
<origInportBusType></origInportBusType>
|
||||
<origInportBusType></origInportBusType>
|
||||
<origOutportBusOutputAsStruct>false</origOutportBusOutputAsStruct>
|
||||
<origOutportBusOutputAsStruct>false</origOutportBusOutputAsStruct>
|
||||
<origOutportBusOutputAsStruct>false</origOutportBusOutputAsStruct>
|
||||
<origOutportBusType></origOutportBusType>
|
||||
<origOutportBusType></origOutportBusType>
|
||||
<origOutportBusType></origOutportBusType>
|
||||
<outports type="ModelRefInfoRepo.OutportInformation" uuid="88d261d1-918c-4693-afb2-448e29ce509a">
|
||||
<okToMerge>3</okToMerge>
|
||||
<designMax>inf</designMax>
|
||||
<designMin>-inf</designMin>
|
||||
<indexType>2</indexType>
|
||||
<rateInfos type="ModelRefInfoRepo.RateInfo">
|
||||
<compiled>true</compiled>
|
||||
<nonFcnCallPartitionName>D1</nonFcnCallPartitionName>
|
||||
<period>.0001</period>
|
||||
<priority>40</priority>
|
||||
<rateIdx>0</rateIdx>
|
||||
</rateInfos>
|
||||
<resolvedSignalObject></resolvedSignalObject>
|
||||
<executionInterface type="ModelRefInfoRepo.OutputExecutionInterface" uuid="14c0385c-6ca2-45fd-843f-20038f428260"/>
|
||||
<sigNameToEMVCEMap type="ModelRefInfoRepo.SigNameEMVCEInfo" uuid="bdbec228-a242-42fe-b542-b8d6ed325d9f"/>
|
||||
</outports>
|
||||
<outports type="ModelRefInfoRepo.OutportInformation" uuid="1ea13320-0b02-49a1-a922-64b60188a159">
|
||||
<okToMerge>2</okToMerge>
|
||||
<srcHasMultiDsts>true</srcHasMultiDsts>
|
||||
<designMax>inf</designMax>
|
||||
<designMin>-inf</designMin>
|
||||
<indexType>2</indexType>
|
||||
<originalPortNumber>1</originalPortNumber>
|
||||
<rateInfos type="ModelRefInfoRepo.RateInfo">
|
||||
<compiled>true</compiled>
|
||||
<nonFcnCallPartitionName>D1</nonFcnCallPartitionName>
|
||||
<period>.0001</period>
|
||||
<priority>40</priority>
|
||||
<rateIdx>0</rateIdx>
|
||||
</rateInfos>
|
||||
<resolvedSignalObject></resolvedSignalObject>
|
||||
<executionInterface type="ModelRefInfoRepo.OutputExecutionInterface" uuid="cd8f13d6-de41-49b9-9824-80bfa061589b"/>
|
||||
<sigNameToEMVCEMap type="ModelRefInfoRepo.SigNameEMVCEInfo" uuid="acb369d5-c3cb-4ec8-b017-9e9d58ae397c"/>
|
||||
</outports>
|
||||
<outports type="ModelRefInfoRepo.OutportInformation" uuid="42c80134-624f-447a-9321-ed23d6451e33">
|
||||
<okToMerge>2</okToMerge>
|
||||
<srcHasMultiDsts>true</srcHasMultiDsts>
|
||||
<designMax>inf</designMax>
|
||||
<designMin>-inf</designMin>
|
||||
<indexType>2</indexType>
|
||||
<originalPortNumber>2</originalPortNumber>
|
||||
<rateInfos type="ModelRefInfoRepo.RateInfo">
|
||||
<compiled>true</compiled>
|
||||
<nonFcnCallPartitionName>D1</nonFcnCallPartitionName>
|
||||
<period>.0001</period>
|
||||
<priority>40</priority>
|
||||
<rateIdx>0</rateIdx>
|
||||
</rateInfos>
|
||||
<resolvedSignalObject></resolvedSignalObject>
|
||||
<executionInterface type="ModelRefInfoRepo.OutputExecutionInterface" uuid="eeda6d08-118c-484f-bb6a-49d4885c6038"/>
|
||||
<sigNameToEMVCEMap type="ModelRefInfoRepo.SigNameEMVCEInfo" uuid="6dca6940-6916-4a35-a2ef-5a875aa7af8a"/>
|
||||
</outports>
|
||||
<preCompAllowConstTsOnPorts>false</preCompAllowConstTsOnPorts>
|
||||
<preCompAllowPortBasedInTriggeredSS>false</preCompAllowPortBasedInTriggeredSS>
|
||||
<runtimeNonFcnCallRateInfos type="ModelRefInfoRepo.RateInfo">
|
||||
<compiled>true</compiled>
|
||||
<nonFcnCallPartitionName>D1</nonFcnCallPartitionName>
|
||||
<period>.0001</period>
|
||||
<priority>40</priority>
|
||||
<rateIdx>0</rateIdx>
|
||||
</runtimeNonFcnCallRateInfos>
|
||||
<sampleTimeInheritanceRule>2</sampleTimeInheritanceRule>
|
||||
<solverStatusFlags>327</solverStatusFlags>
|
||||
<timingAndTaskingRegistry><?xml version="1.0"?>
|
||||
<slexec_sto version="1.1" packageUris="http://schema.mathworks.com/mf0/slexec_mm_sto/R2024a_202305081229">
|
||||
<sto.Registry type="sto.Registry" uuid="33e23d7b-4068-4edb-957a-fc51f3004f78">
|
||||
<executionSpec>Undetermined</executionSpec>
|
||||
<identifier>PWMGenerator</identifier>
|
||||
<clockRegistry type="sto.ClockRegistry" uuid="2c6ea28b-ee11-4845-ad05-e02711cb3e39">
|
||||
<clocks type="sto.Timer" uuid="deccdced-d29d-4d64-80fd-54459d218157">
|
||||
<computedFundamentalDiscretePeriod>.0001</computedFundamentalDiscretePeriod>
|
||||
<fastestDiscreteRate type="sto.ClassicPeriodicDiscreteRate" uuid="51866984-9829-4e34-a33b-395bd0bef96f"/>
|
||||
<isDefaultTimer>true</isDefaultTimer>
|
||||
<resolution>.0001</resolution>
|
||||
<timeAdvanceMode>FixedStep</timeAdvanceMode>
|
||||
<identifier>PWMGenerator::defaultTimer</identifier>
|
||||
<rates type="sto.ClassicPeriodicDiscreteRate" uuid="51866984-9829-4e34-a33b-395bd0bef96f">
|
||||
<annotation>D1</annotation>
|
||||
<clockId>PWMGenerator::defaultTimer</clockId>
|
||||
<description>Discrete 1</description>
|
||||
<taskId>_task0</taskId>
|
||||
<rateSpec type="sto.RateSpec" uuid="99399e65-2f4a-4826-997f-e67f1b5da932">
|
||||
<period>.0001</period>
|
||||
<rateType>ClassicPeriodicDiscrete</rateType>
|
||||
</rateSpec>
|
||||
</rates>
|
||||
<baseRate type="sto.ClassicPeriodicDiscreteRate" uuid="1f349dbe-d07e-4060-98f0-9fad01948c0c">
|
||||
<annotation>D1</annotation>
|
||||
<clockId>PWMGenerator::defaultTimer</clockId>
|
||||
<description>Discrete 1</description>
|
||||
<taskId>_task0</taskId>
|
||||
<rateSpec type="sto.RateSpec" uuid="2385aba8-1bb2-416d-8e28-337914281c0e">
|
||||
<period>.0001</period>
|
||||
<rateType>ClassicPeriodicDiscrete</rateType>
|
||||
</rateSpec>
|
||||
</baseRate>
|
||||
</clocks>
|
||||
<clocks type="sto.Event" uuid="37316760-dac6-4620-bb37-688d241bca95">
|
||||
<eventType>PARAMETER_CHANGE_EVENT</eventType>
|
||||
<cNum>1</cNum>
|
||||
<clockType>Event</clockType>
|
||||
<identifier>ParameterChangeEvent</identifier>
|
||||
<rates type="sto.ModelWideEventRate" uuid="474dd4e4-f1d0-49bd-a42f-c6fc776b8dc1">
|
||||
<annotation>Inf</annotation>
|
||||
<clockId>ParameterChangeEvent</clockId>
|
||||
<colorIndex>-1</colorIndex>
|
||||
<description>Constant</description>
|
||||
<rateIdx>-1</rateIdx>
|
||||
<taskId>ModelWideParameterChangeEvent</taskId>
|
||||
<useForExecution>NotForExecution</useForExecution>
|
||||
<rateSpec type="sto.RateSpec" uuid="b25f28bf-508a-4d9a-a15e-e7d188cdfea2">
|
||||
<period>inf</period>
|
||||
<rateType>ModelWideParameterChangeEvent</rateType>
|
||||
</rateSpec>
|
||||
</rates>
|
||||
</clocks>
|
||||
<timeAdvanceMode>FixedStep</timeAdvanceMode>
|
||||
</clockRegistry>
|
||||
<taskRegistry type="sto.TaskRegistry" uuid="bf816430-fc98-4330-8151-015c9d5be15d">
|
||||
<rootTaskHierarchyElements type="sto.Task" uuid="af84832b-afbc-4cf8-93e7-a441d8f9fbfc">
|
||||
<isExplicit>true</isExplicit>
|
||||
<rates type="sto.ModelWideEventRate" uuid="47cdf65d-d443-42d1-a462-d7c1993eff78">
|
||||
<annotation>Inf</annotation>
|
||||
<clockId>ParameterChangeEvent</clockId>
|
||||
<colorIndex>-1</colorIndex>
|
||||
<description>Constant</description>
|
||||
<rateIdx>-1</rateIdx>
|
||||
<taskId>ModelWideParameterChangeEvent</taskId>
|
||||
<useForExecution>NotForExecution</useForExecution>
|
||||
<rateSpec type="sto.RateSpec" uuid="69c5d6ae-3011-4598-ac8e-2644cf1c3b45">
|
||||
<period>inf</period>
|
||||
<rateType>ModelWideParameterChangeEvent</rateType>
|
||||
</rateSpec>
|
||||
</rates>
|
||||
<schedulingClockId>ParameterChangeEvent</schedulingClockId>
|
||||
<timeKeeperClockId>PWMGenerator::defaultTimer</timeKeeperClockId>
|
||||
<elementType>Task</elementType>
|
||||
<identifier>ModelWideParameterChangeEvent</identifier>
|
||||
<priority>-1</priority>
|
||||
</rootTaskHierarchyElements>
|
||||
<rootTaskHierarchyElements type="sto.Task" uuid="7e6f62b1-fa7b-4f97-b418-a4dbf47680e3">
|
||||
<isExecutable>true</isExecutable>
|
||||
<orderIndex>1</orderIndex>
|
||||
<rates type="sto.ClassicPeriodicDiscreteRate" uuid="96471fbf-7e84-4c3f-841d-da8464c10675">
|
||||
<annotation>D1</annotation>
|
||||
<clockId>PWMGenerator::defaultTimer</clockId>
|
||||
<description>Discrete 1</description>
|
||||
<taskId>_task0</taskId>
|
||||
<rateSpec type="sto.RateSpec" uuid="751695d3-3911-4c55-9d5f-beb910645823">
|
||||
<period>.0001</period>
|
||||
<rateType>ClassicPeriodicDiscrete</rateType>
|
||||
</rateSpec>
|
||||
</rates>
|
||||
<schedulingClockId>PWMGenerator::defaultTimer</schedulingClockId>
|
||||
<timeKeeperClockId>PWMGenerator::defaultTimer</timeKeeperClockId>
|
||||
<elementType>Task</elementType>
|
||||
<identifier>_task0</identifier>
|
||||
<priority>40</priority>
|
||||
</rootTaskHierarchyElements>
|
||||
<taskDependencyGraph type="sto.SerializedTaskConnectionList" uuid="852020b7-09bf-4968-a9e2-cc6c033ce554">
|
||||
<clockIdentifier>PWMGenerator::defaultTimer</clockIdentifier>
|
||||
<taskIdentifier>_task0</taskIdentifier>
|
||||
</taskDependencyGraph>
|
||||
<taskDependencyGraph type="sto.SerializedTaskConnectionList" uuid="51f9cb88-22fc-44cf-9cb8-7b00a9f27f78">
|
||||
<clockIdentifier>ParameterChangeEvent</clockIdentifier>
|
||||
<taskIdentifier>ModelWideParameterChangeEvent</taskIdentifier>
|
||||
</taskDependencyGraph>
|
||||
<taskingMode>ClassicMultiTasking</taskingMode>
|
||||
</taskRegistry>
|
||||
</sto.Registry>
|
||||
</slexec_sto></timingAndTaskingRegistry>
|
||||
<usePortBasedSampleTime>true</usePortBasedSampleTime>
|
||||
<userSpecifiedFixedStepSize>.0001</userSpecifiedFixedStepSize>
|
||||
<FMUBlockMap type="ModelRefInfoRepo.FMUBlockInfo" uuid="efe1ad13-c77b-40b4-8d9c-fec0a986f82f"/>
|
||||
<codeGenInfo type="ModelRefInfoRepo.CodeGenInformation" uuid="72d77634-ad42-48c7-831c-24dc4ce29c42">
|
||||
<DWorkTypeName>MdlrefDW_PWMGenerator_T</DWorkTypeName>
|
||||
</codeGenInfo>
|
||||
<compiledVariantInfos type="ModelRefInfoRepo.CompiledVariantInfoMap" uuid="9eafd76b-b14f-41cf-82cb-3d1dc3d7c426"/>
|
||||
<configSettingsForConsistencyChecks type="ModelRefInfoRepo.ConfigSettingsForConsistencyChecks" uuid="d03c5b45-1a72-48cd-9831-59f917236f3d">
|
||||
<concurrentTaskSupport>true</concurrentTaskSupport>
|
||||
<consistentOutportInitialization>true</consistentOutportInitialization>
|
||||
<fixedStepSize>.0001</fixedStepSize>
|
||||
<frameDiagnosticSetting>2</frameDiagnosticSetting>
|
||||
<hasHybridSampleTime>true</hasHybridSampleTime>
|
||||
<signalLoggingSaveFormat>2</signalLoggingSaveFormat>
|
||||
<simSIMDOptimization>1</simSIMDOptimization>
|
||||
<solverName>FixedStepDiscrete</solverName>
|
||||
<solverType>SOLVER_TYPE_FIXEDSTEP</solverType>
|
||||
<hardwareSettings type="ModelRefInfoRepo.HardwareSettings" uuid="039b350f-434c-40b2-a867-db53bc58556e">
|
||||
<prodBitPerChar>8</prodBitPerChar>
|
||||
<prodBitPerDouble>64</prodBitPerDouble>
|
||||
<prodBitPerFloat>32</prodBitPerFloat>
|
||||
<prodBitPerInt>32</prodBitPerInt>
|
||||
<prodBitPerLong>64</prodBitPerLong>
|
||||
<prodBitPerLongLong>64</prodBitPerLongLong>
|
||||
<prodBitPerPointer>64</prodBitPerPointer>
|
||||
<prodBitPerPtrDiffT>64</prodBitPerPtrDiffT>
|
||||
<prodBitPerShort>16</prodBitPerShort>
|
||||
<prodBitPerSizeT>64</prodBitPerSizeT>
|
||||
<prodEndianess>1</prodEndianess>
|
||||
<prodLongLongMode>true</prodLongLongMode>
|
||||
<prodShiftRight>true</prodShiftRight>
|
||||
<prodWordSize>64</prodWordSize>
|
||||
</hardwareSettings>
|
||||
</configSettingsForConsistencyChecks>
|
||||
<controllableInputRatesMap type="ModelRefInfoRepo.VarTsUIDMap" uuid="34c67769-fb7b-400d-84e0-ae73b7232ce1"/>
|
||||
<controllableOutputRatesMap type="ModelRefInfoRepo.VarTsUIDMap" uuid="406927f0-1145-4f17-b258-7857bb64621b"/>
|
||||
<dataPortGroup type="ModelRefInfoRepo.DataPortGroup" uuid="ea6ce19f-1f67-45bf-a0e8-70eca6779548">
|
||||
<compDataInputPorts>0</compDataInputPorts>
|
||||
<compDataInputPorts>1</compDataInputPorts>
|
||||
<compDataInputPorts>2</compDataInputPorts>
|
||||
<compDataOutputPorts>0</compDataOutputPorts>
|
||||
<compDataOutputPorts>1</compDataOutputPorts>
|
||||
<compDataOutputPorts>2</compDataOutputPorts>
|
||||
<dataInputPorts>0</dataInputPorts>
|
||||
<dataInputPorts>1</dataInputPorts>
|
||||
<dataInputPorts>2</dataInputPorts>
|
||||
<dataOutputPorts>0</dataOutputPorts>
|
||||
<dataOutputPorts>1</dataOutputPorts>
|
||||
<dataOutputPorts>2</dataOutputPorts>
|
||||
</dataPortGroup>
|
||||
<expFcnUnconnectedDataPortGroup type="ModelRefInfoRepo.DataPortGroup" uuid="2a40d5f1-acc0-4ca8-bf95-81dfdf9f8eba"/>
|
||||
<interfaceParameterInfo type="ModelRefInfoRepo.InterfaceParameterInfo" uuid="58f44188-790e-41c1-abfd-5d3b69695c6d"/>
|
||||
<messageInfo type="ModelRefInfoRepo.MessageInformation" uuid="ffd2ba04-e8a0-4902-bae6-a4efcb9898f6"/>
|
||||
<methodInfo type="ModelRefInfoRepo.MethodExistenceInfo" uuid="a8d55a10-6610-4aef-a87a-3ccccf1b710e"/>
|
||||
<periodicEventPortUnsupportedBlockInfo type="ModelRefInfoRepo.PeriodicEventPortUnsupportedBlockInfo" uuid="478d0794-b2b5-4e81-bd13-28bb293d4e6c"/>
|
||||
<portGroupsRequireSameRate type="ModelRefInfoRepo.PortGroupsRequireSameRate" uuid="a5645432-46d9-49d9-9c6e-66cd53fcd99a">
|
||||
<DSMPortGroups type="ModelRefInfoRepo.NameToPortGroupIdxVectMap" uuid="a2aaa43e-e3e0-4441-8d6d-04c127dc3dda"/>
|
||||
<GlobalDSMPortGroups type="ModelRefInfoRepo.NameToPortGroupIdxVectMap" uuid="2cbeadae-2bd4-4d00-81ff-b83a9d5b1def"/>
|
||||
<mergedPortGroups type="ModelRefInfoRepo.NameToPortGroupIdxVectMap" uuid="8ce9695d-cfff-4d22-b211-b308f99e046c"/>
|
||||
</portGroupsRequireSameRate>
|
||||
<rateBasedMdlGlobalDSMRateSpec type="ModelRefInfoRepo.GlobalDSMRateSpecMap" uuid="0e804be3-88da-42ff-b3fc-76d503beb287"/>
|
||||
<rateSpecOfGlobalDSMAccessedByDescExpFcnMdlMap type="ModelRefInfoRepo.GlobalDSMRateSpecMap" uuid="0aaeab25-7d16-403f-8590-563a3279b437"/>
|
||||
<rootBlockDiagramInterface type="ci.Model" uuid="4ff4de6c-f2c3-495b-b142-e4ba3f9225a6">
|
||||
<p_RootComponentInterface type="ci.ComponentInterface" uuid="1703d8ef-341e-4f94-86cf-5827f50a2c6c">
|
||||
<p_InputPorts type="ci.SignalInterface" uuid="d1a8b41d-66af-4bad-bd5e-f6a683def106">
|
||||
<p_ComputedNumericDimensions>1.0</p_ComputedNumericDimensions>
|
||||
<p_ComputedSampleTime>.0001</p_ComputedSampleTime>
|
||||
<p_ComputedSampleTime>0.0</p_ComputedSampleTime>
|
||||
<p_Name>Onda objetivo</p_Name>
|
||||
</p_InputPorts>
|
||||
<p_InputPorts type="ci.SignalInterface" uuid="a14ef384-3a0e-4731-b795-f1e5c772793f">
|
||||
<p_ComputedNumericDimensions>1.0</p_ComputedNumericDimensions>
|
||||
<p_ComputedSampleTime>.0001</p_ComputedSampleTime>
|
||||
<p_ComputedSampleTime>0.0</p_ComputedSampleTime>
|
||||
<p_Name>Onda portadora</p_Name>
|
||||
</p_InputPorts>
|
||||
<p_InputPorts type="ci.SignalInterface" uuid="bfdf1959-22e8-41b0-acbe-d91bcccce360">
|
||||
<p_ComputedNumericDimensions>1.0</p_ComputedNumericDimensions>
|
||||
<p_ComputedSampleTime>.0001</p_ComputedSampleTime>
|
||||
<p_ComputedSampleTime>0.0</p_ComputedSampleTime>
|
||||
<p_Name>Amplitud</p_Name>
|
||||
</p_InputPorts>
|
||||
<p_Name>PWMGenerator</p_Name>
|
||||
<p_OutputPorts type="ci.SignalInterface" uuid="dffa03ff-3dc1-4b7a-b343-e3416dd9b5ec">
|
||||
<p_ComputedNumericDimensions>1.0</p_ComputedNumericDimensions>
|
||||
<p_ComputedSampleTime>.0001</p_ComputedSampleTime>
|
||||
<p_ComputedSampleTime>0.0</p_ComputedSampleTime>
|
||||
<p_Name>Señal PWM</p_Name>
|
||||
</p_OutputPorts>
|
||||
<p_OutputPorts type="ci.SignalInterface" uuid="e6678802-c457-4428-aaeb-a821080c172f">
|
||||
<p_ComputedNumericDimensions>1.0</p_ComputedNumericDimensions>
|
||||
<p_ComputedSampleTime>.0001</p_ComputedSampleTime>
|
||||
<p_ComputedSampleTime>0.0</p_ComputedSampleTime>
|
||||
<p_Name>Monitoreo
|
||||
Portadora Amp</p_Name>
|
||||
</p_OutputPorts>
|
||||
<p_OutputPorts type="ci.SignalInterface" uuid="3420b120-23f1-48ec-a311-130b8a68c7d7">
|
||||
<p_ComputedNumericDimensions>1.0</p_ComputedNumericDimensions>
|
||||
<p_ComputedSampleTime>.0001</p_ComputedSampleTime>
|
||||
<p_ComputedSampleTime>0.0</p_ComputedSampleTime>
|
||||
<p_Name>Monitoreo
|
||||
PWMAmp1</p_Name>
|
||||
</p_OutputPorts>
|
||||
<p_Type>ROOT</p_Type>
|
||||
</p_RootComponentInterface>
|
||||
</rootBlockDiagramInterface>
|
||||
<simulinkFunctions type="ModelRefInfoRepo.SimulinkFunctions" uuid="d9c87c6c-7092-424f-97f4-f5bacd947290">
|
||||
<compSimulinkFunctionCatalog></compSimulinkFunctionCatalog>
|
||||
</simulinkFunctions>
|
||||
<sltpContext type="sltp.mm.core.Context" uuid="fa7a4072-ccb7-4291-8a6b-7981d2dd34e4">
|
||||
<globalData type="sltp.mm.core.GlobalData" uuid="33787388-aa32-41f6-a6e8-fd907671b2f9">
|
||||
<dataName>portAmplitud</dataName>
|
||||
<type>RootInport</type>
|
||||
</globalData>
|
||||
<globalData type="sltp.mm.core.GlobalData" uuid="ad4d5337-f59c-4287-9901-9aa28eb2da32">
|
||||
<dataName>portMonitoreo
|
||||
PWMAmp1</dataName>
|
||||
<type>RootOutport</type>
|
||||
</globalData>
|
||||
<globalData type="sltp.mm.core.GlobalData" uuid="ac2bc6dd-7421-48ac-ac58-b6f8f7f36811">
|
||||
<dataName>portMonitoreo
|
||||
Portadora Amp</dataName>
|
||||
<type>RootOutport</type>
|
||||
</globalData>
|
||||
<globalData type="sltp.mm.core.GlobalData" uuid="e0958a81-5a3a-4651-a3cd-9e18d92d4c58">
|
||||
<dataName>portOnda objetivo</dataName>
|
||||
<type>RootInport</type>
|
||||
</globalData>
|
||||
<globalData type="sltp.mm.core.GlobalData" uuid="ea65910c-f423-4b32-993c-edee52a8d5fd">
|
||||
<dataName>portOnda portadora</dataName>
|
||||
<type>RootInport</type>
|
||||
</globalData>
|
||||
<globalData type="sltp.mm.core.GlobalData" uuid="f98d85cf-dcc7-4061-81bf-09b4fdfe7e0e">
|
||||
<dataName>portSeñal PWM</dataName>
|
||||
<type>RootOutport</type>
|
||||
</globalData>
|
||||
<unusedTaskIds>1</unusedTaskIds>
|
||||
<defaultEventBehavior type="sltp.mm.core.EventBehavior" uuid="4a48a1b2-6495-4df8-9f91-123cb23135f2"/>
|
||||
<editorState type="sltp.mm.core.EditorState" uuid="35e4dfe5-c06b-4b13-a223-c0053f3a18d4">
|
||||
<isSynchronized>true</isSynchronized>
|
||||
<panelState type="sltp.mm.core.EditorPanelState" uuid="70020f37-e3ec-4b0e-b743-776efdad3e20"/>
|
||||
</editorState>
|
||||
<rootTask type="sltp.mm.core.Task" uuid="8e610a3b-e5bd-4582-b306-d97c4156db2d">
|
||||
<context type="sltp.mm.core.Context" uuid="fa7a4072-ccb7-4291-8a6b-7981d2dd34e4"/>
|
||||
<explicit>false</explicit>
|
||||
<name>Default</name>
|
||||
<priority>-2147483648</priority>
|
||||
<subgraph type="sltp.mm.core.Graph" uuid="79ee001c-2f7b-45f3-ba91-323dd222555f">
|
||||
<tasks type="sltp.mm.core.Task" uuid="637a1bbb-105a-4106-8de8-13fff506b0b6">
|
||||
<context type="sltp.mm.core.Context" uuid="fa7a4072-ccb7-4291-8a6b-7981d2dd34e4"/>
|
||||
<explicit>false</explicit>
|
||||
<id>2</id>
|
||||
<isTimed>true</isTimed>
|
||||
<name>D1</name>
|
||||
<priority>40</priority>
|
||||
<rates type="sltp.mm.core.Rate" uuid="6611ae25-779c-4245-8e0b-e8242f3a5efb">
|
||||
<annotation>D1</annotation>
|
||||
<color>-12240129</color>
|
||||
<hasBlocks>true</hasBlocks>
|
||||
<identifier>ClassicPeriodicDiscrete0.00010</identifier>
|
||||
<rateIndex>0</rateIndex>
|
||||
<rateSpec type="sltp.mm.core.RateSpec">
|
||||
<period>.0001</period>
|
||||
</rateSpec>
|
||||
<sti>0</sti>
|
||||
</rates>
|
||||
</tasks>
|
||||
</subgraph>
|
||||
</rootTask>
|
||||
</sltpContext>
|
||||
<stateWriterToOwnerMap type="ModelRefInfoRepo.StateWriterInfo" uuid="30a1c1c5-2fe0-42ff-9ea1-7b48daf8551b"/>
|
||||
<stoClientDataRegistry type="sto.ClientDataRegistry" uuid="8361fdd4-3b10-41b1-99a1-b67d4a1e6ee7">
|
||||
<dataSets type="sto.ClientClockNamedDataSet" uuid="779c50fe-cace-482b-af0a-27a9523af16c">
|
||||
<tag>sltpEvents</tag>
|
||||
</dataSets>
|
||||
<dataSets type="sto.ClientTaskHierarchyElementNamedDataSet" uuid="463b0341-7f99-4928-8f4e-ed9d41792e5a">
|
||||
<tag>sltpTaskGroups</tag>
|
||||
</dataSets>
|
||||
<dataSets type="sto.ClientTaskHierarchyElementNamedDataSet" uuid="78e63382-f38d-4a52-9b27-d84d5d8eec9c">
|
||||
<dSet type="ModelRefInfoRepo.SltpTaskData" uuid="b4e59d3b-8733-4eb4-9e13-8b88026a8752"/>
|
||||
<tSet type="ModelRefInfoRepo.SltpTaskData" uuid="b4e59d3b-8733-4eb4-9e13-8b88026a8752">
|
||||
<dataName>D1</dataName>
|
||||
<linkedSet type="sto.ClientTaskHierarchyElementNamedDataSet" uuid="78e63382-f38d-4a52-9b27-d84d5d8eec9c"/>
|
||||
<id type="sto.TaskHierarchyElementId">
|
||||
<clockId>PWMGenerator::defaultTimer</clockId>
|
||||
<id>_task0</id>
|
||||
</id>
|
||||
</tSet>
|
||||
<tag>sltpTasks</tag>
|
||||
</dataSets>
|
||||
</stoClientDataRegistry>
|
||||
<varTsUIDMap type="ModelRefInfoRepo.VarTsUIDMap" uuid="44992c4d-72fc-4a78-8da8-3f796fd0b04a"/>
|
||||
</ModelRefInfoRepo.ModelRefInfoRoot>
|
||||
</MF0>
|
Binary file not shown.
Binary file not shown.
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<MF0 version="1.1" packageUris="http://schema.mathworks.com/mf0/SlCache/19700101">
|
||||
<slcache.FileAttributes type="slcache.FileAttributes" uuid="5444d61b-632a-426f-97a0-938113534ad4">
|
||||
<checksum>ihj/publnQM5vZ7sK1lGtklEz2c4oba7NTHaoZ21uGJcTd7Lwp3hA8eFVigLXlHL4CBc7auFcxQdjiAwB/rhPA==</checksum>
|
||||
</slcache.FileAttributes>
|
||||
</MF0>
|
Binary file not shown.
@ -1,412 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<MF0 version="1.1" packageUris="http://schema.mathworks.com/mf0/ci/19700101 http://schema.mathworks.com/mf0/sl_modelref_info/R2024a http://schema.mathworks.com/mf0/slexec_mm_sto/R2024a_202305081229 http://schema.mathworks.com/mf0/sltp_mm/R2023a_202209151115">
|
||||
<ModelRefInfoRepo.ModelRefInfoRoot type="ModelRefInfoRepo.ModelRefInfoRoot" uuid="7c6ee3ea-61c2-4b5d-b9aa-0c82d9bb1a74">
|
||||
<calibrationData type="ModelRefInfoRepo.CalibrationData" uuid="61d0ba68-f012-4767-9cc6-f29d80b5cbc5">
|
||||
<ModelName>VFControl</ModelName>
|
||||
</calibrationData>
|
||||
<calibrationData type="ModelRefInfoRepo.CalibrationData" uuid="5a9e6128-fc8e-4100-8017-45b67b8c538d">
|
||||
<ModelName>PWMGenerator</ModelName>
|
||||
<RootIOData>[{"Name":"Onda objetivo","Profile":""},{"Name":"Onda portadora","Profile":""},{"Name":"Amplitud","Profile":""},{"Name":"Señal PWM","Profile":""},{"Name":"Monitoreo\nPortadora Amp","Profile":""},{"Name":"Monitoreo\nPWMAmp1","Profile":""}]</RootIOData>
|
||||
</calibrationData>
|
||||
<childModelRefInfo type="ModelRefInfoRepo.ChildModelRefInfo" uuid="fb50b1ca-d927-46b3-bd28-784ce04b5c6d">
|
||||
<hasAccelReference>true</hasAccelReference>
|
||||
<modelName>PWMGenerator</modelName>
|
||||
<modelPath>VFControl:PWMGenerator</modelPath>
|
||||
</childModelRefInfo>
|
||||
<childModelRefInfo type="ModelRefInfoRepo.ChildModelRefInfo" uuid="14783ec1-a0d0-4ded-9c98-420e70c2af6a">
|
||||
<modelName>VFControl</modelName>
|
||||
<modelPath>VFControl</modelPath>
|
||||
</childModelRefInfo>
|
||||
<clockResolutions type="ModelRefInfoRepo.ClockResolutionInfo" uuid="d81a7d0b-d2cf-46fe-8025-d974f10bd40b">
|
||||
<rateIdx>1</rateIdx>
|
||||
<resolution>.0001</resolution>
|
||||
<source>DeducedFromSampleTime</source>
|
||||
</clockResolutions>
|
||||
<compiledTFinal>inf</compiledTFinal>
|
||||
<dataSourceInfo type="ModelRefInfoRepo.DataSourceInfo" uuid="6d726b9d-d9fd-4f75-9190-9e39e88e12ac">
|
||||
<dataSources type="ModelRefInfoRepo.SourceInfo" uuid="6299cbc7-5322-4939-afdc-69d20fe5c5fd">
|
||||
<includeAllSections>true</includeAllSections>
|
||||
<sourceName>base workspace</sourceName>
|
||||
<type>BaseWorkspace</type>
|
||||
</dataSources>
|
||||
<modelName>PWMGenerator</modelName>
|
||||
</dataSourceInfo>
|
||||
<dataSourceInfo type="ModelRefInfoRepo.DataSourceInfo" uuid="d9a3af99-7d92-4f36-9e44-1676849f108b">
|
||||
<dataSources type="ModelRefInfoRepo.SourceInfo" uuid="cb9eb18b-0edd-4806-a2e3-d155e75fcc83">
|
||||
<includeAllSections>true</includeAllSections>
|
||||
<sourceName>base workspace</sourceName>
|
||||
<type>BaseWorkspace</type>
|
||||
</dataSources>
|
||||
<modelName>VFControl</modelName>
|
||||
</dataSourceInfo>
|
||||
<dataTransferInfos>AAFJTQAAAAAOAAAAOAAAAAYAAAAIAAAAAgAAAAAAAAAFAAAACAAAAAAAAAABAAAAAQAAAAAAAAAFAAQAAQAAAAEAAAAAAAAA</dataTransferInfos>
|
||||
<defaultsCMapping>{"Inports":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","Outports":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","ParameterArguments":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","LocalParameters":"{\"Name\":\"PageSwitching\",\"Checksum\":\"1969678929\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","GlobalParameters":"{\"Name\":\"slrealtime_PageSwitching\",\"Checksum\":\"673606011\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","InternalData":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","SharedLocalDataStores":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","GlobalDataStores":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","Constants":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","DataTransfers":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","ModelData":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","InitializeTerminate":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","Execution":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}","SharedUtility":"{\"Name\":\"Default\",\"Checksum\":\"Default\",\"PerInstancePropertiesChecksum\":\"\",\"MemorySectionName\":\"None\",\"MemorySectionChecksum\":\"None\"}"}</defaultsCMapping>
|
||||
<fastestNoncontSigFeedingDerivPorts>-1.0</fastestNoncontSigFeedingDerivPorts>
|
||||
<hasBlockWithPeriodicDiscreteSampleTime>true</hasBlockWithPeriodicDiscreteSampleTime>
|
||||
<hasBwsAccessed>true</hasBwsAccessed>
|
||||
<hasContinuousSampleTime>true</hasContinuousSampleTime>
|
||||
<isBdInSimModeForSimCodegenVariants>false</isBdInSimModeForSimCodegenVariants>
|
||||
<loggingSaveFormat>2</loggingSaveFormat>
|
||||
<maxFreqHz>-1.0</maxFreqHz>
|
||||
<needAbsoluteTimeDisallowInitPort>true</needAbsoluteTimeDisallowInitPort>
|
||||
<needsAbsoluteTime>true</needsAbsoluteTime>
|
||||
<nonIteratorAssignmentBlock>VFControl/Asynchronous Machine SI Units/Electrical model/Asynchronous Machine State-space model/Saturation/Matrix L/Lm in rows[1,3] & col[1,3]</nonIteratorAssignmentBlock>
|
||||
<numDStateRecs>12</numDStateRecs>
|
||||
<numDataInputPorts>0</numDataInputPorts>
|
||||
<numLoggableDStateRecs>12</numLoggableDStateRecs>
|
||||
<numLoggableJacobianDStates>21</numLoggableJacobianDStates>
|
||||
<runtimeNonFcnCallRateInfos type="ModelRefInfoRepo.RateInfo">
|
||||
<compiled>true</compiled>
|
||||
<needAbsoluteTime>true</needAbsoluteTime>
|
||||
<period>0.0</period>
|
||||
<priority>40</priority>
|
||||
<rateIdx>0</rateIdx>
|
||||
</runtimeNonFcnCallRateInfos>
|
||||
<runtimeNonFcnCallRateInfos type="ModelRefInfoRepo.RateInfo">
|
||||
<compiled>true</compiled>
|
||||
<needAbsoluteTime>true</needAbsoluteTime>
|
||||
<nonFcnCallPartitionName>Cont</nonFcnCallPartitionName>
|
||||
<period>.0001</period>
|
||||
<priority>40</priority>
|
||||
<rateIdx>1</rateIdx>
|
||||
</runtimeNonFcnCallRateInfos>
|
||||
<runtimeNonFcnCallRateInfos type="ModelRefInfoRepo.RateInfo">
|
||||
<compiled>true</compiled>
|
||||
<nonFcnCallPartitionName>D2</nonFcnCallPartitionName>
|
||||
<period>.0005</period>
|
||||
<priority>39</priority>
|
||||
<rateIdx>2</rateIdx>
|
||||
</runtimeNonFcnCallRateInfos>
|
||||
<sampleTimeInheritanceRule>2</sampleTimeInheritanceRule>
|
||||
<solverStatusFlags>335</solverStatusFlags>
|
||||
<timingAndTaskingRegistry><?xml version="1.0"?>
|
||||
<slexec_sto version="1.1" packageUris="http://schema.mathworks.com/mf0/slexec_mm_sto/R2024a_202305081229">
|
||||
<sto.Registry type="sto.Registry" uuid="a51532d1-771f-425d-8f6a-f67f3f9389c4">
|
||||
<executionSpec>Undetermined</executionSpec>
|
||||
<identifier>VFControl</identifier>
|
||||
<clockRegistry type="sto.ClockRegistry" uuid="096fa08f-12cf-4d3b-bb1c-92d47f36d788">
|
||||
<clocks type="sto.Timer" uuid="291c8499-cf6d-4efd-93f5-ffa5144b794d">
|
||||
<computedFundamentalDiscretePeriod>.0001</computedFundamentalDiscretePeriod>
|
||||
<fastestDiscreteRate type="sto.ClassicPeriodicDiscreteRate" uuid="70a632cd-0b31-4d92-b7d4-b17e9aec25d1"/>
|
||||
<isDefaultTimer>true</isDefaultTimer>
|
||||
<resolution>.0001</resolution>
|
||||
<timeAdvanceMode>FixedStep</timeAdvanceMode>
|
||||
<identifier>VFControl::defaultTimer</identifier>
|
||||
<rates type="sto.ContinuousRate" uuid="3bda0e9b-8bab-474d-88fc-6022ded61fb3">
|
||||
<annotation>Cont</annotation>
|
||||
<clockId>VFControl::defaultTimer</clockId>
|
||||
<colorIndex>-1</colorIndex>
|
||||
<description>Continuous</description>
|
||||
<taskId>_task0</taskId>
|
||||
<rateSpec type="sto.RateSpec" uuid="8e5d3c59-3257-4f6f-b99e-e7272255f03d"/>
|
||||
</rates>
|
||||
<rates type="sto.ClassicPeriodicDiscreteRate" uuid="70a632cd-0b31-4d92-b7d4-b17e9aec25d1">
|
||||
<annotation>D1</annotation>
|
||||
<clockId>VFControl::defaultTimer</clockId>
|
||||
<description>Discrete 1</description>
|
||||
<rateIdx>1</rateIdx>
|
||||
<taskId>_task0</taskId>
|
||||
<rateSpec type="sto.RateSpec" uuid="296bb704-5300-4489-a43d-8fd6c944c0a9">
|
||||
<period>.0001</period>
|
||||
<rateType>ClassicPeriodicDiscrete</rateType>
|
||||
</rateSpec>
|
||||
</rates>
|
||||
<rates type="sto.ClassicPeriodicDiscreteRate" uuid="cf439926-8acb-486c-84a5-7bceaf3f31b4">
|
||||
<annotation>D2</annotation>
|
||||
<clockId>VFControl::defaultTimer</clockId>
|
||||
<colorIndex>1</colorIndex>
|
||||
<description>Discrete 2</description>
|
||||
<rateIdx>2</rateIdx>
|
||||
<taskId>_task1</taskId>
|
||||
<rateSpec type="sto.RateSpec" uuid="32db3ce7-aa4d-48fc-9305-213e0e4b8ed7">
|
||||
<period>.0005</period>
|
||||
<rateType>ClassicPeriodicDiscrete</rateType>
|
||||
</rateSpec>
|
||||
</rates>
|
||||
<baseRate type="sto.ContinuousRate" uuid="b8865775-ebdc-47e1-afbc-ed4132777155">
|
||||
<annotation>Cont</annotation>
|
||||
<clockId>VFControl::defaultTimer</clockId>
|
||||
<colorIndex>-1</colorIndex>
|
||||
<description>Continuous</description>
|
||||
<taskId>_task0</taskId>
|
||||
<rateSpec type="sto.RateSpec" uuid="a9d39401-0685-4a4e-94fa-71496a9a5401"/>
|
||||
</baseRate>
|
||||
</clocks>
|
||||
<clocks type="sto.Event" uuid="edeef952-6822-4190-bed9-73c7f425b699">
|
||||
<eventType>PARAMETER_CHANGE_EVENT</eventType>
|
||||
<cNum>1</cNum>
|
||||
<clockType>Event</clockType>
|
||||
<identifier>ParameterChangeEvent</identifier>
|
||||
<rates type="sto.ModelWideEventRate" uuid="0ff82ce2-7d8f-4728-ae67-979d2d04828c">
|
||||
<annotation>Inf</annotation>
|
||||
<clockId>ParameterChangeEvent</clockId>
|
||||
<colorIndex>-1</colorIndex>
|
||||
<description>Constant</description>
|
||||
<rateIdx>-1</rateIdx>
|
||||
<taskId>ModelWideParameterChangeEvent</taskId>
|
||||
<useForExecution>NotForExecution</useForExecution>
|
||||
<rateSpec type="sto.RateSpec" uuid="dff61f35-76e0-4436-8958-741bd0b7160a">
|
||||
<period>inf</period>
|
||||
<rateType>ModelWideParameterChangeEvent</rateType>
|
||||
</rateSpec>
|
||||
</rates>
|
||||
</clocks>
|
||||
<timeAdvanceMode>FixedStep</timeAdvanceMode>
|
||||
</clockRegistry>
|
||||
<taskRegistry type="sto.TaskRegistry" uuid="0f7fe815-003a-43f8-a4a9-1dada4d21f8b">
|
||||
<rootTaskHierarchyElements type="sto.Task" uuid="0eae1af7-3ac6-4fb1-972e-81e4281cb382">
|
||||
<isExplicit>true</isExplicit>
|
||||
<rates type="sto.ModelWideEventRate" uuid="dd2637b8-4051-430c-955e-ecb9f3fd15f2">
|
||||
<annotation>Inf</annotation>
|
||||
<clockId>ParameterChangeEvent</clockId>
|
||||
<colorIndex>-1</colorIndex>
|
||||
<description>Constant</description>
|
||||
<rateIdx>-1</rateIdx>
|
||||
<taskId>ModelWideParameterChangeEvent</taskId>
|
||||
<useForExecution>NotForExecution</useForExecution>
|
||||
<rateSpec type="sto.RateSpec" uuid="150387e7-4e18-4ea0-ba4e-15e11fce55d3">
|
||||
<period>inf</period>
|
||||
<rateType>ModelWideParameterChangeEvent</rateType>
|
||||
</rateSpec>
|
||||
</rates>
|
||||
<schedulingClockId>ParameterChangeEvent</schedulingClockId>
|
||||
<timeKeeperClockId>VFControl::defaultTimer</timeKeeperClockId>
|
||||
<elementType>Task</elementType>
|
||||
<identifier>ModelWideParameterChangeEvent</identifier>
|
||||
<priority>-1</priority>
|
||||
</rootTaskHierarchyElements>
|
||||
<rootTaskHierarchyElements type="sto.Task" uuid="50e89d34-7249-4db9-942f-aad349e3cc15">
|
||||
<isExecutable>true</isExecutable>
|
||||
<orderIndex>1</orderIndex>
|
||||
<rates type="sto.ContinuousRate" uuid="3a01bb04-d15c-4c16-a0b1-cd441d2b1356">
|
||||
<annotation>Cont</annotation>
|
||||
<clockId>VFControl::defaultTimer</clockId>
|
||||
<colorIndex>-1</colorIndex>
|
||||
<description>Continuous</description>
|
||||
<taskId>_task0</taskId>
|
||||
<rateSpec type="sto.RateSpec" uuid="ede8e03b-8be0-49c2-9bab-bea555d0e08d"/>
|
||||
</rates>
|
||||
<rates type="sto.ClassicPeriodicDiscreteRate" uuid="139e8595-ec68-484e-b662-75cd0c6462f9">
|
||||
<annotation>D1</annotation>
|
||||
<clockId>VFControl::defaultTimer</clockId>
|
||||
<description>Discrete 1</description>
|
||||
<rateIdx>1</rateIdx>
|
||||
<taskId>_task0</taskId>
|
||||
<rateSpec type="sto.RateSpec" uuid="af74c318-4482-4bfb-9037-7c8fce214416">
|
||||
<period>.0001</period>
|
||||
<rateType>ClassicPeriodicDiscrete</rateType>
|
||||
</rateSpec>
|
||||
</rates>
|
||||
<schedulingClockId>VFControl::defaultTimer</schedulingClockId>
|
||||
<timeKeeperClockId>VFControl::defaultTimer</timeKeeperClockId>
|
||||
<elementType>Task</elementType>
|
||||
<identifier>_task0</identifier>
|
||||
<priority>40</priority>
|
||||
</rootTaskHierarchyElements>
|
||||
<rootTaskHierarchyElements type="sto.Task" uuid="7c389f59-8f39-4a90-9ca3-e8fc71052347">
|
||||
<isExecutable>true</isExecutable>
|
||||
<orderIndex>2</orderIndex>
|
||||
<rates type="sto.ClassicPeriodicDiscreteRate" uuid="bec2b738-839c-4d4a-9a81-e3c55d53d210">
|
||||
<annotation>D2</annotation>
|
||||
<clockId>VFControl::defaultTimer</clockId>
|
||||
<colorIndex>1</colorIndex>
|
||||
<description>Discrete 2</description>
|
||||
<rateIdx>2</rateIdx>
|
||||
<taskId>_task1</taskId>
|
||||
<rateSpec type="sto.RateSpec" uuid="c84c6a44-df09-44e7-a4f5-e89311717097">
|
||||
<period>.0005</period>
|
||||
<rateType>ClassicPeriodicDiscrete</rateType>
|
||||
</rateSpec>
|
||||
</rates>
|
||||
<schedulingClockId>VFControl::defaultTimer</schedulingClockId>
|
||||
<tNum>1</tNum>
|
||||
<timeKeeperClockId>VFControl::defaultTimer</timeKeeperClockId>
|
||||
<elementType>Task</elementType>
|
||||
<identifier>_task1</identifier>
|
||||
<priority>39</priority>
|
||||
</rootTaskHierarchyElements>
|
||||
<taskDependencyGraph type="sto.SerializedTaskConnectionList" uuid="3725f998-b0f9-48a3-a187-847dd3d93686">
|
||||
<clockIdentifier>VFControl::defaultTimer</clockIdentifier>
|
||||
<taskIdentifier>_task1</taskIdentifier>
|
||||
</taskDependencyGraph>
|
||||
<taskDependencyGraph type="sto.SerializedTaskConnectionList" uuid="57f90573-5dd1-4404-bb2b-006634a6fefe">
|
||||
<clockIdentifier>VFControl::defaultTimer</clockIdentifier>
|
||||
<taskIdentifier>_task0</taskIdentifier>
|
||||
</taskDependencyGraph>
|
||||
<taskDependencyGraph type="sto.SerializedTaskConnectionList" uuid="07c418f9-2104-4cb0-a185-9aa2a20fba35">
|
||||
<clockIdentifier>ParameterChangeEvent</clockIdentifier>
|
||||
<taskIdentifier>ModelWideParameterChangeEvent</taskIdentifier>
|
||||
</taskDependencyGraph>
|
||||
<taskingMode>ClassicMultiTasking</taskingMode>
|
||||
</taskRegistry>
|
||||
</sto.Registry>
|
||||
</slexec_sto></timingAndTaskingRegistry>
|
||||
<FMUBlockMap type="ModelRefInfoRepo.FMUBlockInfo" uuid="97d815bc-2818-43f2-bdf2-aabf41240e0e"/>
|
||||
<codeGenInfo type="ModelRefInfoRepo.CodeGenInformation" uuid="355757e1-98d6-4388-a5cb-b7d9a185afe8"/>
|
||||
<compiledVariantInfos type="ModelRefInfoRepo.CompiledVariantInfoMap" uuid="77e3536c-b047-4287-bac3-48559f578f21">
|
||||
<entries type="ModelRefInfoRepo.CompiledVariantInfo" uuid="68f7d052-d50a-45df-9a93-1b5f0471eebf">
|
||||
<IsActive>true</IsActive>
|
||||
<IsInCodegen>true</IsInCodegen>
|
||||
<modelBlockPath>VFControl/Model</modelBlockPath>
|
||||
</entries>
|
||||
<entries type="ModelRefInfoRepo.CompiledVariantInfo" uuid="2e46705a-86b8-4b09-a98e-e45eb4999bd7">
|
||||
<IsActive>true</IsActive>
|
||||
<IsInCodegen>true</IsInCodegen>
|
||||
<modelBlockPath>VFControl/Model1</modelBlockPath>
|
||||
</entries>
|
||||
<entries type="ModelRefInfoRepo.CompiledVariantInfo" uuid="85da0969-fdea-44a1-add7-46066b7e7c85">
|
||||
<IsActive>true</IsActive>
|
||||
<IsInCodegen>true</IsInCodegen>
|
||||
<modelBlockPath>VFControl/Model2</modelBlockPath>
|
||||
</entries>
|
||||
</compiledVariantInfos>
|
||||
<configSettingsForConsistencyChecks type="ModelRefInfoRepo.ConfigSettingsForConsistencyChecks" uuid="d92ea302-eb74-4acd-ac93-f78d09d6ea99">
|
||||
<concurrentTaskSupport>true</concurrentTaskSupport>
|
||||
<consistentOutportInitialization>true</consistentOutportInitialization>
|
||||
<fixedStepSize>.0001</fixedStepSize>
|
||||
<frameDiagnosticSetting>2</frameDiagnosticSetting>
|
||||
<hasHybridSampleTime>true</hasHybridSampleTime>
|
||||
<isRateGrouped>true</isRateGrouped>
|
||||
<signalLoggingSaveFormat>2</signalLoggingSaveFormat>
|
||||
<simSIMDOptimization>1</simSIMDOptimization>
|
||||
<solverMode>SOLVER_MODE_MULTITASKING</solverMode>
|
||||
<solverName>FixedStepDiscrete</solverName>
|
||||
<solverType>SOLVER_TYPE_FIXEDSTEP</solverType>
|
||||
<hardwareSettings type="ModelRefInfoRepo.HardwareSettings" uuid="605ada1b-7c43-4f69-920b-1f4ca8c30e62">
|
||||
<prodBitPerChar>8</prodBitPerChar>
|
||||
<prodBitPerDouble>64</prodBitPerDouble>
|
||||
<prodBitPerFloat>32</prodBitPerFloat>
|
||||
<prodBitPerInt>32</prodBitPerInt>
|
||||
<prodBitPerLong>64</prodBitPerLong>
|
||||
<prodBitPerLongLong>64</prodBitPerLongLong>
|
||||
<prodBitPerPointer>64</prodBitPerPointer>
|
||||
<prodBitPerPtrDiffT>64</prodBitPerPtrDiffT>
|
||||
<prodBitPerShort>16</prodBitPerShort>
|
||||
<prodBitPerSizeT>64</prodBitPerSizeT>
|
||||
<prodEndianess>1</prodEndianess>
|
||||
<prodLongLongMode>true</prodLongLongMode>
|
||||
<prodShiftRight>true</prodShiftRight>
|
||||
<prodWordSize>64</prodWordSize>
|
||||
</hardwareSettings>
|
||||
</configSettingsForConsistencyChecks>
|
||||
<controllableInputRatesMap type="ModelRefInfoRepo.VarTsUIDMap" uuid="525fcde9-d369-4c8c-8a9e-4337843c45e1"/>
|
||||
<controllableOutputRatesMap type="ModelRefInfoRepo.VarTsUIDMap" uuid="670c8d12-36a8-4bad-aa95-795e55b0d428"/>
|
||||
<dataPortGroup type="ModelRefInfoRepo.DataPortGroup" uuid="72b41218-1a66-428e-888a-f6219743446b"/>
|
||||
<expFcnUnconnectedDataPortGroup type="ModelRefInfoRepo.DataPortGroup" uuid="378204fc-33b6-420c-84a8-39828180cf5e"/>
|
||||
<interfaceParameterInfo type="ModelRefInfoRepo.InterfaceParameterInfo" uuid="a4b3ed98-cd3a-4aba-aa9a-9932c6583ffa"/>
|
||||
<messageInfo type="ModelRefInfoRepo.MessageInformation" uuid="f0d537e4-20d5-45bf-8e6e-9412a5d81208"/>
|
||||
<methodInfo type="ModelRefInfoRepo.MethodExistenceInfo" uuid="9eb6f343-84f3-4d7b-b18c-7001cc599a0a"/>
|
||||
<periodicEventPortUnsupportedBlockInfo type="ModelRefInfoRepo.PeriodicEventPortUnsupportedBlockInfo" uuid="b988fd88-48bf-4229-aaf2-96bd843691ce"/>
|
||||
<portGroupsRequireSameRate type="ModelRefInfoRepo.PortGroupsRequireSameRate" uuid="01e0b3b2-aeeb-4982-8414-abf370a4554e">
|
||||
<DSMPortGroups type="ModelRefInfoRepo.NameToPortGroupIdxVectMap" uuid="2fa7d27b-59e3-4803-bfc2-c496366e349c"/>
|
||||
<GlobalDSMPortGroups type="ModelRefInfoRepo.NameToPortGroupIdxVectMap" uuid="1f76537a-7221-4af3-9d4d-9f20fb94430c"/>
|
||||
<mergedPortGroups type="ModelRefInfoRepo.NameToPortGroupIdxVectMap" uuid="8a9a2c3f-a420-47f6-a16e-edf9a107f7ad"/>
|
||||
</portGroupsRequireSameRate>
|
||||
<rateBasedMdlGlobalDSMRateSpec type="ModelRefInfoRepo.GlobalDSMRateSpecMap" uuid="fcd4334a-6fe8-4b6e-b87f-98464e303f50"/>
|
||||
<rateSpecOfGlobalDSMAccessedByDescExpFcnMdlMap type="ModelRefInfoRepo.GlobalDSMRateSpecMap" uuid="b32b220f-050a-4ae1-9e41-731a658fc208"/>
|
||||
<rootBlockDiagramInterface type="ci.Model" uuid="dccb1dae-e540-4d6a-b289-433d1476dba6">
|
||||
<p_RootComponentInterface type="ci.ComponentInterface" uuid="968dc8c3-a434-4dee-a4ea-c380238d261b">
|
||||
<p_Name>VFControl</p_Name>
|
||||
<p_Type>ROOT</p_Type>
|
||||
</p_RootComponentInterface>
|
||||
</rootBlockDiagramInterface>
|
||||
<simulinkFunctions type="ModelRefInfoRepo.SimulinkFunctions" uuid="2ad8692b-a438-4284-83e1-4ae179f2b06d">
|
||||
<compSimulinkFunctionCatalog></compSimulinkFunctionCatalog>
|
||||
</simulinkFunctions>
|
||||
<sltpContext type="sltp.mm.core.Context" uuid="3979bc55-45a3-41cb-be83-bf8aaf648dbc">
|
||||
<defaultEventBehavior type="sltp.mm.core.EventBehavior" uuid="9b80950f-58c3-4039-8634-e397aec72368"/>
|
||||
<editorState type="sltp.mm.core.EditorState" uuid="41364b00-8029-49db-aa08-b1c70988d015">
|
||||
<isSynchronized>true</isSynchronized>
|
||||
<panelState type="sltp.mm.core.EditorPanelState" uuid="95cf0bfd-fd66-4895-952c-ffb24d4680d6"/>
|
||||
</editorState>
|
||||
<rootTask type="sltp.mm.core.Task" uuid="b29fc2fe-c9bd-48e8-bfb8-517678a26bdf">
|
||||
<context type="sltp.mm.core.Context" uuid="3979bc55-45a3-41cb-be83-bf8aaf648dbc"/>
|
||||
<explicit>false</explicit>
|
||||
<name>Default</name>
|
||||
<priority>-2147483648</priority>
|
||||
<subgraph type="sltp.mm.core.Graph" uuid="6badd736-350a-4ab0-8ff7-784af758f947">
|
||||
<tasks type="sltp.mm.core.Task" uuid="58ed0343-a27f-4b55-9d4b-f980d18b494b">
|
||||
<baseTask>true</baseTask>
|
||||
<context type="sltp.mm.core.Context" uuid="3979bc55-45a3-41cb-be83-bf8aaf648dbc"/>
|
||||
<explicit>false</explicit>
|
||||
<id>1</id>
|
||||
<isTimed>true</isTimed>
|
||||
<name>Cont</name>
|
||||
<priority>40</priority>
|
||||
<rates type="sltp.mm.core.Rate" uuid="ec0307c6-6262-423e-9bd6-731ca0e0e622">
|
||||
<annotation>Cont</annotation>
|
||||
<color>255</color>
|
||||
<hasBlocks>true</hasBlocks>
|
||||
<identifier>Continuous00</identifier>
|
||||
<rateIndex>0</rateIndex>
|
||||
<rateSpec type="sltp.mm.core.RateSpec">
|
||||
<period>0.0</period>
|
||||
</rateSpec>
|
||||
<sti>0</sti>
|
||||
</rates>
|
||||
<rates type="sltp.mm.core.Rate" uuid="f379729b-8bfd-49fd-ab74-fc28e37715d7">
|
||||
<annotation>D1</annotation>
|
||||
<color>-12240129</color>
|
||||
<hasBlocks>true</hasBlocks>
|
||||
<rateIndex>1</rateIndex>
|
||||
<rateSpec type="sltp.mm.core.RateSpec">
|
||||
<period>.0001</period>
|
||||
</rateSpec>
|
||||
<sti>1</sti>
|
||||
</rates>
|
||||
</tasks>
|
||||
<tasks type="sltp.mm.core.Task" uuid="ca26fc33-ef47-4940-a0d0-17cee5ba0387">
|
||||
<context type="sltp.mm.core.Context" uuid="3979bc55-45a3-41cb-be83-bf8aaf648dbc"/>
|
||||
<explicit>false</explicit>
|
||||
<id>2</id>
|
||||
<isTimed>true</isTimed>
|
||||
<name>D2</name>
|
||||
<priority>39</priority>
|
||||
<rates type="sltp.mm.core.Rate" uuid="c6fc8886-6706-4f60-9b10-5879964a3bac">
|
||||
<annotation>D2</annotation>
|
||||
<color>986198527</color>
|
||||
<hasBlocks>true</hasBlocks>
|
||||
<identifier>ClassicPeriodicDiscrete0.00050</identifier>
|
||||
<rateIndex>2</rateIndex>
|
||||
<rateSpec type="sltp.mm.core.RateSpec">
|
||||
<period>.0005</period>
|
||||
</rateSpec>
|
||||
<sti>2</sti>
|
||||
</rates>
|
||||
</tasks>
|
||||
</subgraph>
|
||||
</rootTask>
|
||||
</sltpContext>
|
||||
<stateWriterToOwnerMap type="ModelRefInfoRepo.StateWriterInfo" uuid="a421e7ca-42e1-410d-8aa6-ba364f9b5573"/>
|
||||
<stoClientDataRegistry type="sto.ClientDataRegistry" uuid="8164972c-9966-4f6a-ac80-669b0d8302d0">
|
||||
<dataSets type="sto.ClientClockNamedDataSet" uuid="28500c5b-b5a5-4748-8b78-f6e55d5643dc">
|
||||
<tag>sltpEvents</tag>
|
||||
</dataSets>
|
||||
<dataSets type="sto.ClientTaskHierarchyElementNamedDataSet" uuid="6c62858c-c47b-4985-8e32-9582abd297a8">
|
||||
<tag>sltpTaskGroups</tag>
|
||||
</dataSets>
|
||||
<dataSets type="sto.ClientTaskHierarchyElementNamedDataSet" uuid="ac9e81a6-2d80-4df9-b28c-6b12d6ca576a">
|
||||
<dSet type="ModelRefInfoRepo.SltpTaskData" uuid="dee2c31b-9e8e-462f-9fa2-d640f9438902"/>
|
||||
<dSet type="ModelRefInfoRepo.SltpTaskData" uuid="92f8b47a-36a9-43b7-8bd7-897b1cafa8fb"/>
|
||||
<tSet type="ModelRefInfoRepo.SltpTaskData" uuid="dee2c31b-9e8e-462f-9fa2-d640f9438902">
|
||||
<dataName>Cont</dataName>
|
||||
<linkedSet type="sto.ClientTaskHierarchyElementNamedDataSet" uuid="ac9e81a6-2d80-4df9-b28c-6b12d6ca576a"/>
|
||||
<id type="sto.TaskHierarchyElementId">
|
||||
<clockId>VFControl::defaultTimer</clockId>
|
||||
<id>_task0</id>
|
||||
</id>
|
||||
</tSet>
|
||||
<tSet type="ModelRefInfoRepo.SltpTaskData" uuid="92f8b47a-36a9-43b7-8bd7-897b1cafa8fb">
|
||||
<dataName>D2</dataName>
|
||||
<linkedSet type="sto.ClientTaskHierarchyElementNamedDataSet" uuid="ac9e81a6-2d80-4df9-b28c-6b12d6ca576a"/>
|
||||
<id type="sto.TaskHierarchyElementId">
|
||||
<clockId>VFControl::defaultTimer</clockId>
|
||||
<id>_task1</id>
|
||||
</id>
|
||||
</tSet>
|
||||
<tag>sltpTasks</tag>
|
||||
</dataSets>
|
||||
</stoClientDataRegistry>
|
||||
<varTsUIDMap type="ModelRefInfoRepo.VarTsUIDMap" uuid="64459742-1029-4868-8ebd-dc6115f0b655"/>
|
||||
</ModelRefInfoRepo.ModelRefInfoRoot>
|
||||
</MF0>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user