ConOpSys V2970  P004.07
ANVILEX control operating system
Function_Block_Cooling_System_Model.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 //! @file Function_Block_Cooling_System_Model.h
3 //! @author ANVILEX GmbH
4 //! @version V1.0
5 //! @date 09.03.2021
6 //! @brief Functional block Cooling_system_model class header file.
7 //! @attention No special attention requered.
8 //! @copyright (C) 2015-2021 ANVILEX LLC
9 //!
10 //! Redistribution and use in source and binary forms, with or without
11 //! modification, are permitted provided that the following conditions are met:
12 //!
13 //! 1. Redistributions of source code must retain the above copyright notice,
14 //! this list of conditions and the following disclaimer.
15 //!
16 //! 2. Redistributions in binary form must reproduce the above copyright notice,
17 //! this list of conditions and the following disclaimer in the documentation
18 //! and/or other materials provided with the distribution.
19 //!
20 //! 3. Neither the name of ANVILEX nor the names of its contributors may be
21 //! used to endorse or promote products derived from this software without
22 //! specific prior written permission.
23 //!
24 //! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25 //! AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26 //! IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27 //! ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
28 //! LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
29 //! CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
30 //! SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
31 //! INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
32 //! CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
33 //! ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34 //! POSSIBILITY OF SUCH DAMAGE.
35 //------------------------------------------------------------------------------
36 
37 //------------------------------------------------------------------------------
38 // Protecting header files from mutual, recursive inclusion.
39 //------------------------------------------------------------------------------
40 
41 #pragma once
42 
43 //------------------------------------------------------------------------------
44 // Include standard libraries header files
45 //------------------------------------------------------------------------------
46 
47 //------------------------------------------------------------------------------
48 // Include thrid party header files
49 //------------------------------------------------------------------------------
50 
51 //------------------------------------------------------------------------------
52 // Include ConOpSys header files
53 //------------------------------------------------------------------------------
54 
55 #include "Function_Block_Base.h"
56 
57 //------------------------------------------------------------------------------
58 // Include ConOpSys application header files
59 //------------------------------------------------------------------------------
60 
61 //------------------------------------------------------------------------------
62 // Macros
63 //------------------------------------------------------------------------------
64 
65 //------------------------------------------------------------------------------
66 //! @brief Functional block class declaration
67 //------------------------------------------------------------------------------
68 
70 {
71 
72  //----------------------------------------------------------------------------
73  // Public variables and methods
74  //----------------------------------------------------------------------------
75 
76  public:
77 
78  //--------------------------------------------------------------------------
79  // Constructor and destructor methods
80  //--------------------------------------------------------------------------
81 
82  //!-------------------------------------------------------------------------
83  //! @brief Function block class constructor method.
84  //! @note None
85  //! \par Override
86  //! Not allowed
87  //! @attention Don't call this method directly.
88  //--------------------------------------------------------------------------
89 
91 
92  //!-------------------------------------------------------------------------
93  //! @brief Function block class desstructor method.
94  //! @note None
95  //! \par Override
96  //! Not allowed
97  //! @attention Don't call this method directly.
98  //--------------------------------------------------------------------------
99 
101 
102  //--------------------------------------------------------------------------
103  // Function block data processing methods
104  //--------------------------------------------------------------------------
105 
106  //!-------------------------------------------------------------------------
107  //! @brief Functional block initialisation method.
108  //! @note None
109  //! \par Override
110  //! Not allowed
111  //! @attention None
112  //--------------------------------------------------------------------------
113 
114  virtual VOID Init();
115 
116  //!-------------------------------------------------------------------------
117  //! @brief Functional block execution method.
118  //! @note None
119  //! \par Override
120  //! Not allowed
121  //! @attention None
122  //--------------------------------------------------------------------------
123 
124  virtual VOID Execute();
125 
126  //--------------------------------------------------------------------------
127  // Function block parameters
128  //--------------------------------------------------------------------------
129 
130  //--------------------------------------------------------------------------
131  // Function block inputs
132  //--------------------------------------------------------------------------
133 
134  //! @brief Power dissipated in the transistor
136 
137  //! @brief Ambient temperature
139 
140  //! @brief Integration step of solver
142 
143  //! @brief Heater control signal
145 
146  //! @brief Pump control signal
148 
149  //! @brief Heat exchanger fan control signal
151 
152  //! @brief EMU heater fuse status
154 
155  //! @brief EMU pump fuse status
157 
158  //! @brief EMU heat exchanger fuse status
160 
161  //--------------------------------------------------------------------------
162  // Function block outputs
163  //--------------------------------------------------------------------------
164 
165  //! @brief Fan speed value
167 
168  //! @brief Water speed value
170 
171  //! @brief Heater contactor status signal
173 
174  //! @brief Pump contactor status signal
176 
177  //! @brief Heat exchanger contactor status signal
179 
180  //! @brief First IGBT temperature value
182 
183  //! @brief Second IGBT temperature value
185 
186  //! @brief Third IGBT temperature value
188 
189  //! @brief Fourth IGBT temperature value
191 
192  //! @brief Fifth IGBT temperature value
194 
195  //! @brief Sixth IGBT temperature value
197 
198  //! @brief Seventh IGBT temperature value
200 
201  //! @brief Eighth IGBT temperature value
203 
204  //! @brief Inlet temperature value
206 
207  //! @brief Outlet temperature value
209 
210  //! @brief Inlet pressure value
212 
213  //! @brief Outlet pressure value
215 
216  //! @brief Water mass flow value
218 
219  //! @brief Grid side inductor temperature
221 
222  //! @brief Rotor side inductor temperature
224 
225 
226  //----------------------------------------------------------------------------
227  // Protected variables and methods
228  //----------------------------------------------------------------------------
229 
230  protected:
231 
232  //----------------------------------------------------------------------------
233  // Private variables and methods
234  //----------------------------------------------------------------------------
235 
236  private:
237 
238  //----------------------------------------------------------------------------
239  // Private methods
240  //----------------------------------------------------------------------------
241 
242  //!---------------------------------------------------------------------------
243  //! @brief Switches the state of the heater depending on the control signal.
244  //! @note None
245  //! @param [in] Heater_Control_status - The state of the heater control signal
246  //! [in] u32_Timestamp_On - Turn-on delay timer
247  //! [in] u32_Timestamp_Off - Turn-off delay timer
248  //! @return None
249  //! \par Override
250  //! Not allowed
251  //! @attention None
252  //----------------------------------------------------------------------------
253 
254  void Heater_State_Changer(BOOL Heater_Control_status, U32 &u32_Timestamp_On, U32 &u32_Timestamp_Off);
255 
256  //!---------------------------------------------------------------------------
257  //! @brief Switches the state of the pump depending on the control signal.
258  //! @note None
259  //! @param [in] Pump_Control_status - The state of the pump control signal
260  //! [in] u32_Timestamp_On - Turn-on delay timer
261  //! [in] u32_Timestamp_Off - Turn-off delay timer
262  //! @return None
263  //! \par Override
264  //! Not allowed
265  //! @attention None
266  //----------------------------------------------------------------------------
267 
268  void Pump_State_Changer(BOOL Pump_Control_status, U32 &u32_Timestamp_On, U32 &u32_Timestamp_Off);
269 
270  //!---------------------------------------------------------------------------
271  //! @brief Switches the state of the fan depending on the control signal.
272  //! @note None
273  //! @param [in] He_Fan_Control_Status - The state of the fan control signal
274  //! [in] u32_Timestamp_On - Turn-on delay timer
275  //! [in] u32_Timestamp_Off - Turn-off delay timer
276  //! @return None
277  //! \par Override
278  //! Not allowed
279  //! @attention None
280  //----------------------------------------------------------------------------
281 
282  void He_Fan_State_Changer(BOOL He_Fan_Control_Status, U32 &u32_Timestamp_On, U32 &u32_Timestamp_Off);
283 
284  //!---------------------------------------------------------------------------
285  //! @brief Return the value of the kinematic coefficient of air viscosity.
286  //! @note None
287  //! @param [in] Air_temperature - The value of ambient temperature
288  //! @return F64 - Return value of the kinematic coefficient of air viscosity
289  //! \par Override
290  //! Not allowed
291  //! @attention None
292  //----------------------------------------------------------------------------
293 
294  F64 nu_air(F64 &Air_temperature);
295 
296  //!---------------------------------------------------------------------------
297  //! @brief Return the value of the coefficient of thermal conductivity of air.
298  //! @note None
299  //! @param [in] Air_temperature - The value of ambient temperature
300  //! @return F64 - Return value of the coefficient of thermal conductivity of air
301  //! \par Override
302  //! Not allowed
303  //! @attention None
304  //----------------------------------------------------------------------------
305 
306  F64 lambda_air(F64 &Air_temperature);
307 
308  //!---------------------------------------------------------------------------
309  //! @brief Return the value of the kinematic coefficient of water viscosity.
310  //! @note None
311  //! @param [in] Water_temperature - The value of water temperature
312  //! @return F64 - Return value of the kinematic coefficient of water viscosity
313  //! \par Override
314  //! Not allowed
315  //! @attention None
316  //----------------------------------------------------------------------------
317 
318  F64 nu_water(F64 &Water_temperature);
319 
320  //!---------------------------------------------------------------------------
321  //! @brief Return the value of the coefficient of thermal conductivity of water.
322  //! @note None
323  //! @param [in] Water_temperature - The value of water temperature
324  //! @return F64 - Return value of the coefficient of thermal conductivity of water
325  //! \par Override
326  //! Not allowed
327  //! @attention None
328  //----------------------------------------------------------------------------
329 
330  F64 lambda_water(F64 &Water_temperature);
331 
332  //----------------------------------------------------------------------------
333  // Private variables
334  //----------------------------------------------------------------------------
335 
336  //----------------------------------------------------------------------------
337  // Global variables
338  //----------------------------------------------------------------------------
339 
340  //! @brief Pi
342 
343  //----------------------------------------------------------------------------
344  // Structures
345  //----------------------------------------------------------------------------
346 
347  //! @brief General structure of properties of substances
348  typedef struct
349  {
350 
351  //! @brief Mass of matter (m), [kg]
353 
354  //! @brief Density of matter (ro), [kg/m^3]
356 
357  //! @brief Area of matter (S), [m^2]
358  F32 F32_Area[2];
359 
360  //! @brief Volume of matter (V), [m^3]
362 
363  //! @brief Velosity of of movement of matter (w), [m/s]
365 
366  //! @brief Initial value of temperature of matter (T), [°C]
368 
369  //! @brief Initial value of temperature increment of matter (T), [°C]
371 
372  //! @brief Specific heat capacity of matter (c), [J/(kg*°C)]
374 
375  //! @brief Kinematic viscosity coefficient of matter (nu), [m^2/s]
377 
378  //! @brief Dynamic viscosity coefficient of matter (eta), [P*s]
380 
381  //! @brief Heat transfer coefficient (a), [W/(m^2 * °C)]
383 
384  //! @brief Heat capacity of matter (C), [J/°C]
386 
387  //! @brief Coefficient of thermal conductivity of matter (lambda), [W/(m*°C)]
389 
390  //! @brief Heat flow path length (d), [m]
391  F32 F32_Heat_Flow_Path_Length[2];
392 
393  } Properties;
394 
395  //----------------------------------------------------------------------------
396  // Matters
397  //----------------------------------------------------------------------------
398 
399  //! @brief Variable responsible for ambience properties
401 
402  //! @brief Variable responsible for water properties
404 
405  //! @brief Variable responsible for power modules properties
407 
408  //! @brief Variable responsible for the first inductor heatsink properties
410 
411  //! @brief Variable responsible for the second inductor heatsink properties
413 
414  //----------------------------------------------------------------------------
415  // Water flow properties
416  //----------------------------------------------------------------------------
417 
418  //! @brief Water speed
420 
421  //! @brief Water speed when pump is on
423 
424  //! @brief Some small constant value of the fluid flow rate
426 
427  //----------------------------------------------------------------------------
428  // Fan properties
429  //----------------------------------------------------------------------------
430 
431  //! @brief Fan-cooled system area, [m^2]
433 
434  //! @brief Fan diameter, [m]
436 
437  //! @brief Fan-cooled system length, [m]
439 
440  //! @brief Fan speed
442 
443  //! @brief Fan speed when fan is on
445 
446  //! @brief Some small constant air velocity
448 
449  //----------------------------------------------------------------------------
450  // Pipeline properties
451  //----------------------------------------------------------------------------
452 
453  //! @brief Diameter of the tube
455 
456  //! @brief Diameter of the tube in inductor heatsink
458 
459  //! @brief Cross-sectional area of the tube
461 
462  //! @brief Inlet pressure normal value
464 
465  //! @brief Outlet pressure normal value
467 
468  //! @brief Variable that sets the rise time of the pressure sensor signal
470 
471  //----------------------------------------------------------------------------
472  // Inductor properties
473  //----------------------------------------------------------------------------
474 
475  //! @brief Power dissipated in inductor
477 
478  //----------------------------------------------------------------------------
479  // Variables for storing calculation results
480  //----------------------------------------------------------------------------
481 
482  //! @brief Variable for storing the value of inlet pressure, [bar]
484 
485  //! @brief Variable for storing the value of outlet pressure, [bar]
487 
488  //----------------------------------------------------------------------------
489  // Timers
490  //----------------------------------------------------------------------------
491 
492  //! @brief Variable for heater status delay
494 
495  //! @brief Variable for heater status delay
497 
498  //! @brief Variable for pump status delay
500 
501  //! @brief Variable for pump status delay
503 
504  //! @brief Variable for fan status delay
506 
507  //! @brief Variable for fan status delay
509 
510  //! @brief Variable for storing the heater state
512 
513  //! @brief Variable for storing the pump state
515 
516  //! @brief Variable for storing fan state
518 
519 };
520 
521 //------------------------------------------------------------------------------
522 // End of file
523 //------------------------------------------------------------------------------
int BOOL
Boolean datatype definition.
Definition: Defines.h:124
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
unsigned long U32
Binary 32-Bit unsigned integer datatype defenition.
Definition: Defines.h:203
float F32
IEEE-754 32-Bit single presession floating point numbers datatype defenition.
Definition: Defines.h:324
double F64
IEEE-754 64-Bit double presession floating point numbers datatype defenition.
Definition: Defines.h:327
Function block base class header file.
Function block input connector class.
Definition: Block_Input_Connector.h:83
Function block output connector class.
Definition: Block_Output_Connector.h:59
Function block base class for device.
Definition: Function_Block_Base.h:96
Functional block class declaration.
Definition: Function_Block_Cooling_System_Model.h:70
TBlock_Output_Connector object_f32_BALLAST_2_Temperature
Eighth IGBT temperature value.
Definition: Function_Block_Cooling_System_Model.h:202
F32 f32_Water_Speed_Active
Water speed when pump is on.
Definition: Function_Block_Cooling_System_Model.h:422
F32 F32_Power_Modules_Tube_Diameter
Diameter of the tube.
Definition: Function_Block_Cooling_System_Model.h:454
TBlock_Output_Connector object_f32_LCS_Outlet_Pressure
Outlet pressure value.
Definition: Function_Block_Cooling_System_Model.h:214
Properties Aluminium_Inductor_Heatsink_2
Variable responsible for the second inductor heatsink properties.
Definition: Function_Block_Cooling_System_Model.h:412
TBlock_Output_Connector object_f32_LCS_Outlet_Temperature
Outlet temperature value.
Definition: Function_Block_Cooling_System_Model.h:208
TBlock_Output_Connector object_f32_RSI_2_Temperature
Fifth IGBT temperature value.
Definition: Function_Block_Cooling_System_Model.h:193
F64 lambda_water(F64 &Water_temperature)
Return the value of the coefficient of thermal conductivity of water.
Definition: Function_Block_Cooling_System_Model.cpp:734
F32 Pout_value
Outlet pressure normal value.
Definition: Function_Block_Cooling_System_Model.h:466
U32 u32_Timestamp_Heater_Off
Variable for heater status delay.
Definition: Function_Block_Cooling_System_Model.h:496
TBlock_Output_Connector object_f32_INDUCTOR_GSI_Temperature
Grid side inductor temperature.
Definition: Function_Block_Cooling_System_Model.h:220
F32 F32_Tube_Area
Cross-sectional area of the tube.
Definition: Function_Block_Cooling_System_Model.h:460
TBlock_Input_Connector object_bool_LCS_Heater_Control
Heater control signal.
Definition: Function_Block_Cooling_System_Model.h:144
TBlock_Output_Connector object_f32_INDUCTOR_RSI_Temperature
Rotor side inductor temperature.
Definition: Function_Block_Cooling_System_Model.h:223
void Pump_State_Changer(BOOL Pump_Control_status, U32 &u32_Timestamp_On, U32 &u32_Timestamp_Off)
Switches the state of the pump depending on the control signal.
Definition: Function_Block_Cooling_System_Model.cpp:819
void Heater_State_Changer(BOOL Heater_Control_status, U32 &u32_Timestamp_On, U32 &u32_Timestamp_Off)
Switches the state of the heater depending on the control signal.
Definition: Function_Block_Cooling_System_Model.cpp:743
TBlock_Input_Connector object_bool_LCS_Pump_Control
Pump control signal.
Definition: Function_Block_Cooling_System_Model.h:147
TBlock_Output_Connector object_f32_LCS_Inlet_Temperature
Inlet temperature value.
Definition: Function_Block_Cooling_System_Model.h:205
U32 u32_Timestamp_Fan_On
Variable for fan status delay.
Definition: Function_Block_Cooling_System_Model.h:505
~TFunction_Block_Cooling_System_Model()
Function block class desstructor method.
Definition: Function_Block_Cooling_System_Model.cpp:389
TBlock_Output_Connector object_f32_Fan_Speed
Fan speed value.
Definition: Function_Block_Cooling_System_Model.h:166
TFunction_Block_Cooling_System_Model()
Function block class constructor method.
Definition: Function_Block_Cooling_System_Model.cpp:64
void He_Fan_State_Changer(BOOL He_Fan_Control_Status, U32 &u32_Timestamp_On, U32 &u32_Timestamp_Off)
Switches the state of the fan depending on the control signal.
Definition: Function_Block_Cooling_System_Model.cpp:893
TBlock_Output_Connector object_f32_GSI_1_Temperature
First IGBT temperature value.
Definition: Function_Block_Cooling_System_Model.h:181
TBlock_Output_Connector object_f32_LCS_Water_Mass_Flow
Water mass flow value.
Definition: Function_Block_Cooling_System_Model.h:217
TBlock_Input_Connector object_f32_Integration_Step
Integration step of solver.
Definition: Function_Block_Cooling_System_Model.h:141
TBlock_Output_Connector object_f32_GSI_2_Temperature
Second IGBT temperature value.
Definition: Function_Block_Cooling_System_Model.h:184
U32 u32_Timestamp_Heater_On
Variable for heater status delay.
Definition: Function_Block_Cooling_System_Model.h:493
virtual VOID Init()
Functional block initialisation method.
Definition: Function_Block_Cooling_System_Model.cpp:397
TBlock_Output_Connector object_f32_BALLAST_1_Temperature
Seventh IGBT temperature value.
Definition: Function_Block_Cooling_System_Model.h:199
BOOL bool_Heater_State
Variable for storing the heater state.
Definition: Function_Block_Cooling_System_Model.h:511
U32 u32_Timestamp_Pump_On
Variable for pump status delay.
Definition: Function_Block_Cooling_System_Model.h:499
U32 u32_Timestamp_Pump_Off
Variable for pump status delay.
Definition: Function_Block_Cooling_System_Model.h:502
F32 f32_Constant_Fan_Speed
Some small constant air velocity
Definition: Function_Block_Cooling_System_Model.h:447
BOOL bool_Fan_State
Variable for storing fan state.
Definition: Function_Block_Cooling_System_Model.h:517
F32 FAN_D
Fan diameter, [m].
Definition: Function_Block_Cooling_System_Model.h:435
F32 f32_Fan_Speed
Fan speed.
Definition: Function_Block_Cooling_System_Model.h:441
Properties Air
Variable responsible for ambience properties.
Definition: Function_Block_Cooling_System_Model.h:400
TBlock_Input_Connector object_bool_EMU_Heater_Fuse_Status
EMU heater fuse status.
Definition: Function_Block_Cooling_System_Model.h:153
F64 lambda_air(F64 &Air_temperature)
Return the value of the coefficient of thermal conductivity of air.
Definition: Function_Block_Cooling_System_Model.cpp:716
TBlock_Output_Connector object_bool_LCS_He_Fan_Contactor_Status
Heat exchanger contactor status signal.
Definition: Function_Block_Cooling_System_Model.h:178
TBlock_Input_Connector object_bool_EMU_Heat_Exchanger_Fuse_Status
EMU heat exchanger fuse status.
Definition: Function_Block_Cooling_System_Model.h:159
F32 Pout
Variable for storing the value of outlet pressure, [bar].
Definition: Function_Block_Cooling_System_Model.h:486
F32 Pin_value
Inlet pressure normal value.
Definition: Function_Block_Cooling_System_Model.h:463
TBlock_Output_Connector object_bool_LCS_Pump_Contactor_Status
Pump contactor status signal.
Definition: Function_Block_Cooling_System_Model.h:175
F32 f32_Fan_Speed_Active
Fan speed when fan is on.
Definition: Function_Block_Cooling_System_Model.h:444
TBlock_Input_Connector object_f32_IGBT_Power
Power dissipated in the transistor.
Definition: Function_Block_Cooling_System_Model.h:135
F32 P_Inductor
Power dissipated in inductor.
Definition: Function_Block_Cooling_System_Model.h:476
TBlock_Input_Connector object_bool_EMU_Pump_Fuse_Status
EMU pump fuse status.
Definition: Function_Block_Cooling_System_Model.h:156
F32 Tau
Variable that sets the rise time of the pressure sensor signal.
Definition: Function_Block_Cooling_System_Model.h:469
F32 ARIA_2
Fan-cooled system area, [m^2].
Definition: Function_Block_Cooling_System_Model.h:432
F64 pi
Pi.
Definition: Function_Block_Cooling_System_Model.h:341
TBlock_Output_Connector object_f32_GSI_3_Temperature
Third IGBT temperature value.
Definition: Function_Block_Cooling_System_Model.h:187
TBlock_Output_Connector object_f32_RSI_1_Temperature
Fourth IGBT temperature value.
Definition: Function_Block_Cooling_System_Model.h:190
Properties Aluminium_Inductor_Heatsink_1
Variable responsible for the first inductor heatsink properties.
Definition: Function_Block_Cooling_System_Model.h:409
F64 nu_air(F64 &Air_temperature)
Return the value of the kinematic coefficient of air viscosity.
Definition: Function_Block_Cooling_System_Model.cpp:707
TBlock_Output_Connector object_f32_LCS_Inlet_Pressure
Inlet pressure value.
Definition: Function_Block_Cooling_System_Model.h:211
TBlock_Output_Connector object_f32_Water_Speed
Water speed value.
Definition: Function_Block_Cooling_System_Model.h:169
F32 f32_Constant_Water_Flow
Some small constant value of the fluid flow rate.
Definition: Function_Block_Cooling_System_Model.h:425
TBlock_Output_Connector object_f32_RSI_3_Temperature
Sixth IGBT temperature value.
Definition: Function_Block_Cooling_System_Model.h:196
TBlock_Output_Connector object_bool_LCS_Heater_Contactor_Status
Heater contactor status signal.
Definition: Function_Block_Cooling_System_Model.h:172
U32 u32_Timestamp_Fan_Off
Variable for fan status delay.
Definition: Function_Block_Cooling_System_Model.h:508
F32 F32_Inductor_Heatsink_Tube_Diameter
Diameter of the tube in inductor heatsink.
Definition: Function_Block_Cooling_System_Model.h:457
F32 FC_L
Fan-cooled system length, [m].
Definition: Function_Block_Cooling_System_Model.h:438
virtual VOID Execute()
Functional block execution method.
Definition: Function_Block_Cooling_System_Model.cpp:410
F32 Pin
Variable for storing the value of inlet pressure, [bar].
Definition: Function_Block_Cooling_System_Model.h:483
volatile Properties Ferrum_IGBT
Variable responsible for power modules properties.
Definition: Function_Block_Cooling_System_Model.h:406
F32 f32_Water_Speed
Water speed.
Definition: Function_Block_Cooling_System_Model.h:419
F64 nu_water(F64 &Water_temperature)
Return the value of the kinematic coefficient of water viscosity.
Definition: Function_Block_Cooling_System_Model.cpp:725
Properties Water
Variable responsible for water properties.
Definition: Function_Block_Cooling_System_Model.h:403
TBlock_Input_Connector object_bool_LCS_He_Fan_Control
Heat exchanger fan control signal.
Definition: Function_Block_Cooling_System_Model.h:150
BOOL bool_Pump_State
Variable for storing the pump state.
Definition: Function_Block_Cooling_System_Model.h:514
TBlock_Input_Connector object_f32_Ambient_Temperature
Ambient temperature.
Definition: Function_Block_Cooling_System_Model.h:138
General structure of properties of substances.
Definition: Function_Block_Cooling_System_Model.h:349
F32 F32_Dynamic_Viscosity_Coefficient
Dynamic viscosity coefficient of matter (eta), [P*s].
Definition: Function_Block_Cooling_System_Model.h:379
F32 F32_Mass
Mass of matter (m), [kg].
Definition: Function_Block_Cooling_System_Model.h:352
F64 F64_Temperature
Initial value of temperature of matter (T), [°C].
Definition: Function_Block_Cooling_System_Model.h:367
F32 F32_Heat_Capacity
Heat capacity of matter (C), [J/°C].
Definition: Function_Block_Cooling_System_Model.h:385
F32 F32_Heat_Transfer_Coefficient
Heat transfer coefficient (a), [W/(m^2 * °C)].
Definition: Function_Block_Cooling_System_Model.h:382
F32 F32_Volume
Volume of matter (V), [m^3].
Definition: Function_Block_Cooling_System_Model.h:361
F32 F32_Density
Density of matter (ro), [kg/m^3].
Definition: Function_Block_Cooling_System_Model.h:355
F32 F32_Coefficient_Of_Thermal_Conductivity
Coefficient of thermal conductivity of matter (lambda), [W/(m*°C)].
Definition: Function_Block_Cooling_System_Model.h:388
F64 F64_Delta_Temperature
Initial value of temperature increment of matter (T), [°C].
Definition: Function_Block_Cooling_System_Model.h:370
F32 F32_Kinematic_Viscosity_Coefficient
Kinematic viscosity coefficient of matter (nu), [m^2/s].
Definition: Function_Block_Cooling_System_Model.h:376
F32 F32_Specific_Heat_Capacity
Specific heat capacity of matter (c), [J/(kg*°C)].
Definition: Function_Block_Cooling_System_Model.h:373
F32 F32_Velocity
Velosity of of movement of matter (w), [m/s].
Definition: Function_Block_Cooling_System_Model.h:364