Обновление 23.06.2026

This commit is contained in:
Дарья Бараева 2026-06-23 17:43:19 +03:00
parent 5abd5740d6
commit df061b9a48
5 changed files with 19420 additions and 16632 deletions

28038
HVAC_model.c Normal file → Executable file

File diff suppressed because it is too large Load Diff

7558
HVAC_model.h Normal file → Executable file

File diff suppressed because it is too large Load Diff

116
HVAC_model_data.c Normal file → Executable file
View File

@ -3,9 +3,9 @@
* *
* Code generated for Simulink model 'HVAC_model'. * Code generated for Simulink model 'HVAC_model'.
* *
* Model version : 1.1082 * Model version : 1.1128
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
* C/C++ source code generated on : Wed Jun 10 11:23:53 2026 * C/C++ source code generated on : Tue Jun 23 15:07:47 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 '<S1015>/If Action Subsystem1' */ /* Start of '<S1682>/If Action Subsystem1' */
{ {
{ 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S1031>/Data Type Conversion' */ { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S1698>/Data Type Conversion' */
} }
, ,
/* End of '<S1015>/If Action Subsystem1' */ /* End of '<S1682>/If Action Subsystem1' */
/* Start of '<S944>/If Action Subsystem1' */ /* Start of '<S1611>/If Action Subsystem1' */
{ {
{ 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S960>/Data Type Conversion' */ { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S1627>/Data Type Conversion' */
} }
, ,
/* End of '<S944>/If Action Subsystem1' */ /* End of '<S1611>/If Action Subsystem1' */
/* Start of '<S874>/If Action Subsystem1' */ /* Start of '<S1541>/If Action Subsystem1' */
{ {
{ 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S890>/Data Type Conversion' */ { 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U }/* '<S1557>/Data Type Conversion' */
} }
/* End of '<S874>/If Action Subsystem1' */ /* End of '<S1541>/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:
* '<S488>/1-D Lookup Table' * '<S910>/1-D Lookup Table'
* '<S489>/1-D Lookup Table' * '<S911>/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: '<S505>/1-D Lookup Table' * Referenced by: '<S927>/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:
* '<S514>/1-D Lookup Table1' * '<S936>/1-D Lookup Table1'
* '<S514>/1-D Lookup Table2' * '<S936>/1-D Lookup Table2'
* '<S515>/1-D Lookup Table1' * '<S937>/1-D Lookup Table1'
* '<S515>/1-D Lookup Table2' * '<S937>/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,34 @@ 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:
* '<S124>/Âûáîð ðåæèìà Left' * '<S26>/Âûáîð ðåæèìà Left'
* '<S124>/Âûáîð ðåæèìà Right' * '<S26>/Âûáîð ðåæèìà Right'
*/ */
{ 5U, 12U }, { 5U, 12U },
/* Computed Parameter: uDLookupTable1_bp01Data
* Referenced by: '<S93>/1-D Lookup Table1'
*/
{ 10, 50 },
/* Pooled Parameter (Expression: [5, 4, 3, 2, 1, 0]) /* Pooled Parameter (Expression: [5, 4, 3, 2, 1, 0])
* Referenced by: * Referenced by:
* '<S26>/Get LVL for temp' * '<S25>/1-D Lookup Table'
* '<S123>/1-D Lookup Table' * '<S1406>/Get LVL for temp'
*/ */
{ 5, 4, 3, 2, 1, 0 }, { 5, 4, 3, 2, 1, 0 },
/* Computed Parameter: GetLVLfortemp_bp01Data /* Computed Parameter: GetLVLfortemp_bp01Data
* Referenced by: '<S26>/Get LVL for temp' * Referenced by: '<S1406>/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:
* '<S124>/Âûáîð ðåæèìà Left' * '<S26>/Âûáîð ðåæèìà Left'
* '<S124>/Âûáîð ðåæèìà Right' * '<S26>/Âûáîð ðåæèìà 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:
* '<S506>/1-D Lookup Table7' * '<S928>/1-D Lookup Table7'
* '<S513>/1-D Lookup Table4' * '<S935>/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 +719,8 @@ const ConstP rtConstP = {
/* Pooled Parameter (Expression: [0:4:4095]) /* Pooled Parameter (Expression: [0:4:4095])
* Referenced by: * Referenced by:
* '<S506>/1-D Lookup Table7' * '<S928>/1-D Lookup Table7'
* '<S513>/1-D Lookup Table4' * '<S935>/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 +800,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: '<S848>/Data Store Memory13' * Referenced by: '<S1515>/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: '<S849>/Data Store Memory13' * Referenced by: '<S1516>/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: '<S850>/Data Store Memory13' * Referenced by: '<S1517>/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:
* '<S488>/1-D Lookup Table' * '<S910>/1-D Lookup Table'
* '<S489>/1-D Lookup Table' * '<S911>/1-D Lookup Table'
* '<S505>/1-D Lookup Table' * '<S927>/1-D Lookup Table'
* '<S514>/1-D Lookup Table1' * '<S936>/1-D Lookup Table1'
* '<S514>/1-D Lookup Table2' * '<S936>/1-D Lookup Table2'
* '<S515>/1-D Lookup Table1' * '<S937>/1-D Lookup Table1'
* '<S515>/1-D Lookup Table2' * '<S937>/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,
@ -920,47 +915,52 @@ const ConstP rtConstP = {
4036U, 4040U, 4044U, 4048U, 4052U, 4056U, 4060U, 4064U, 4068U, 4072U, 4076U, 4036U, 4040U, 4044U, 4048U, 4052U, 4056U, 4060U, 4064U, 4068U, 4072U, 4076U,
4080U, 4084U, 4088U, 4092U }, 4080U, 4084U, 4088U, 4092U },
/* Computed Parameter: uDLookupTable1_bp01Data
* Referenced by: '<S1473>/1-D Lookup Table1'
*/
{ 10U, 50U },
/* Computed Parameter: ACT1_Value /* Computed Parameter: ACT1_Value
* Referenced by: '<S870>/ACT1' * Referenced by: '<S1537>/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: '<S940>/ACT1' * Referenced by: '<S1607>/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: '<S1011>/ACT1' * Referenced by: '<S1678>/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:
* '<S852>/Constant3' * '<S1519>/Constant3'
* '<S901>/Constant5' * '<S1568>/Constant5'
* '<S972>/Constant5' * '<S1639>/Constant5'
* '<S1043>/Constant5' * '<S1710>/Constant5'
* '<S896>/Constant5' * '<S1563>/Constant5'
* '<S966>/Constant5' * '<S1633>/Constant5'
* '<S1037>/Constant5' * '<S1704>/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: '<S922>/Constant3' * Referenced by: '<S1589>/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: '<S993>/Constant3' * Referenced by: '<S1660>/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:
* '<S124>/Âûáîð ðåæèìà Left' * '<S26>/Âûáîð ðåæèìà Left'
* '<S124>/Âûáîð ðåæèìà Right' * '<S26>/Âûáîð ðåæèìà Right'
*/ */
{ 0U, 1U, 2U, 3U, 4U, 5U } { 0U, 1U, 2U, 3U, 4U, 5U }
}; };

302
HVAC_model_private.h Normal file → Executable file
View File

@ -3,9 +3,9 @@
* *
* Code generated for Simulink model 'HVAC_model'. * Code generated for Simulink model 'HVAC_model'.
* *
* Model version : 1.1082 * Model version : 1.1128
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
* C/C++ source code generated on : Wed Jun 10 11:23:53 2026 * C/C++ source code generated on : Tue Jun 23 15:07:47 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
@ -91,26 +91,16 @@ extern int16_t look1_is16bdlu64n48Ds32_binlcn(int16_t u0, const double bp0[],
extern uint8_t look2_iu8bu8s16lu64n32_binlcse(uint8_t u0, uint8_t u1, const extern uint8_t look2_iu8bu8s16lu64n32_binlcse(uint8_t u0, uint8_t u1, const
uint8_t bp0[], const int16_t bp1[], const uint8_t table[], const uint32_t uint8_t bp0[], const int16_t bp1[], const uint8_t table[], const uint32_t
maxIndex[], uint32_t stride); maxIndex[], uint32_t stride);
extern uint8_t look1_iu16lu64n48tu8_binlcse(uint16_t u0, const uint16_t bp0[],
const uint8_t table[], uint32_t maxIndex);
extern int16_t look1_iu16tdIs16_binlcs(uint16_t u0, const uint16_t bp0[], const extern int16_t look1_iu16tdIs16_binlcs(uint16_t u0, const uint16_t bp0[], const
double table[], uint32_t maxIndex); double table[], uint32_t maxIndex);
extern double look1_is16td_binlc(int16_t u0, const int16_t bp0[], const double extern double look1_iu16td_binlc(uint16_t u0, const uint16_t bp0[], const double
table[], uint32_t maxIndex); table[], uint32_t maxIndex);
extern int16_t look1_iu16bs16lu64n32ts16Ds32_binlcs(uint16_t u0, const int16_t extern int16_t look1_iu16bs16lu64n32ts16Ds32_binlcs(uint16_t u0, const int16_t
bp0[], const int16_t table[], uint32_t maxIndex); bp0[], const int16_t table[], uint32_t maxIndex);
extern uint32_t plook_u32s16_bincka(int16_t u_8, const int16_t bp[], uint32_t extern uint32_t plook_u32s16_bincka(int16_t u_8, const int16_t bp[], uint32_t
maxIndex); maxIndex);
extern void u(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_FALLING);
extern void u_d(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const
double *rtd_AMB_store, double *rtd_KEEP_FALLING_UNTIL_LIMIT);
extern void u_c(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_riseperminute,
const double *rtd_AMB_store, double
*rtd_KEEP_FALLING_UNTIL_LIMIT);
extern void u_b(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING);
extern void u_g(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING_DIFF_LVL);
extern void u_h(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const
double *rtd_AMB_store, double *rtd_KEEP_RISING_UNTIL_LIMIT);
extern void u_a(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_riseperminute,
const double *rtd_AMB_store, double *rtd_KEEP_RISING_UNTIL_LIMIT);
extern void get_tg_FLL_for_LVL(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp, extern void get_tg_FLL_for_LVL(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp,
int16_t *rty_vals); int16_t *rty_vals);
extern void get_tg_FLL_for_LVL_j(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp, extern void get_tg_FLL_for_LVL_j(uint8_t rtu_ambient_Lvl, uint8_t rtu_set_tmp,
@ -134,10 +124,119 @@ extern void g_aucFLOW_AFSM_FOOT_VALVE_MAX_f(uint8_t rtu_LVL, uint8_t
extern void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1 extern void Afoot_Summer(int16_t rtu_Amb_Fb, uint8_t rtu_LVL, uint16_t rty_Out1
[9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR); [9], uint8_t rtu_setTempFL, uint8_t rtu_setTempFR);
extern void left(uint8_t rtu_idx, uint16_t rty_vals[9]); extern void left(uint8_t rtu_idx, uint16_t rty_vals[9]);
extern void g_assSTART_ENTER_INCAR_f(uint8_t rtu_LVL, int16_t *rty_out);
extern void Level2(int8_t *rty_step);
extern void g_assSTART_ENTER_COOLANT_j(uint8_t rtu_LVL, int16_t *rty_out);
extern void Level4(int8_t *rty_step1, const uint8_t *rtd_CCU_MODE_FL, const
int16_t *rtd_ECT, const uint8_t *rtd_LEVEL, const uint8_t
*rtd_LO_HI_MODE_FL);
extern void Level0(int8_t *rty_step);
extern void incarfilterdown(uint8_t rtu_LVL, uint8_t *rty_out);
extern void incarfilterup(uint8_t rtu_LVL, uint8_t *rty_out);
extern void g_assSTART_COOLANT_STEP0_TO_1_a(uint8_t rtu_LVL, int16_t *rty_out);
extern void uwayvalvestatus(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Dtg_FrontLower_X(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Dtg_FrontUpper_X(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Incartempgotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out);
extern void blowerFR(uint8_t rtu_LVL, uint16_t *rty_out);
extern void modeFRstep1(uint8_t rtu_LVL, uint8_t *rty_out);
extern void windowheating(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Timegotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out);
extern void ECTminmax(uint8_t rtu_LVL, int16_t rty_out[2]);
extern void blowerminmax(uint8_t rtu_LVL, uint16_t rty_out[2]);
extern void Level4_h(int8_t *rty_step, uint16_t *rtd_Blower_FL, uint16_t
*rtd_Blower_FR, uint8_t *rtd_Dtg_FLL, uint8_t *rtd_Dtg_FLR,
uint8_t *rtd_Dtg_FUL, uint8_t *rtd_Dtg_FUR, const int16_t
*rtd_ECT, uint8_t *rtd_El_window_heating, const int16_t
*rtd_Incar_FL, uint8_t *rtd_Incar_filter_down_value,
uint8_t *rtd_Incar_filter_up_value, const uint8_t
*rtd_LEVEL, uint8_t *rtd_Mode_FL, uint8_t *rtd_Mode_FR,
double *rtd_Recirculation, uint8_t *rtd_Valve_3_way, const
int8_t *rtd_step_start_controle_front, const uint32_t
*rtd_t_now, DW_Level4_o *localDW);
extern void uwayvalvestatus_j(uint8_t rtu_LVL, uint8_t *rty_out);
extern void timeforstep(uint8_t rtu_LVL, uint8_t *rty_out);
extern void timeforstep_c(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Timegotofromstep2tostep3(uint8_t rtu_LVL, int16_t *rty_out);
extern void blowerstep(uint8_t rtu_LVL, uint16_t *rty_out);
extern void blowertimeforstep(uint8_t rtu_LVL, uint16_t *rty_out);
extern void step_h(uint8_t rtu_LVL, uint8_t *rty_out);
extern void timeforstep_p(uint8_t rtu_LVL, uint8_t *rty_out);
extern void windowheating_e(uint8_t rtu_LVL, uint8_t *rty_out);
extern void autodemistautodefog(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint16_t
*rtd_Blower_FL, uint16_t *rtd_Blower_FR, const uint16_t
*rtd_Blower_logic_FL, uint8_t *rtd_Dtg_FLL, uint8_t
*rtd_Dtg_FLR, uint8_t *rtd_Dtg_FUL, uint8_t *rtd_Dtg_FUR,
const uint8_t *rtd_Dtg_logic_FLL, const uint8_t
*rtd_Dtg_logic_FUL, uint8_t *rtd_El_window_heating, const
bool *rtd_HI_logic_on, uint8_t *rtd_Incar_filter_down_value,
uint8_t *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL,
uint8_t *rtd_Mode_FL, uint8_t *rtd_Mode_FR, const uint8_t
*rtd_Mode_logic_FL, double *rtd_Recirculation, uint8_t
*rtd_Valve_3_way, const int8_t *rtd_step_start_controle_front,
const uint32_t *rtd_t_now, DW_Level3 *localDW);
extern void g_ausSTART_ENTER_SETTEMP_m(uint8_t rtu_LVL, int16_t *rty_out);
extern void g_assSTART_ENTER_INCAR_c(uint8_t rtu_LVL, int16_t *rty_out);
extern void g_assSTART_ENTER_COOLANT_c(uint8_t rtu_LVL, int16_t *rty_out);
extern void Level4_l(int8_t *rty_step1, const uint8_t *rtd_CCU_MODE_RR, const
int16_t *rtd_ECT, const int16_t *rtd_Incar_RR, const
uint8_t *rtd_LEVEL, const uint8_t *rtd_LO_HI_MODE_FL);
extern void incarfilterdown_c(uint8_t rtu_LVL, uint8_t *rty_out);
extern void incarfilterup_b(uint8_t rtu_LVL, uint8_t *rty_out);
extern void g_assSTART_COOLANT_STEP0_TO_1_k(uint8_t rtu_LVL, int16_t *rty_out);
extern void Level4_c(int8_t *rty_step1, uint16_t *rtd_Blower_RL, uint16_t
*rtd_Blower_RR, uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR,
const int16_t *rtd_ECT, uint8_t
*rtd_Incar_filter_down_value, uint8_t
*rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL,
uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, uint8_t
*rtd_Valve_2_way, uint8_t *rtd_Valve_3_way);
extern void uwayvalve(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Dtg_rear(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Incartempgotofromstep1tostep2_n(uint8_t rtu_LVL, int16_t *rty_out);
extern void Timegotofromstep1tostep2_p(uint8_t rtu_LVL, int16_t *rty_out);
extern void moderearstep1(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Level0_o(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t
*rtd_Blower_RR, uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR,
const int16_t *rtd_Incar_RR, uint8_t
*rtd_Incar_filter_down_value, uint8_t
*rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL,
uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, double
*rtd_Recirculation, uint8_t *rtd_Valve_2_way, const int8_t *
rtd_step_start_controle_rear, const uint32_t *rtd_t_now,
DW_Level0_f *localDW);
extern void blowerstartfinish(uint8_t rtu_LVL, uint16_t rty_out[2]);
extern void ECTminmax_b(uint8_t rtu_LVL, int16_t rty_out[2]);
extern void Level4_n(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t
*rtd_Blower_RR, uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR,
const int16_t *rtd_ECT, const int16_t *rtd_Incar_RR,
uint8_t *rtd_Incar_filter_down_value, uint8_t
*rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL,
uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, double
*rtd_Recirculation, uint8_t *rtd_Valve_2_way, const int8_t *
rtd_step_start_controle_rear, const uint32_t *rtd_t_now,
DW_Level4_oa *localDW);
extern void timeforstep_h(uint8_t rtu_LVL, uint8_t *rty_out);
extern void blowerstep_e(uint8_t rtu_LVL, uint16_t *rty_out);
extern void blowertimeforstep_o(uint8_t rtu_LVL, uint16_t *rty_out);
extern void step_i3(uint8_t rtu_LVL, uint8_t *rty_out);
extern void timeforstep_m(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Level3_j(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t
*rtd_Blower_RR, const uint16_t *rtd_Blower_logic_RR,
uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR, const uint8_t
*rtd_Dtg_logic_RR, const bool *rtd_HI_logic_on, uint8_t
*rtd_Incar_filter_down_value, uint8_t
*rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL,
uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, const uint8_t
*rtd_Mode_logic_RR, double *rtd_Recirculation, uint8_t
*rtd_Valve_2_way, const int8_t
*rtd_step_start_controle_rear, const uint32_t *rtd_t_now,
DW_Level3_j *localDW);
extern void u1Incartarget(int16_t rtu_SET, uint8_t rtu_LVL, bool extern void u1Incartarget(int16_t rtu_SET, uint8_t rtu_LVL, bool
rtu_set_has_half, int16_t *rty_y); rtu_set_has_half, int16_t *rty_y);
extern void Y1Y4FLL_tg_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]); extern void Y1Y4FLL_tg_incar(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[5]);
extern void u_n(const int16_t rtu_y_in[5], double rty_y_fixed[5]); extern void u(const int16_t rtu_y_in[5], double rty_y_fixed[5]);
extern void Amb_Tg(uint8_t rtu_LVL, int16_t *rty_y); extern void Amb_Tg(uint8_t rtu_LVL, int16_t *rty_y);
extern void X1X4FLL_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); extern void X1X4FLL_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]);
extern void Y1Y4FLL_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]); extern void Y1Y4FLL_tg_amb(int16_t rtu_SET, uint8_t rtu_LVL, int16_t rty_y[3]);
@ -168,6 +267,49 @@ 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 extern void u1Incartarget_l(int16_t rtu_SET, uint8_t rtu_LVL, bool
rtu_set_has_half, int16_t *rty_y); 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 correctionrate(int16_t rtu_SET, uint8_t rtu_LVL, int16_t *rty_y);
extern void AMBRATE_RISING_DIFF8(uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_F);
extern void u_j(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_F);
extern void u_m(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_F);
extern void u_h(uint8_t rtu_lvl, uint16_t *rty_out);
extern void AMBRATE_FALLING_DIFF7(uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_F);
extern void u_i(uint8_t rtu_lvl, uint16_t *rty_out);
extern void u_e(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_F);
extern void u_c(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_F);
extern void u_cc(uint8_t rtu_lvl, uint16_t *rty_out);
extern void g_ausINCARRATE_RISING_DIFF_F8(uint16_t
*rty_f_g_ausINCARRATE_RISING_DIFF_F);
extern void INCARRATE_RISING_DIFF_F7(uint16_t
*rty_f_g_ausINCARRATE_RISING_DIFF_F);
extern void u_mu(uint8_t rtu_lvl, uint16_t *rty_out);
extern void AMBRATE_RISING_DIFF8_m(uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_R);
extern void u_a(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_R);
extern void u_l(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_FALLING_DIFF_R);
extern void u_g(uint8_t rtu_lvl, uint16_t *rty_out);
extern void AMBRATE_FALLING_DIFF7_a(uint16_t
*rty_f_g_ausINCARRATE_FALLING_DIFF_R);
extern void u_b(uint8_t rtu_lvl, uint16_t *rty_out);
extern void u_jy(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_R);
extern void u_d(uint8_t rtu_lvl, uint16_t *rty_f_g_ausINCARRATE_RISING_DIFF_R);
extern void u_jk(uint8_t rtu_lvl, uint16_t *rty_out);
extern void g_ausINCARRATE_RISING_DIFF_R8(uint16_t
*rty_f_g_ausINCARRATE_RISING_DIFF_R);
extern void INCARRATE_RISING_DIFF_R7(uint16_t
*rty_f_g_ausINCARRATE_RISING_DIFF_R);
extern void u_ew(uint8_t rtu_lvl, uint16_t *rty_out);
extern void Zone_Climate_Logic_Auto_FL1_Init(uint8_t *rty_out_def, uint8_t
*rty_out_face, uint8_t *rty_out_foot, uint8_t *rty_out_auto, double
*rty_out_ac, DW_Zone_Climate_Logic_Auto_FL1 *localDW);
extern void Zone_Climate_Logic_Auto_FL1(uint8_t rtu_btn_def, uint8_t
rtu_btn_face, uint8_t rtu_btn_foot, uint8_t rtu_btn_auto, uint8_t rtu_btn_ac,
uint8_t *rty_out_def, uint8_t *rty_out_face, uint8_t *rty_out_foot, uint8_t
*rty_out_auto, double *rty_out_ac, DW_Zone_Climate_Logic_Auto_FL1 *localDW);
extern void Zone_Climate_Logic_Auto_FL2_Init(uint8_t *rty_out_def, uint8_t
*rty_out_face, uint8_t *rty_out_foot, uint8_t *rty_out_auto, double
*rty_out_ac, DW_Zone_Climate_Logic_Auto_FL2 *localDW);
extern void Zone_Climate_Logic_Auto_FL2(double rtu_btn_def, uint8_t rtu_btn_face,
uint8_t rtu_btn_foot, uint8_t rtu_btn_auto, uint8_t rtu_btn_ac, uint8_t
*rty_out_def, uint8_t *rty_out_face, uint8_t *rty_out_foot, uint8_t
*rty_out_auto, double *rty_out_ac, DW_Zone_Climate_Logic_Auto_FL2 *localDW);
extern void AFforBiLevel(uint8_t rtu_blower_speed, uint16_t *rty_out); 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 AFforDef(uint8_t rtu_blower_speed, uint16_t *rty_out);
extern void AFforFoorDef(uint8_t rtu_blower_speed, uint16_t *rty_out); extern void AFforFoorDef(uint8_t rtu_blower_speed, uint16_t *rty_out);
@ -192,6 +334,19 @@ 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);
extern void u_bs(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_FALLING);
extern void u_de(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const
double *rtd_AMB_store, double *rtd_KEEP_FALLING_UNTIL_LIMIT);
extern void u_co(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t
*rty_riseperminute, const double *rtd_AMB_store, double
*rtd_KEEP_FALLING_UNTIL_LIMIT);
extern void u_bq(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING);
extern void u_gw(int16_t rtu_lvl, uint8_t *rty_f_g_aucAMBRATE_RISING_DIFF_LVL);
extern void u_hd(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t *rty_out, const
double *rtd_AMB_store, double *rtd_KEEP_RISING_UNTIL_LIMIT);
extern void u_a5(int16_t rtu_amb_raw, int16_t rtu_lvl, uint8_t
*rty_riseperminute, const double *rtd_AMB_store, double
*rtd_KEEP_RISING_UNTIL_LIMIT);
extern void IfActionSubsystem(int8_t *rty_Out1, double *rtd_ErrorHomming_private, extern void IfActionSubsystem(int8_t *rty_Out1, double *rtd_ErrorHomming_private,
double *rtd_Start_timer_n, int8_t *rtd_stepSig_private); double *rtd_Start_timer_n, int8_t *rtd_stepSig_private);
extern void MATLABFunction_Init(DW_MATLABFunction *localDW); extern void MATLABFunction_Init(DW_MATLABFunction *localDW);
@ -202,114 +357,6 @@ extern void IfActionSubsystem1(int8_t *rty_Output, uint8_t
rtd_ErrorActuator[9], uint8_t rtd_ErrorCalibration_private[9], const double rtd_ErrorActuator[9], uint8_t rtd_ErrorCalibration_private[9], const double
*rtd_LOGGER_LIN, uint8_t rtd_MODE_private[9], uint8_t *rtd_LOGGER_LIN, uint8_t rtd_MODE_private[9], uint8_t
rtd_dtc_state_error_model[127]); rtd_dtc_state_error_model[127]);
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
*rtd_LEVEL, const double *rtd_MODE_DRIVER);
extern void Level0(int8_t *rty_step);
extern void incarfilterdown(uint8_t rtu_LVL, uint8_t *rty_out);
extern void incarfilterup(uint8_t rtu_LVL, uint8_t *rty_out);
extern void g_assSTART_COOLANT_STEP0_TO_1_h(uint8_t rtu_LVL, int16_t *rty_out);
extern void uwayvalvestatus(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Dtg_FrontLower_X(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Dtg_FrontUpper_X(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Incartempgotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out);
extern void blowerFR(uint8_t rtu_LVL, uint16_t *rty_out);
extern void modeFRstep1(uint8_t rtu_LVL, uint8_t *rty_out);
extern void windowheating(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Timegotofromstep1tostep2(uint8_t rtu_LVL, int16_t *rty_out);
extern void ECTminmax(uint8_t rtu_LVL, int16_t rty_out[2]);
extern void blowerminmax(uint8_t rtu_LVL, uint16_t rty_out[2]);
extern void Level4_c(int8_t *rty_step, uint16_t *rtd_Blower_FL, uint16_t
*rtd_Blower_FR, uint8_t *rtd_Dtg_FLL, uint8_t *rtd_Dtg_FLR,
uint8_t *rtd_Dtg_FUL, uint8_t *rtd_Dtg_FUR, const int16_t
*rtd_ECT, uint8_t *rtd_El_window_heating, const int16_t
*rtd_Incar_FL, uint8_t *rtd_Incar_filter_down_value,
uint8_t *rtd_Incar_filter_up_value, const uint8_t
*rtd_LEVEL, uint8_t *rtd_Mode_FL, uint8_t *rtd_Mode_FR,
double *rtd_Recirculation, uint8_t *rtd_Valve_3_way, const
int8_t *rtd_step_start_controle_front, const uint32_t
*rtd_t_now, DW_Level4_n *localDW);
extern void uwayvalvestatus_a(uint8_t rtu_LVL, uint8_t *rty_out);
extern void timeforstep(uint8_t rtu_LVL, uint8_t *rty_out);
extern void timeforstep_j(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Timegotofromstep2tostep3(uint8_t rtu_LVL, int16_t *rty_out);
extern void blowerstep(uint8_t rtu_LVL, uint16_t *rty_out);
extern void blowertimeforstep(uint8_t rtu_LVL, uint16_t *rty_out);
extern void step_j(uint8_t rtu_LVL, uint8_t *rty_out);
extern void timeforstep_g(uint8_t rtu_LVL, uint8_t *rty_out);
extern void windowheating_k(uint8_t rtu_LVL, uint8_t *rty_out);
extern void autodemistautodefog(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Level3(int8_t *rty_step, uint8_t *rtd_Autodefog, uint16_t
*rtd_Blower_FL, uint16_t *rtd_Blower_FR, const uint16_t
*rtd_Blower_logic_FL, uint8_t *rtd_Dtg_FLL, uint8_t
*rtd_Dtg_FLR, uint8_t *rtd_Dtg_FUL, uint8_t *rtd_Dtg_FUR,
const uint8_t *rtd_Dtg_logic_FLL, const uint8_t
*rtd_Dtg_logic_FUL, uint8_t *rtd_El_window_heating, const
bool *rtd_HI_logic_on, uint8_t *rtd_Incar_filter_down_value,
uint8_t *rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL,
uint8_t *rtd_Mode_FL, uint8_t *rtd_Mode_FR, const uint8_t
*rtd_Mode_logic_FL, double *rtd_Recirculation, uint8_t
*rtd_Valve_3_way, const int8_t *rtd_step_start_controle_front,
const uint32_t *rtd_t_now, DW_Level3 *localDW);
extern void Step3F(int8_t *rty_step, int8_t *rtd_start_control_finished_front);
extern void g_ausSTART_ENTER_SETTEMP_b(uint8_t rtu_LVL, int16_t *rty_out);
extern void g_assSTART_ENTER_INCAR_p(uint8_t rtu_LVL, int16_t *rty_out);
extern void g_assSTART_ENTER_COOLANT_e(uint8_t rtu_LVL, int16_t *rty_out);
extern void Level4_e(int8_t *rty_step1, const int16_t *rtd_ECT, const int16_t
*rtd_Incar_RR, const uint8_t *rtd_LEVEL, const double
*rtd_MODE_RR_passenger);
extern void incarfilterdown_c(uint8_t rtu_LVL, uint8_t *rty_out);
extern void incarfilterup_i(uint8_t rtu_LVL, uint8_t *rty_out);
extern void g_assSTART_COOLANT_STEP0_TO_1_e(uint8_t rtu_LVL, int16_t *rty_out);
extern void Level4_m(int8_t *rty_step1, uint16_t *rtd_Blower_RL, uint16_t
*rtd_Blower_RR, uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR,
const int16_t *rtd_ECT, uint8_t
*rtd_Incar_filter_down_value, uint8_t
*rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL,
uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, uint8_t
*rtd_Valve_2_way, uint8_t *rtd_Valve_3_way);
extern void uwayvalve(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Dtg_rear(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Incartempgotofromstep1tostep2_j(uint8_t rtu_LVL, int16_t *rty_out);
extern void Timegotofromstep1tostep2_l(uint8_t rtu_LVL, int16_t *rty_out);
extern void moderearstep1(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Level0_b(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t
*rtd_Blower_RR, uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR,
const int16_t *rtd_Incar_RR, uint8_t
*rtd_Incar_filter_down_value, uint8_t
*rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL,
uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, double
*rtd_Recirculation, uint8_t *rtd_Valve_2_way, const int8_t *
rtd_step_start_controle_rear, const uint32_t *rtd_t_now,
DW_Level0_c *localDW);
extern void blowerstartfinish(uint8_t rtu_LVL, uint16_t rty_out[2]);
extern void ECTminmax_l(uint8_t rtu_LVL, int16_t rty_out[2]);
extern void Level4_d(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t
*rtd_Blower_RR, uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR,
const int16_t *rtd_ECT, const int16_t *rtd_Incar_RR,
uint8_t *rtd_Incar_filter_down_value, uint8_t
*rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL,
uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, double
*rtd_Recirculation, uint8_t *rtd_Valve_2_way, const int8_t *
rtd_step_start_controle_rear, const uint32_t *rtd_t_now,
DW_Level4_a *localDW);
extern void timeforstep_jn(uint8_t rtu_LVL, uint8_t *rty_out);
extern void blowerstep_d(uint8_t rtu_LVL, uint16_t *rty_out);
extern void blowertimeforstep_l(uint8_t rtu_LVL, uint16_t *rty_out);
extern void step_a(uint8_t rtu_LVL, uint8_t *rty_out);
extern void timeforstep_h(uint8_t rtu_LVL, uint8_t *rty_out);
extern void Level3_i(int8_t *rty_step, uint16_t *rtd_Blower_RL, uint16_t
*rtd_Blower_RR, const uint16_t *rtd_Blower_logic_RR,
uint8_t *rtd_Dtg_RL, uint8_t *rtd_Dtg_RR, const uint8_t
*rtd_Dtg_logic_RR, const bool *rtd_HI_logic_on, uint8_t
*rtd_Incar_filter_down_value, uint8_t
*rtd_Incar_filter_up_value, const uint8_t *rtd_LEVEL,
uint8_t *rtd_Mode_RL, uint8_t *rtd_Mode_RR, const uint8_t
*rtd_Mode_logic_RR, double *rtd_Recirculation, uint8_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 extern void MODE_for_set_and_lvl(uint8_t rtu_LVL, int16_t rtu_SET, uint8_t
*rty_get_mode); *rty_get_mode);
extern void increase(int16_t rtu_duct_tg, const uint16_t rtu_mode_array[7], extern void increase(int16_t rtu_duct_tg, const uint16_t rtu_mode_array[7],
@ -324,13 +371,6 @@ 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_a(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_ */

38
HVAC_model_types.h Normal file → Executable file
View File

@ -3,9 +3,9 @@
* *
* Code generated for Simulink model 'HVAC_model'. * Code generated for Simulink model 'HVAC_model'.
* *
* Model version : 1.1082 * Model version : 1.1128
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023 * Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
* C/C++ source code generated on : Wed Jun 10 11:23:53 2026 * C/C++ source code generated on : Tue Jun 23 15:07:47 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
@ -46,6 +46,23 @@ typedef struct {
#endif #endif
#ifndef DEFINED_TYPEDEF_FOR_dbgCAN_dbg_Sen_Incar_Bus_
#define DEFINED_TYPEDEF_FOR_dbgCAN_dbg_Sen_Incar_Bus_
typedef struct {
uint8_t dbg_Sen_Incar_MultMsg_Idx;
int16_t dbg_Sen_Incar_Raw_FL_ro;
int16_t dbg_Sen_Incar_FL_ro;
int16_t dbg_Sen_Incar_Raw_FR_ro;
int16_t dbg_Sen_Incar_FR_ro;
int16_t dbg_Sen_Incar_Raw_RL_ro;
int16_t dbg_Sen_Incar_RL_ro;
int16_t dbg_Sen_Incar_Raw_RR_ro;
int16_t dbg_Sen_Incar_RR_ro;
} dbgCAN_dbg_Sen_Incar_Bus;
#endif
#ifndef DEFINED_TYPEDEF_FOR_CmdCAN_CCU_STAT1_Bus_ #ifndef DEFINED_TYPEDEF_FOR_CmdCAN_CCU_STAT1_Bus_
#define DEFINED_TYPEDEF_FOR_CmdCAN_CCU_STAT1_Bus_ #define DEFINED_TYPEDEF_FOR_CmdCAN_CCU_STAT1_Bus_
@ -383,23 +400,6 @@ typedef struct {
#endif #endif
#ifndef DEFINED_TYPEDEF_FOR_dbgCAN_dbg_Sen_Incar_Bus_
#define DEFINED_TYPEDEF_FOR_dbgCAN_dbg_Sen_Incar_Bus_
typedef struct {
uint8_t dbg_Sen_Incar_MultMsg_Idx;
int16_t dbg_Sen_Incar_Raw_FL_ro;
int16_t dbg_Sen_Incar_FL_ro;
int16_t dbg_Sen_Incar_Raw_FR_ro;
int16_t dbg_Sen_Incar_FR_ro;
int16_t dbg_Sen_Incar_Raw_RL_ro;
int16_t dbg_Sen_Incar_RL_ro;
int16_t dbg_Sen_Incar_Raw_RR_ro;
int16_t dbg_Sen_Incar_RR_ro;
} dbgCAN_dbg_Sen_Incar_Bus;
#endif
#ifndef DEFINED_TYPEDEF_FOR_dbgCAN_dbg_dbg_Sen_Eva_Bus_ #ifndef DEFINED_TYPEDEF_FOR_dbgCAN_dbg_dbg_Sen_Eva_Bus_
#define DEFINED_TYPEDEF_FOR_dbgCAN_dbg_dbg_Sen_Eva_Bus_ #define DEFINED_TYPEDEF_FOR_dbgCAN_dbg_dbg_Sen_Eva_Bus_