Обновление платы на V2
This commit is contained in:
parent
a72f8972bb
commit
9ff5380baa
16701
HVAC_model.c
16701
HVAC_model.c
File diff suppressed because it is too large
Load Diff
3965
HVAC_model.h
3965
HVAC_model.h
File diff suppressed because it is too large
Load Diff
|
|
@ -5,7 +5,7 @@
|
|||
*
|
||||
* Model version : 1.1038
|
||||
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
|
||||
* C/C++ source code generated on : Wed Jun 3 16:29:34 2026
|
||||
* C/C++ source code generated on : Wed Jun 3 16:40:55 2026
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex-M
|
||||
|
|
@ -19,27 +19,27 @@
|
|||
|
||||
/* Invariant block signals (default storage) */
|
||||
const ConstB rtConstB = {
|
||||
/* Start of '<S996>/If Action Subsystem1' */
|
||||
/* Start of '<S1022>/If Action Subsystem1' */
|
||||
{
|
||||
{ 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S1012>/Data Type Conversion' */
|
||||
{ 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S1038>/Data Type Conversion' */
|
||||
}
|
||||
,
|
||||
|
||||
/* End of '<S996>/If Action Subsystem1' */
|
||||
/* End of '<S1022>/If Action Subsystem1' */
|
||||
|
||||
/* Start of '<S925>/If Action Subsystem1' */
|
||||
/* Start of '<S951>/If Action Subsystem1' */
|
||||
{
|
||||
{ 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S941>/Data Type Conversion' */
|
||||
{ 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S967>/Data Type Conversion' */
|
||||
}
|
||||
,
|
||||
|
||||
/* End of '<S925>/If Action Subsystem1' */
|
||||
/* End of '<S951>/If Action Subsystem1' */
|
||||
|
||||
/* Start of '<S855>/If Action Subsystem1' */
|
||||
/* Start of '<S881>/If Action Subsystem1' */
|
||||
{
|
||||
{ 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S871>/Data Type Conversion' */
|
||||
{ 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S897>/Data Type Conversion' */
|
||||
}
|
||||
/* End of '<S855>/If Action Subsystem1' */
|
||||
/* End of '<S881>/If Action Subsystem1' */
|
||||
};
|
||||
|
||||
/* Constant parameters (default storage) */
|
||||
|
|
@ -805,17 +805,17 @@ const ConstP rtConstP = {
|
|||
4052, 4056, 4060, 4064, 4068, 4072, 4076, 4080, 4084, 4088, 4092 },
|
||||
|
||||
/* Computed Parameter: DataStoreMemory13_InitialValue
|
||||
* Referenced by: '<S829>/Data Store Memory13'
|
||||
* Referenced by: '<S855>/Data Store Memory13'
|
||||
*/
|
||||
{ 1050, 1250, 1175, 1195, 1315, 1300, 1485, 1440, 1195 },
|
||||
|
||||
/* Computed Parameter: DataStoreMemory13_InitialValue_i
|
||||
* Referenced by: '<S830>/Data Store Memory13'
|
||||
* Referenced by: '<S856>/Data Store Memory13'
|
||||
*/
|
||||
{ 1225, 1320, 1270, 1540, 1480, 1175, 0, 0, 0 },
|
||||
|
||||
/* Computed Parameter: DataStoreMemory13_InitialValue_l
|
||||
* Referenced by: '<S831>/Data Store Memory13'
|
||||
* Referenced by: '<S857>/Data Store Memory13'
|
||||
*/
|
||||
{ 3075, 3075, 1605, 1840, 1650, 1635, 1820, 1650, 0 },
|
||||
|
||||
|
|
@ -921,39 +921,39 @@ const ConstP rtConstP = {
|
|||
4080U, 4084U, 4088U, 4092U },
|
||||
|
||||
/* Computed Parameter: ACT1_Value
|
||||
* Referenced by: '<S851>/ACT1'
|
||||
* Referenced by: '<S877>/ACT1'
|
||||
*/
|
||||
{ 1050U, 1250U, 1175U, 1195U, 1315U, 1300U, 1485U, 1440U, 1195U },
|
||||
|
||||
/* Computed Parameter: ACT1_Value_c
|
||||
* Referenced by: '<S921>/ACT1'
|
||||
* Referenced by: '<S947>/ACT1'
|
||||
*/
|
||||
{ 1225U, 1320U, 1270U, 1540U, 1480U, 1175U },
|
||||
|
||||
/* Computed Parameter: ACT1_Value_m
|
||||
* Referenced by: '<S992>/ACT1'
|
||||
* Referenced by: '<S1018>/ACT1'
|
||||
*/
|
||||
{ 3075U, 3075U, 1605U, 1840U, 1650U, 1635U, 1820U, 1650U },
|
||||
|
||||
/* Pooled Parameter (Expression: [1 2 3 4 5 6 7 8 9])
|
||||
* Referenced by:
|
||||
* '<S833>/Constant3'
|
||||
* '<S882>/Constant5'
|
||||
* '<S953>/Constant5'
|
||||
* '<S1024>/Constant5'
|
||||
* '<S877>/Constant5'
|
||||
* '<S947>/Constant5'
|
||||
* '<S1018>/Constant5'
|
||||
* '<S859>/Constant3'
|
||||
* '<S908>/Constant5'
|
||||
* '<S979>/Constant5'
|
||||
* '<S1050>/Constant5'
|
||||
* '<S903>/Constant5'
|
||||
* '<S973>/Constant5'
|
||||
* '<S1044>/Constant5'
|
||||
*/
|
||||
{ 1U, 2U, 3U, 4U, 5U, 6U, 7U, 8U, 9U },
|
||||
|
||||
/* Computed Parameter: Constant3_Value
|
||||
* Referenced by: '<S903>/Constant3'
|
||||
* Referenced by: '<S929>/Constant3'
|
||||
*/
|
||||
{ 1U, 2U, 3U, 4U, 5U, 6U },
|
||||
|
||||
/* Computed Parameter: Constant3_Value_d
|
||||
* Referenced by: '<S974>/Constant3'
|
||||
* Referenced by: '<S1000>/Constant3'
|
||||
*/
|
||||
{ 1U, 2U, 3U, 4U, 5U, 6U, 7U, 8U },
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
*
|
||||
* Model version : 1.1038
|
||||
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
|
||||
* C/C++ source code generated on : Wed Jun 3 16:29:34 2026
|
||||
* C/C++ source code generated on : Wed Jun 3 16:40:55 2026
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex-M
|
||||
|
|
@ -166,6 +166,15 @@ extern void u1Incartarget_p(int16_t rtu_SET, uint8_t rtu_LVL, bool
|
|||
extern void u1Incartarget_l(int16_t rtu_SET, uint8_t rtu_LVL, bool
|
||||
rtu_set_has_half, int16_t *rty_y);
|
||||
extern void correctionrate(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y);
|
||||
extern void AFforBiLevel(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void AFforDef(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void AFforFoorDef(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void AFforFoot(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void AFforHi_Level(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void AFforTriLevel(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void AFforVentmode(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void RearLeftAFmanualdirections(bool rtu_Enable, uint8_t rtu_blowerspeed,
|
||||
uint8_t rtu_faceison, uint8_t rtu_footison, uint16_t *rty_AFout);
|
||||
extern void X1X4Vtg_FX_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]);
|
||||
extern void Y1Y4Vtg_FX_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]);
|
||||
extern void Y1Y2Vtg_FL_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]);
|
||||
|
|
@ -173,10 +182,10 @@ extern void X1X2Vtg_FX_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]);
|
|||
extern void Y1Y2Vtg_FX_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]);
|
||||
extern void Vtg_FX_plus_max(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y);
|
||||
extern void Vtg_FX_plus_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y);
|
||||
extern void X1X4Vtg_FX_incar_c(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]);
|
||||
extern void Y1Y4Vtg_FX_incar_b(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]);
|
||||
extern void X1X4Vtg_FX_incar_d(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]);
|
||||
extern void Y1Y4Vtg_FX_incar_c(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]);
|
||||
extern void Y1Y2Vtg_RL_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]);
|
||||
extern void X1X2Vtg_FX_sun_j(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]);
|
||||
extern void X1X2Vtg_FX_sun_e(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]);
|
||||
extern void Y1Y2Vtg_RX_sun(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]);
|
||||
extern void Vtg_RX_plus_max(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y);
|
||||
extern void Vtg_RX_plus_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y);
|
||||
|
|
@ -190,22 +199,6 @@ extern void IfActionSubsystem1(int8_t *rty_Output, uint8_t
|
|||
rtd_ErrorActuator[9], uint8_t rtd_ErrorCalibration_private[9], const double
|
||||
*rtd_LOGGER_LIN, uint8_t rtd_MODE_private[9], uint8_t
|
||||
rtd_dtc_state_error_model[127]);
|
||||
extern void AFforBiLevel(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void AFforDef(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void AFforFoorDef(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void AFforFoot(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void AFforHi_Level(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void AFforTriLevel(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void AFforVentmode(uint8_t rtu_blower_speed, uint16_t *rty_out);
|
||||
extern void RearLeftAFmanualdirections(bool rtu_Enable, uint8_t rtu_blowerspeed,
|
||||
uint8_t rtu_faceison, uint8_t rtu_footison, uint16_t *rty_AFout);
|
||||
extern void ValvesforBiLevel(uint16_t rty_out[9]);
|
||||
extern void ValvesforDef(uint16_t rty_out[9]);
|
||||
extern void ValvesforFootDef(uint16_t rty_out[9]);
|
||||
extern void ValvesforHi_Level(uint16_t rty_out[9]);
|
||||
extern void ValvesforTriLevel(uint16_t rty_out[9]);
|
||||
extern void AFforBiLevel_m(uint16_t rty_out[6]);
|
||||
extern void valvesforVentmode(uint16_t rty_out[6]);
|
||||
extern void g_assSTART_ENTER_INCAR_j(uint8_t rtu_LVL, int16_t *rty_out);
|
||||
extern void g_assSTART_ENTER_COOLANT_p(uint8_t rtu_LVL, int16_t *rty_out);
|
||||
extern void Level4(int8_t *rty_step1, const int16_t *rtd_ECT, const uint8_t
|
||||
|
|
@ -314,6 +307,20 @@ extern void Level3_i(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t
|
|||
*rtd_Valve_2_way, const int8_t
|
||||
*rtd_step_start_controle_rear, const uint32_t *rtd_t_now,
|
||||
DW_Level3_n *localDW);
|
||||
extern void MODE_for_set_and_lvl(uint8_t rtu_LVL, int16_t rtu_SET, uint8_t
|
||||
*rty_get_mode);
|
||||
extern void increase(int16_t rtu_duct_tg, const uint16_t rtu_mode_array[7],
|
||||
uint16_t *rty_y);
|
||||
extern void decrease(int16_t rtu_duct_tg, const uint16_t rtu_mode_array[7],
|
||||
uint16_t *rty_y);
|
||||
extern void valves_rear_left(uint16_t rtu_MODE, uint16_t rty_get_valves[6]);
|
||||
extern void ValvesforBiLevel(uint16_t rty_out[9]);
|
||||
extern void ValvesforDef(uint16_t rty_out[9]);
|
||||
extern void ValvesforFootDef(uint16_t rty_out[9]);
|
||||
extern void ValvesforHi_Level(uint16_t rty_out[9]);
|
||||
extern void ValvesforTriLevel(uint16_t rty_out[9]);
|
||||
extern void AFforBiLevel_m(uint16_t rty_out[6]);
|
||||
extern void valvesforVentmode(uint16_t rty_out[6]);
|
||||
|
||||
#endif /* HVAC_model_private_h_ */
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
*
|
||||
* Model version : 1.1038
|
||||
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
|
||||
* C/C++ source code generated on : Wed Jun 3 16:29:34 2026
|
||||
* C/C++ source code generated on : Wed Jun 3 16:40:55 2026
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex-M
|
||||
|
|
|
|||
Loading…
Reference in New Issue