Обновление командировка 10.06.2026

This commit is contained in:
Дарья Бараева 2026-06-10 16:20:33 +03:00
parent 3ecba56195
commit 5abd5740d6
5 changed files with 14324 additions and 13492 deletions

20976
HVAC_model.c

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -3,9 +3,9 @@
* *
* Code generated for Simulink model 'HVAC_model'. * Code generated for Simulink model 'HVAC_model'.
* *
* Model version : 1.1066 * Model version : 1.1082
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
* C/C++ source code generated on : Mon Jun 8 14:04:15 2026 * C/C++ source code generated on : Wed Jun 10 11:23:53 2026
* *
* Target selection: ert.tlc * Target selection: ert.tlc
* Embedded hardware selection: ARM Compatible->ARM Cortex-M * Embedded hardware selection: ARM Compatible->ARM Cortex-M
@ -19,27 +19,27 @@
/* Invariant block signals (default storage) */ /* Invariant block signals (default storage) */
const ConstB rtConstB = { const ConstB rtConstB = {
/* Start of '<S1018>/If Action Subsystem1' */ /* Start of '<S1015>/If Action Subsystem1' */
{ {
{ 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S1034>/Data Type Conversion' */ { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S1031>/Data Type Conversion' */
} }
, ,
/* End of '<S1018>/If Action Subsystem1' */ /* End of '<S1015>/If Action Subsystem1' */
/* Start of '<S947>/If Action Subsystem1' */ /* Start of '<S944>/If Action Subsystem1' */
{ {
{ 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S963>/Data Type Conversion' */ { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S960>/Data Type Conversion' */
} }
, ,
/* End of '<S947>/If Action Subsystem1' */ /* End of '<S944>/If Action Subsystem1' */
/* Start of '<S877>/If Action Subsystem1' */ /* Start of '<S874>/If Action Subsystem1' */
{ {
{ 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S893>/Data Type Conversion' */ { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S890>/Data Type Conversion' */
} }
/* End of '<S877>/If Action Subsystem1' */ /* End of '<S874>/If Action Subsystem1' */
}; };
/* Constant parameters (default storage) */ /* Constant parameters (default storage) */
@ -92,8 +92,8 @@ const ConstP rtConstP = {
/* Pooled Parameter (Expression: [850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 836 818 800 784 769 754 740 727 714 702 691 680 670 659 650 640 631 622 614 606 598 590 583 575 568 561 555 548 542 536 530 524 518 512 507 501 496 491 486 481 476 471 466 462 457 453 448 444 440 436 431 427 423 420 416 412 408 405 401 397 394 390 387 384 380 377 374 370 367 364 361 358 355 352 349 346 343 340 338 335 332 329 327 324 321 319 316 314 311 309 306 304 301 299 297 294 292 289 287 285 283 280 278 276 274 272 269 267 265 263 261 259 257 255 253 251 249 247 245 243 241 239 237 235 234 232 230 228 226 224 223 221 219 217 216 214 212 210 209 207 205 204 202 200 199 197 195 194 192 191 189 187 186 184 183 181 180 178 177 175 174 172 171 169 168 166 165 163 162 161 159 158 156 155 153 152 151 149 148 147 145 144 143 141 140 139 137 136 135 133 132 131 129 128 127 126 124 123 122 121 119 118 117 116 115 113 112 111 110 109 107 106 105 104 103 101 100 99 98 97 96 95 93 92 91 90 89 88 87 86 84 83 82 81 80 79 78 77 76 75 74 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 29 28 27 26 25 24 23 22 21 20 19 18 17 17 16 15 14 13 12 11 10 9 8 8 7 6 5 4 3 2 1 0 0 0 -1 -2 -3 -4 -5 -5 -6 -7 -8 -9 -10 -11 -11 -12 -13 -14 -15 -16 -17 -17 -18 -19 -20 -21 -22 -22 -23 -24 -25 -26 -27 -27 -28 -29 -30 -31 -31 -32 -33 -34 -35 -36 -36 -37 -38 -39 -40 -40 -41 -42 -43 -44 -44 -45 -46 -47 -47 -48 -49 -50 -51 -51 -52 -53 -54 -55 -55 -56 -57 -58 -58 -59 -60 -61 -62 -62 -63 -64 -65 -65 -66 -67 -68 -68 -69 -70 -71 -71 -72 -73 -74 -74 -75 -76 -77 -77 -78 -79 -80 -80 -81 -82 -83 -83 -84 -85 -86 -86 -87 -88 -89 -89 -90 -91 -92 -92 -93 -94 -95 -95 -96 -97 -97 -98 -99 -100 -100 -101 -102 -103 -103 -104 -105 -105 -106 -107 -108 -108 -109 -110 -111 -111 -112 -113 -113 -114 -115 -116 -116 -117 -118 -118 -119 -120 -121 -121 -122 -123 -123 -124 -125 -126 -126 -127 -128 -128 -129 -130 -131 -131 -132 -133 -133 -134 -135 -136 -136 -137 -138 -138 -139 -140 -140 -141 -142 -143 -143 -144 -145 -145 -146 -147 -148 -148 -149 -150 -150 -151 -152 -152 -153 -154 -155 -155 -156 -157 -157 -158 -159 -159 -160 -161 -162 -162 -163 -164 -164 -165 -166 -166 -167 -168 -169 -169 -170 -171 -171 -172 -173 -173 -174 -175 -176 -176 -177 -178 -178 -179 -180 -180 -181 -182 -183 -183 -184 -185 -185 -186 -187 -187 -188 -189 -189 -190 -191 -192 -192 -193 -194 -194 -195 -196 -196 -197 -198 -199 -199 -200 -201 -201 -202 -203 -204 -204 -205 -206 -206 -207 -208 -208 -209 -210 -211 -211 -212 -213 -213 -214 -215 -216 -216 -217 -218 -218 -219 -220 -221 -221 -222 -223 -223 -224 -225 -226 -226 -227 -228 -228 -229 -230 -231 -231 -232 -233 -233 -234 -235 -236 -236 -237 -238 -238 -239 -240 -241 -241 -242 -243 -244 -244 -245 -246 -246 -247 -248 -249 -249 -250 -251 -252 -252 -253 -254 -255 -255 -256 -257 -257 -258 -259 -260 -260 -261 -262 -263 -263 -264 -265 -266 -266 -267 -268 -269 -269 -270 -271 -272 -272 -273 -274 -275 -275 -276 -277 -278 -279 -279 -280 -281 -282 -282 -283 -284 -285 -285 -286 -287 -288 -289 -289 -290 -291 -292 -292 -293 -294 -295 -296 -296 -297 -298 -299 -300 -300 -301 -302 -303 -304 -304 -305 -306 -307 -308 -308 -309 -310 -311 -312 -313 -313 -314 -315 -316 -317 -318 -318 -319 -320 -321 -322 -323 -323 -324 -325 -326 -327 -328 -329 -329 -330 -331 -332 -333 -334 -335 -335 -336 -337 -338 -339 -340 -341 -342 -342 -343 -344 -345 -346 -347 -348 -349 -350 -351 -351 -352 -353 -354 -355 -356 -357 -358 -359 -360 -361 -362 -363 -364 -364 -365 -366 -367 -368 -369 -370 -371 -372 -373 -374 -375 -376 -377 -378 -379 -380 -381 -382 -383 -384 -385 -386 -387 -388 -389 -390 -391 -392 -393 -394 -395 -396 -398 -399 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 /* Pooled Parameter (Expression: [850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 836 818 800 784 769 754 740 727 714 702 691 680 670 659 650 640 631 622 614 606 598 590 583 575 568 561 555 548 542 536 530 524 518 512 507 501 496 491 486 481 476 471 466 462 457 453 448 444 440 436 431 427 423 420 416 412 408 405 401 397 394 390 387 384 380 377 374 370 367 364 361 358 355 352 349 346 343 340 338 335 332 329 327 324 321 319 316 314 311 309 306 304 301 299 297 294 292 289 287 285 283 280 278 276 274 272 269 267 265 263 261 259 257 255 253 251 249 247 245 243 241 239 237 235 234 232 230 228 226 224 223 221 219 217 216 214 212 210 209 207 205 204 202 200 199 197 195 194 192 191 189 187 186 184 183 181 180 178 177 175 174 172 171 169 168 166 165 163 162 161 159 158 156 155 153 152 151 149 148 147 145 144 143 141 140 139 137 136 135 133 132 131 129 128 127 126 124 123 122 121 119 118 117 116 115 113 112 111 110 109 107 106 105 104 103 101 100 99 98 97 96 95 93 92 91 90 89 88 87 86 84 83 82 81 80 79 78 77 76 75 74 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 29 28 27 26 25 24 23 22 21 20 19 18 17 17 16 15 14 13 12 11 10 9 8 8 7 6 5 4 3 2 1 0 0 0 -1 -2 -3 -4 -5 -5 -6 -7 -8 -9 -10 -11 -11 -12 -13 -14 -15 -16 -17 -17 -18 -19 -20 -21 -22 -22 -23 -24 -25 -26 -27 -27 -28 -29 -30 -31 -31 -32 -33 -34 -35 -36 -36 -37 -38 -39 -40 -40 -41 -42 -43 -44 -44 -45 -46 -47 -47 -48 -49 -50 -51 -51 -52 -53 -54 -55 -55 -56 -57 -58 -58 -59 -60 -61 -62 -62 -63 -64 -65 -65 -66 -67 -68 -68 -69 -70 -71 -71 -72 -73 -74 -74 -75 -76 -77 -77 -78 -79 -80 -80 -81 -82 -83 -83 -84 -85 -86 -86 -87 -88 -89 -89 -90 -91 -92 -92 -93 -94 -95 -95 -96 -97 -97 -98 -99 -100 -100 -101 -102 -103 -103 -104 -105 -105 -106 -107 -108 -108 -109 -110 -111 -111 -112 -113 -113 -114 -115 -116 -116 -117 -118 -118 -119 -120 -121 -121 -122 -123 -123 -124 -125 -126 -126 -127 -128 -128 -129 -130 -131 -131 -132 -133 -133 -134 -135 -136 -136 -137 -138 -138 -139 -140 -140 -141 -142 -143 -143 -144 -145 -145 -146 -147 -148 -148 -149 -150 -150 -151 -152 -152 -153 -154 -155 -155 -156 -157 -157 -158 -159 -159 -160 -161 -162 -162 -163 -164 -164 -165 -166 -166 -167 -168 -169 -169 -170 -171 -171 -172 -173 -173 -174 -175 -176 -176 -177 -178 -178 -179 -180 -180 -181 -182 -183 -183 -184 -185 -185 -186 -187 -187 -188 -189 -189 -190 -191 -192 -192 -193 -194 -194 -195 -196 -196 -197 -198 -199 -199 -200 -201 -201 -202 -203 -204 -204 -205 -206 -206 -207 -208 -208 -209 -210 -211 -211 -212 -213 -213 -214 -215 -216 -216 -217 -218 -218 -219 -220 -221 -221 -222 -223 -223 -224 -225 -226 -226 -227 -228 -228 -229 -230 -231 -231 -232 -233 -233 -234 -235 -236 -236 -237 -238 -238 -239 -240 -241 -241 -242 -243 -244 -244 -245 -246 -246 -247 -248 -249 -249 -250 -251 -252 -252 -253 -254 -255 -255 -256 -257 -257 -258 -259 -260 -260 -261 -262 -263 -263 -264 -265 -266 -266 -267 -268 -269 -269 -270 -271 -272 -272 -273 -274 -275 -275 -276 -277 -278 -279 -279 -280 -281 -282 -282 -283 -284 -285 -285 -286 -287 -288 -289 -289 -290 -291 -292 -292 -293 -294 -295 -296 -296 -297 -298 -299 -300 -300 -301 -302 -303 -304 -304 -305 -306 -307 -308 -308 -309 -310 -311 -312 -313 -313 -314 -315 -316 -317 -318 -318 -319 -320 -321 -322 -323 -323 -324 -325 -326 -327 -328 -329 -329 -330 -331 -332 -333 -334 -335 -335 -336 -337 -338 -339 -340 -341 -342 -342 -343 -344 -345 -346 -347 -348 -349 -350 -351 -351 -352 -353 -354 -355 -356 -357 -358 -359 -360 -361 -362 -363 -364 -364 -365 -366 -367 -368 -369 -370 -371 -372 -373 -374 -375 -376 -377 -378 -379 -380 -381 -382 -383 -384 -385 -386 -387 -388 -389 -390 -391 -392 -393 -394 -395 -396 -398 -399 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400
]) ])
* Referenced by: * Referenced by:
* '<S487>/1-D Lookup Table'
* '<S488>/1-D Lookup Table' * '<S488>/1-D Lookup Table'
* '<S489>/1-D Lookup Table'
*/ */
{ 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, { 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0,
850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 836.0, 818.0, 800.0, 784.0, 769.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 836.0, 818.0, 800.0, 784.0, 769.0,
@ -200,7 +200,7 @@ const ConstP rtConstP = {
-400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0 }, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0, -400.0 },
/* Expression: [zeros(1, 85), linspace(0.268534, 390.3364, 1024-85)] /* Expression: [zeros(1, 85), linspace(0.268534, 390.3364, 1024-85)]
* Referenced by: '<S504>/1-D Lookup Table' * Referenced by: '<S505>/1-D Lookup Table'
*/ */
{ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
@ -507,10 +507,10 @@ const ConstP rtConstP = {
/* Pooled Parameter (Expression: Incar_Temp_Table) /* Pooled Parameter (Expression: Incar_Temp_Table)
* Referenced by: * Referenced by:
* '<S513>/1-D Lookup Table1'
* '<S513>/1-D Lookup Table2'
* '<S514>/1-D Lookup Table1' * '<S514>/1-D Lookup Table1'
* '<S514>/1-D Lookup Table2' * '<S514>/1-D Lookup Table2'
* '<S515>/1-D Lookup Table1'
* '<S515>/1-D Lookup Table2'
*/ */
{ 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, { 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0, 850.0,
850.0, 850.0, 850.0, 850.0, 837.0, 816.0, 797.0, 780.0, 763.0, 748.0, 733.0, 850.0, 850.0, 850.0, 850.0, 837.0, 816.0, 797.0, 780.0, 763.0, 748.0, 733.0,
@ -618,39 +618,39 @@ const ConstP rtConstP = {
/* Pooled Parameter (Expression: [17 18 19 20 21 22 23 24 25 26 27 28 29]) /* Pooled Parameter (Expression: [17 18 19 20 21 22 23 24 25 26 27 28 29])
* Referenced by: * Referenced by:
* '<S123>/Âûáîð ðåæèìà Left' * '<S124>/Âûáîð ðåæèìà Left'
* '<S123>/Âûáîð ðåæèìà Right' * '<S124>/Âûáîð ðåæèìà Right'
*/ */
{ 5U, 12U }, { 5U, 12U },
/* Computed Parameter: uDLookupTable1_bp01Data /* Computed Parameter: uDLookupTable1_bp01Data
* Referenced by: '<S92>/1-D Lookup Table1' * Referenced by: '<S93>/1-D Lookup Table1'
*/ */
{ 10, 50 }, { 10, 50 },
/* Pooled Parameter (Expression: [5, 4, 3, 2, 1, 0]) /* Pooled Parameter (Expression: [5, 4, 3, 2, 1, 0])
* Referenced by: * Referenced by:
* '<S25>/Get LVL for temp' * '<S26>/Get LVL for temp'
* '<S122>/1-D Lookup Table' * '<S123>/1-D Lookup Table'
*/ */
{ 5, 4, 3, 2, 1, 0 }, { 5, 4, 3, 2, 1, 0 },
/* Computed Parameter: GetLVLfortemp_bp01Data /* Computed Parameter: GetLVLfortemp_bp01Data
* Referenced by: '<S25>/Get LVL for temp' * Referenced by: '<S26>/Get LVL for temp'
*/ */
{ -1000, -50, -10, 5, 20, 65 }, { -1000, -50, -10, 5, 20, 65 },
/* Pooled Parameter (Expression: [0;1;2;3;4;5]) /* Pooled Parameter (Expression: [0;1;2;3;4;5])
* Referenced by: * Referenced by:
* '<S123>/Âûáîð ðåæèìà Left' * '<S124>/Âûáîð ðåæèìà Left'
* '<S123>/Âûáîð ðåæèìà Right' * '<S124>/Âûáîð ðåæèìà Right'
*/ */
{ 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 }, { 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 },
/* Pooled Parameter (Expression: [850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 848 845 841 838 834 831 827 824 821 818 814 811 808 805 802 799 796 793 790 787 784 781 778 775 772 769 767 764 761 758 756 753 750 748 745 742 740 737 735 732 730 727 725 722 720 717 715 713 710 708 706 703 701 699 696 694 692 690 688 685 683 681 679 677 675 673 670 668 666 664 662 660 658 656 654 652 650 648 646 644 642 640 638 637 635 633 631 629 627 625 624 622 620 618 616 614 613 611 609 607 606 604 602 600 599 597 595 594 592 590 589 587 585 584 582 580 579 577 576 574 572 571 569 568 566 564 563 561 560 558 557 555 554 552 551 549 548 546 545 543 542 540 539 537 536 534 533 532 530 529 527 526 524 523 522 520 519 517 516 515 513 512 511 509 508 507 505 504 503 501 500 499 497 496 495 493 492 491 489 488 487 485 484 483 482 480 479 478 477 475 474 473 472 470 469 468 467 465 464 463 462 460 459 458 457 456 454 453 452 451 450 448 447 446 445 444 442 441 440 439 438 437 435 434 433 432 431 430 429 427 426 425 424 423 422 421 420 418 417 416 415 414 413 412 411 410 408 407 406 405 404 403 402 401 400 399 398 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 381 380 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 325 324 324 323 322 321 320 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 291 290 289 288 287 286 285 284 283 282 281 280 279 279 278 277 276 275 274 273 272 271 270 269 268 268 267 266 265 264 263 262 261 260 259 259 258 257 256 255 254 253 252 251 250 250 249 248 247 246 245 244 243 242 241 241 240 239 238 237 236 235 234 233 233 232 231 230 229 228 227 226 225 224 224 223 222 221 220 219 218 217 217 216 215 214 213 212 211 210 209 209 208 207 206 205 204 203 202 201 201 200 199 198 197 196 195 194 194 193 192 191 190 189 188 187 186 186 185 184 183 182 181 180 179 179 178 177 176 175 174 173 172 171 171 170 169 168 167 166 165 164 163 163 162 161 160 159 158 157 156 155 155 154 153 152 151 150 149 148 147 147 146 145 144 143 142 141 140 139 139 138 137 136 135 134 133 132 131 130 130 129 128 127 126 125 124 123 122 121 121 120 119 118 117 116 115 114 113 112 112 111 110 109 108 107 106 105 104 103 102 101 101 100 99 98 97 96 95 94 93 92 91 90 89 88 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 3 2 1 0 0 -1 -2 -3 -4 -5 -6 -7 -9 -10 -11 -12 -13 -14 -15 -16 -17 -19 -20 -21 -22 -23 -24 -25 -26 -28 -29 -30 -31 -32 -33 -34 -36 -37 -38 -39 -40 -42 -43 -44 -45 -46 -47 -49 -50 -51 -52 -54 -55 -56 -57 -58 -60 -61 -62 -63 -65 -66 -67 -68 -70 -71 -72 -74 -75 -76 -77 -79 -80 -81 -83 -84 -85 -87 -88 -89 -91 -92 -93 -95 -96 -98 -99 -100 -102 -103 -105 -106 -108 -109 -110 -112 -113 -115 -116 -118 -119 -121 -122 -124 -125 -127 -128 -130 -131 -133 -134 -136 -138 -139 -141 -142 -144 -146 -147 -149 -151 -152 -154 -156 -157 -159 -161 -162 -164 -166 -168 -169 -171 -173 -175 -177 -179 -180 -182 -184 -186 -188 -190 -192 -194 -196 -198 -200 -202 -204 -206 -208 -210 -212 -214 -216 -218 -221 -223 -225 -227 -229 -232 -234 -236 -239 -241 -243 -246 -248 -251 -253 -256 -258 -261 -264 -266 -269 -272 -275 -277 -280 -283 -286 -289 -292 -295 -298 -301 -304 -308 -311 -314 -318 -321 -325 -328 -332 -336 -339 -343 -347 -351 -355 -359 -364 -368 -373 -377 -382 -387 -392 -397 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400]) /* Pooled Parameter (Expression: [850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 850 848 845 841 838 834 831 827 824 821 818 814 811 808 805 802 799 796 793 790 787 784 781 778 775 772 769 767 764 761 758 756 753 750 748 745 742 740 737 735 732 730 727 725 722 720 717 715 713 710 708 706 703 701 699 696 694 692 690 688 685 683 681 679 677 675 673 670 668 666 664 662 660 658 656 654 652 650 648 646 644 642 640 638 637 635 633 631 629 627 625 624 622 620 618 616 614 613 611 609 607 606 604 602 600 599 597 595 594 592 590 589 587 585 584 582 580 579 577 576 574 572 571 569 568 566 564 563 561 560 558 557 555 554 552 551 549 548 546 545 543 542 540 539 537 536 534 533 532 530 529 527 526 524 523 522 520 519 517 516 515 513 512 511 509 508 507 505 504 503 501 500 499 497 496 495 493 492 491 489 488 487 485 484 483 482 480 479 478 477 475 474 473 472 470 469 468 467 465 464 463 462 460 459 458 457 456 454 453 452 451 450 448 447 446 445 444 442 441 440 439 438 437 435 434 433 432 431 430 429 427 426 425 424 423 422 421 420 418 417 416 415 414 413 412 411 410 408 407 406 405 404 403 402 401 400 399 398 396 395 394 393 392 391 390 389 388 387 386 385 384 383 382 381 380 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 325 324 324 323 322 321 320 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 291 290 289 288 287 286 285 284 283 282 281 280 279 279 278 277 276 275 274 273 272 271 270 269 268 268 267 266 265 264 263 262 261 260 259 259 258 257 256 255 254 253 252 251 250 250 249 248 247 246 245 244 243 242 241 241 240 239 238 237 236 235 234 233 233 232 231 230 229 228 227 226 225 224 224 223 222 221 220 219 218 217 217 216 215 214 213 212 211 210 209 209 208 207 206 205 204 203 202 201 201 200 199 198 197 196 195 194 194 193 192 191 190 189 188 187 186 186 185 184 183 182 181 180 179 179 178 177 176 175 174 173 172 171 171 170 169 168 167 166 165 164 163 163 162 161 160 159 158 157 156 155 155 154 153 152 151 150 149 148 147 147 146 145 144 143 142 141 140 139 139 138 137 136 135 134 133 132 131 130 130 129 128 127 126 125 124 123 122 121 121 120 119 118 117 116 115 114 113 112 112 111 110 109 108 107 106 105 104 103 102 101 101 100 99 98 97 96 95 94 93 92 91 90 89 88 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 3 2 1 0 0 -1 -2 -3 -4 -5 -6 -7 -9 -10 -11 -12 -13 -14 -15 -16 -17 -19 -20 -21 -22 -23 -24 -25 -26 -28 -29 -30 -31 -32 -33 -34 -36 -37 -38 -39 -40 -42 -43 -44 -45 -46 -47 -49 -50 -51 -52 -54 -55 -56 -57 -58 -60 -61 -62 -63 -65 -66 -67 -68 -70 -71 -72 -74 -75 -76 -77 -79 -80 -81 -83 -84 -85 -87 -88 -89 -91 -92 -93 -95 -96 -98 -99 -100 -102 -103 -105 -106 -108 -109 -110 -112 -113 -115 -116 -118 -119 -121 -122 -124 -125 -127 -128 -130 -131 -133 -134 -136 -138 -139 -141 -142 -144 -146 -147 -149 -151 -152 -154 -156 -157 -159 -161 -162 -164 -166 -168 -169 -171 -173 -175 -177 -179 -180 -182 -184 -186 -188 -190 -192 -194 -196 -198 -200 -202 -204 -206 -208 -210 -212 -214 -216 -218 -221 -223 -225 -227 -229 -232 -234 -236 -239 -241 -243 -246 -248 -251 -253 -256 -258 -261 -264 -266 -269 -272 -275 -277 -280 -283 -286 -289 -292 -295 -298 -301 -304 -308 -311 -314 -318 -321 -325 -328 -332 -336 -339 -343 -347 -351 -355 -359 -364 -368 -373 -377 -382 -387 -392 -397 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400 -400])
* Referenced by: * Referenced by:
* '<S505>/1-D Lookup Table7' * '<S506>/1-D Lookup Table7'
* '<S512>/1-D Lookup Table4' * '<S513>/1-D Lookup Table4'
*/ */
{ 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, { 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850,
850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850, 850,
@ -724,8 +724,8 @@ const ConstP rtConstP = {
/* Pooled Parameter (Expression: [0:4:4095]) /* Pooled Parameter (Expression: [0:4:4095])
* Referenced by: * Referenced by:
* '<S505>/1-D Lookup Table7' * '<S506>/1-D Lookup Table7'
* '<S512>/1-D Lookup Table4' * '<S513>/1-D Lookup Table4'
*/ */
{ 0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, { 0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76,
80, 84, 88, 92, 96, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 80, 84, 88, 92, 96, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140,
@ -805,29 +805,29 @@ const ConstP rtConstP = {
4052, 4056, 4060, 4064, 4068, 4072, 4076, 4080, 4084, 4088, 4092 }, 4052, 4056, 4060, 4064, 4068, 4072, 4076, 4080, 4084, 4088, 4092 },
/* Computed Parameter: DataStoreMemory13_InitialValue /* Computed Parameter: DataStoreMemory13_InitialValue
* Referenced by: '<S851>/Data Store Memory13' * Referenced by: '<S848>/Data Store Memory13'
*/ */
{ 1050, 1250, 1175, 1195, 1315, 1300, 1485, 1440, 1195 }, { 1050, 1250, 1175, 1195, 1315, 1300, 1485, 1440, 1195 },
/* Computed Parameter: DataStoreMemory13_InitialValue_i /* Computed Parameter: DataStoreMemory13_InitialValue_i
* Referenced by: '<S852>/Data Store Memory13' * Referenced by: '<S849>/Data Store Memory13'
*/ */
{ 1225, 1320, 1270, 1540, 1480, 1175, 0, 0, 0 }, { 1225, 1320, 1270, 1540, 1480, 1175, 0, 0, 0 },
/* Computed Parameter: DataStoreMemory13_InitialValue_l /* Computed Parameter: DataStoreMemory13_InitialValue_l
* Referenced by: '<S853>/Data Store Memory13' * Referenced by: '<S850>/Data Store Memory13'
*/ */
{ 3075, 3075, 1605, 1840, 1650, 1635, 1820, 1650, 0 }, { 3075, 3075, 1605, 1840, 1650, 1635, 1820, 1650, 0 },
/* Pooled Parameter (Expression: [0:4:4092]) /* Pooled Parameter (Expression: [0:4:4092])
* Referenced by: * Referenced by:
* '<S487>/1-D Lookup Table'
* '<S488>/1-D Lookup Table' * '<S488>/1-D Lookup Table'
* '<S504>/1-D Lookup Table' * '<S489>/1-D Lookup Table'
* '<S513>/1-D Lookup Table1' * '<S505>/1-D Lookup Table'
* '<S513>/1-D Lookup Table2'
* '<S514>/1-D Lookup Table1' * '<S514>/1-D Lookup Table1'
* '<S514>/1-D Lookup Table2' * '<S514>/1-D Lookup Table2'
* '<S515>/1-D Lookup Table1'
* '<S515>/1-D Lookup Table2'
*/ */
{ 0U, 4U, 8U, 12U, 16U, 20U, 24U, 28U, 32U, 36U, 40U, 44U, 48U, 52U, 56U, 60U, { 0U, 4U, 8U, 12U, 16U, 20U, 24U, 28U, 32U, 36U, 40U, 44U, 48U, 52U, 56U, 60U,
64U, 68U, 72U, 76U, 80U, 84U, 88U, 92U, 96U, 100U, 104U, 108U, 112U, 116U, 64U, 68U, 72U, 76U, 80U, 84U, 88U, 92U, 96U, 100U, 104U, 108U, 112U, 116U,
@ -921,46 +921,46 @@ const ConstP rtConstP = {
4080U, 4084U, 4088U, 4092U }, 4080U, 4084U, 4088U, 4092U },
/* Computed Parameter: ACT1_Value /* Computed Parameter: ACT1_Value
* Referenced by: '<S873>/ACT1' * Referenced by: '<S870>/ACT1'
*/ */
{ 1050U, 1250U, 1175U, 1195U, 1315U, 1300U, 1485U, 1440U, 1195U }, { 1050U, 1250U, 1175U, 1195U, 1315U, 1300U, 1485U, 1440U, 1195U },
/* Computed Parameter: ACT1_Value_c /* Computed Parameter: ACT1_Value_c
* Referenced by: '<S943>/ACT1' * Referenced by: '<S940>/ACT1'
*/ */
{ 1225U, 1320U, 1270U, 1540U, 1480U, 1175U }, { 1225U, 1320U, 1270U, 1540U, 1480U, 1175U },
/* Computed Parameter: ACT1_Value_m /* Computed Parameter: ACT1_Value_m
* Referenced by: '<S1014>/ACT1' * Referenced by: '<S1011>/ACT1'
*/ */
{ 3075U, 3075U, 1605U, 1840U, 1650U, 1635U, 1820U, 1650U }, { 3075U, 3075U, 1605U, 1840U, 1650U, 1635U, 1820U, 1650U },
/* Pooled Parameter (Expression: [1 2 3 4 5 6 7 8 9]) /* Pooled Parameter (Expression: [1 2 3 4 5 6 7 8 9])
* Referenced by: * Referenced by:
* '<S855>/Constant3' * '<S852>/Constant3'
* '<S904>/Constant5' * '<S901>/Constant5'
* '<S975>/Constant5' * '<S972>/Constant5'
* '<S1046>/Constant5' * '<S1043>/Constant5'
* '<S899>/Constant5' * '<S896>/Constant5'
* '<S969>/Constant5' * '<S966>/Constant5'
* '<S1040>/Constant5' * '<S1037>/Constant5'
*/ */
{ 1U, 2U, 3U, 4U, 5U, 6U, 7U, 8U, 9U }, { 1U, 2U, 3U, 4U, 5U, 6U, 7U, 8U, 9U },
/* Computed Parameter: Constant3_Value /* Computed Parameter: Constant3_Value
* Referenced by: '<S925>/Constant3' * Referenced by: '<S922>/Constant3'
*/ */
{ 1U, 2U, 3U, 4U, 5U, 6U }, { 1U, 2U, 3U, 4U, 5U, 6U },
/* Computed Parameter: Constant3_Value_d /* Computed Parameter: Constant3_Value_d
* Referenced by: '<S996>/Constant3' * Referenced by: '<S993>/Constant3'
*/ */
{ 1U, 2U, 3U, 4U, 5U, 6U, 7U, 8U }, { 1U, 2U, 3U, 4U, 5U, 6U, 7U, 8U },
/* Pooled Parameter (Expression: ) /* Pooled Parameter (Expression: )
* Referenced by: * Referenced by:
* '<S123>/Âûáîð ðåæèìà Left' * '<S124>/Âûáîð ðåæèìà Left'
* '<S123>/Âûáîð ðåæèìà Right' * '<S124>/Âûáîð ðåæèìà Right'
*/ */
{ 0U, 1U, 2U, 3U, 4U, 5U } { 0U, 1U, 2U, 3U, 4U, 5U }
}; };

View File

@ -3,9 +3,9 @@
* *
* Code generated for Simulink model 'HVAC_model'. * Code generated for Simulink model 'HVAC_model'.
* *
* Model version : 1.1066 * Model version : 1.1082
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
* C/C++ source code generated on : Mon Jun 8 14:04:15 2026 * C/C++ source code generated on : Wed Jun 10 11:23:53 2026
* *
* Target selection: ert.tlc * Target selection: ert.tlc
* Embedded hardware selection: ARM Compatible->ARM Cortex-M * Embedded hardware selection: ARM Compatible->ARM Cortex-M
@ -177,6 +177,7 @@ 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 AFforVentmode(uint8_t rtu_blower_speed, uint16_t *rty_out);
extern void RearLeftAFmanualdirections(bool rtu_Enable, uint8_t rtu_blowerspeed, extern void RearLeftAFmanualdirections(bool rtu_Enable, uint8_t rtu_blowerspeed,
uint8_t rtu_faceison, uint8_t rtu_footison, uint16_t *rty_AFout); uint8_t rtu_faceison, uint8_t rtu_footison, uint16_t *rty_AFout);
extern void funcg_ascAUTO_STEP_AF_F(int8_t rtu_AF_STEP, int8_t *rty_y);
extern void X1X4Vtg_FX_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]); 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 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]); extern void Y1Y2Vtg_FL_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]);
@ -184,10 +185,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 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_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 Vtg_FX_plus_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y);
extern void X1X4Vtg_FX_incar_d(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]); extern void X1X4Vtg_FX_incar_o(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 Y1Y4Vtg_FX_incar_o(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 Y1Y2Vtg_RL_amb(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 X1X2Vtg_FX_sun_p(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 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_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); extern void Vtg_RX_plus_min(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y);
@ -321,8 +322,15 @@ extern void ValvesforDef(uint16_t rty_out[9]);
extern void ValvesforFootDef(uint16_t rty_out[9]); extern void ValvesforFootDef(uint16_t rty_out[9]);
extern void ValvesforHi_Level(uint16_t rty_out[9]); extern void ValvesforHi_Level(uint16_t rty_out[9]);
extern void ValvesforTriLevel(uint16_t rty_out[9]); extern void ValvesforTriLevel(uint16_t rty_out[9]);
extern void AFforBiLevel_m(uint16_t rty_out[6]); extern void AFforBiLevel_a(uint16_t rty_out[6]);
extern void valvesforVentmode(uint16_t rty_out[6]); extern void valvesforVentmode(uint16_t rty_out[6]);
extern void Zone_Climate_Logic_Auto_FL_Init(uint8_t *rty_out_def, uint8_t
*rty_out_face, uint8_t *rty_out_foot, uint8_t *rty_out_auto,
DW_Zone_Climate_Logic_Auto_FL *localDW);
extern void Zone_Climate_Logic_Auto_FL(uint8_t rtu_btn_def, uint8_t rtu_btn_face,
uint8_t rtu_btn_foot, uint8_t rtu_btn_auto, uint8_t *rty_out_def, uint8_t
*rty_out_face, uint8_t *rty_out_foot, uint8_t *rty_out_auto,
DW_Zone_Climate_Logic_Auto_FL *localDW);
#endif /* HVAC_model_private_h_ */ #endif /* HVAC_model_private_h_ */

View File

@ -3,9 +3,9 @@
* *
* Code generated for Simulink model 'HVAC_model'. * Code generated for Simulink model 'HVAC_model'.
* *
* Model version : 1.1066 * Model version : 1.1082
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
* C/C++ source code generated on : Mon Jun 8 14:04:15 2026 * C/C++ source code generated on : Wed Jun 10 11:23:53 2026
* *
* Target selection: ert.tlc * Target selection: ert.tlc
* Embedded hardware selection: ARM Compatible->ARM Cortex-M * Embedded hardware selection: ARM Compatible->ARM Cortex-M
@ -637,6 +637,19 @@ typedef struct {
#endif #endif
#ifndef DEFINED_TYPEDEF_FOR_CCUCAN_OCURL_MSG_Bus_
#define DEFINED_TYPEDEF_FOR_CCUCAN_OCURL_MSG_Bus_
typedef struct {
uint8_t OCURL_OccupantWeight_Stat;
uint8_t OCURL_SeatOccupied_Stat;
uint8_t OCURL_SensorError_Stat;
uint8_t OCURL_MSG_RC;
uint8_t OCURL_MSG_CS;
} CCUCAN_OCURL_MSG_Bus;
#endif
#ifndef DEFINED_TYPEDEF_FOR_CmdBusADCData_ #ifndef DEFINED_TYPEDEF_FOR_CmdBusADCData_
#define DEFINED_TYPEDEF_FOR_CmdBusADCData_ #define DEFINED_TYPEDEF_FOR_CmdBusADCData_