ConOpSys V2970  P004.07
ANVILEX control operating system
P021_12_KG3_Cooling_System_Model_Emulator.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 //! @file P021_12_KG3_Cooling_System_Model_Emulator.h
3 //! @author ANVILEX GmbH
4 //! @version V1.0
5 //! @date 06.05.2021
6 //! @brief Liquid cooling system hardware representation class header file.
7 //! @attention
8 //!
9 //! COPYRIGHT(C) 2021 ANVILEX GmbH
10 //!
11 //! Redistribution and use in source and binary forms, with or without
12 //! modification, are permitted provided that the following conditions are met:
13 //!
14 //! 1. Redistributions of source code must retain the above copyright notice,
15 //! this list of conditions and the following disclaimer.
16 //!
17 //! 2. Redistributions in binary form must reproduce the above copyright notice,
18 //! this list of conditions and the following disclaimer in the documentation
19 //! and/or other materials provided with the distribution.
20 //!
21 //! 3. Neither the name of ANVILEX nor the names of its contributors may be
22 //! used to endorse or promote products derived from this software without
23 //! specific prior written permission.
24 //!
25 //! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26 //! AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27 //! IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
28 //! ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
29 //! LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30 //! CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31 //! SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32 //! INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33 //! CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34 //! ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35 //! POSSIBILITY OF SUCH DAMAGE.
36 //------------------------------------------------------------------------------
37 
38 //------------------------------------------------------------------------------
39 // Protecting header files from mutual, recursive inclusion.
40 //------------------------------------------------------------------------------
41 
42 #pragma once
43 
44 //------------------------------------------------------------------------------
45 // Include standard libraries header files
46 //------------------------------------------------------------------------------
47 
48 //------------------------------------------------------------------------------
49 // Include thrid party header files
50 //------------------------------------------------------------------------------
51 
52 //------------------------------------------------------------------------------
53 // Include ConOpSys header files
54 //------------------------------------------------------------------------------
55 
56 #include "Function_Block_Base.h"
57 #include "Generic_Cooling_Model.h"
58 #include "PRT_Sensor.h"
59 
60 //------------------------------------------------------------------------------
61 // Include ConOpSys application header files
62 //------------------------------------------------------------------------------
63 
64 //------------------------------------------------------------------------------
65 // Macros
66 //------------------------------------------------------------------------------
67 
68 //------------------------------------------------------------------------------
69 //! @brief Function block class declaration
70 //------------------------------------------------------------------------------
71 
73 {
74 
75  //----------------------------------------------------------------------------
76  // Public variables and methods
77  //----------------------------------------------------------------------------
78 
79  public:
80 
81  //! @brief Register structure for generic access
82  typedef struct
83  {
84 
85  //! @brief 0x00 : Module identification register
87 
88  //! @brief 0x01 : Module identification register
90 
91  //! @brief 0x02 : Control register 1 and status register 1
92  union
93  {
94 
95  //! @brief 0x02 : Control register 1
97 
98  //! @brief 0x02 : Status register 1
100 
101  };
102 
103  //! @brief 0x03 : Control register 2 and status register 2
104  union
105  {
106 
107  //! @brief 0x03 : Control register 2
109 
110  //! @brief 0x03 : Status register 2
112 
113  };
114 
115  //! @brief 0x04 : Inlet pressure ADC raw data register address
117 
118  //! @brief 0x05 : Outlet pressure ADC raw data register address
120 
121  //! @brief 0x06 : Inlet temperature ADC raw data register address
123 
124  //! @brief 0x07 : Outlet temperature ADC raw data register address
126 
127  //! @brief 0x08 : Power unit GSI 1 temperature ADC raw data register
129 
130  //! @brief 0x09 : Power unit GSI 2 temperature ADC raw data register
132 
133  //! @brief 0x0A : Power unit GSI 3 temperature ADC raw data register
135 
136  //! @brief 0x0B : Power unit RSI 1 temperature ADC raw data register
138 
139  //! @brief 0x0C : Power unit RSI 2 temperature ADC raw data register
141 
142  //! @brief 0x0D : Power unit RSI 3 temperature ADC raw data register
144 
145  //! @brief 0x0E : Ballast unit 1 temperature ADC raw data register
147 
148  //! @brief 0x0F : Ballast unit 2 temperature ADC raw data register
150 
151  //! @brief 0x10 : Inductor GSI temperature ADC raw data register address
153 
154  //! @brief 0x11 : Inductor RSI temperature ADC raw data register address
156 
157  //! @brief 0x12 : Cabinet 1 temperature ADC raw data register
159 
160  //! @brief 0x13 : Cabinet 2 temperature ADC raw data register
162 
163  //! @brief 0x14 : Cabinet 3 temperature ADC raw data register
165 
166  //! @brief 0x15 : Cabinet 4 temperature ADC raw data register
168 
169  //! @brief 0x16 : Cabinet 5 temperature ADC raw data register
171 
172  //! @brief 0x17 : Cabinet 6 temperature ADC raw data register
174 
175  //! @brief 0x18 : Environment temperature ADC raw data register
177 
179 
180  //--------------------------------------------------------------------------
181  // Constructor and destructor methods
182  //--------------------------------------------------------------------------
183 
184  //!-------------------------------------------------------------------------
185  //! @brief Function block class constructor method.
186  //! @note None
187  //! \par Override
188  //! Not allowed
189  //! @attention Don't call this method directly.
190  //--------------------------------------------------------------------------
191 
193 
194  //!-------------------------------------------------------------------------
195  //! @brief Function block class desstructor method.
196  //! @note None
197  //! \par Override
198  //! Not allowed
199  //! @attention Don't call this method directly.
200  //--------------------------------------------------------------------------
201 
203 
204  //!-------------------------------------------------------------------------
205  //! @brief Hardware mapping method.
206  //! @note None
207  //! @param [in] *struct_Registers_Base_Address - Base adress to register structure mapping
208  //! \par Override
209  //! Not allowed
210  //! @attention None
211  //--------------------------------------------------------------------------
212 
213  VOID Map( TP021_12_KG3_Cooling_System_Model_Emulator_Registers *struct_Registers_Base_Address );
214 
215  //--------------------------------------------------------------------------
216  // Function block data processing methods
217  //--------------------------------------------------------------------------
218 
219  //!-------------------------------------------------------------------------
220  //! @brief Function block initialisation method.
221  //! @note None
222  //! \par Override
223  //! Not allowed
224  //! @attention None
225  //--------------------------------------------------------------------------
226 
227  virtual VOID Init();
228 
229  //!-------------------------------------------------------------------------
230  //! @brief Function block execution method.
231  //! @note None
232  //! \par Override
233  //! Not allowed
234  //! @attention None
235  //--------------------------------------------------------------------------
236 
237  virtual VOID Execute();
238 
239  //--------------------------------------------------------------------------
240  // Function block parameters
241  //--------------------------------------------------------------------------
242 
243  //--------------------------------------------------------------------------
244  // Function block inputs
245  //--------------------------------------------------------------------------
246 
247  //--------------------------------------------------------------------------
248  // FAN SPEED
249  //--------------------------------------------------------------------------
250 
251  //! @brief Fan speed gain
253 
254  //! @brief Fan speed offset
256 
257  //! @brief Fan speed emulator value
259 
260  //--------------------------------------------------------------------------
261  // FUSES AND CONTACTORS
262  //--------------------------------------------------------------------------
263 
264  //! @brief EMU ICS fuse status
266 
267  //! @brief EMU heater fuse status
269 
270  //! @brief EMU pump fuse status
272 
273  //! @brief EMU heat exchanger fuse status
275 
276  //! @brief Heater contactor status
278 
279  //! @brief Pump contactor status
281 
282  //! @brief He Fan contactor status
284 
285  //--------------------------------------------------------------------------
286  // GSI 1 TEMPEARATURE
287  //--------------------------------------------------------------------------
288 
289  //! @brief 1 GSI temperature value
291 
292  //--------------------------------------------------------------------------
293  // GSI 2 TEMPEARATURE
294  //--------------------------------------------------------------------------
295 
296  //! @brief 2 GSI temperature value
298 
299  //--------------------------------------------------------------------------
300  // GSI 3 TEMPEARATURE
301  //--------------------------------------------------------------------------
302 
303  //! @brief 3 GSI temperature value
305 
306  //--------------------------------------------------------------------------
307  // RSI 1 TEMPEARATURE
308  //--------------------------------------------------------------------------
309 
310  //! @brief 1 RSI temperature value
312 
313  //--------------------------------------------------------------------------
314  // RSI 2 TEMPEARATURE
315  //--------------------------------------------------------------------------
316 
317  //! @brief 2 RSI temperature value
319 
320  //--------------------------------------------------------------------------
321  // RSI 3 TEMPEARATURE
322  //--------------------------------------------------------------------------
323 
324  //! @brief 3 RSI temperature value
326 
327  //--------------------------------------------------------------------------
328  // BALLAST 1 TEMPEARATURE
329  //--------------------------------------------------------------------------
330 
331  //! @brief 1 BALLAST temperature value
333 
334  //--------------------------------------------------------------------------
335  // BALLAST 2 TEMPEARATURE
336  //--------------------------------------------------------------------------
337 
338  //! @brief 2 BALLAST temperature value
340 
341  //--------------------------------------------------------------------------
342  // INDUCTOR_GSI TEMPEARATURE
343  //--------------------------------------------------------------------------
344 
345  //! @brief INDUCTOR_GSI temperature value
347 
348  //--------------------------------------------------------------------------
349  // INDUCTOR_RSI TEMPEARATURE
350  //--------------------------------------------------------------------------
351 
352  //! @brief INDUCTOR_RSI temperature value
354 
355  //--------------------------------------------------------------------------
356  // Cabinet 1 TEMPEARATURE
357  //--------------------------------------------------------------------------
358 
359  //! @brief 1 Cabinet temperature value
361 
362  //! @brief 1 Cabinet door control
364 
365  //! @brief 1 Cabinet emergancy stop control
367 
368  //--------------------------------------------------------------------------
369  // Cabinet 2 TEMPEARATURE
370  //--------------------------------------------------------------------------
371 
372  //! @brief 2 Cabinet temperature value
374 
375  //! @brief 2 Cabinet door control
377 
378  //! @brief 2 Cabinet emergancy stop control
380 
381  //--------------------------------------------------------------------------
382  // Cabinet 3 TEMPEARATURE
383  //--------------------------------------------------------------------------
384 
385  //! @brief 3 Cabinet temperature value
387 
388  //! @brief 3 Cabinet door control
390 
391  //! @brief 3 Cabinet emergancy stop control
393 
394  //--------------------------------------------------------------------------
395  // Cabinet 4 TEMPEARATURE
396  //--------------------------------------------------------------------------
397 
398  //! @brief 4 Cabinet temperature value
400 
401  //! @brief 4 Cabinet door control
403 
404  //! @brief 4 Cabinet emergancy stop control
406 
407  //--------------------------------------------------------------------------
408  // Cabinet 5 TEMPEARATURE
409  //--------------------------------------------------------------------------
410 
411  //! @brief 5 Cabinet temperature value
413 
414  //! @brief 5 Cabinet door control
416 
417  //! @brief 5 Cabinet emergancy stop control
419 
420  //--------------------------------------------------------------------------
421  // Cabinet 6 TEMPEARATURE
422  //--------------------------------------------------------------------------
423 
424  //! @brief 6 Cabinet temperature value
426 
427  //! @brief 6 Cabinet door control
429 
430  //! @brief 6 Cabinet emergancy stop control
432 
433  //--------------------------------------------------------------------------
434  // INLET TEMPEARATURE
435  //--------------------------------------------------------------------------
436 
437  //! @brief Inlet temperature emulator value
439 
440  //--------------------------------------------------------------------------
441  // OUTLET TEMPEARATURE
442  //--------------------------------------------------------------------------
443 
444  //! @brief Outlet temperature emulator value
446 
447  //--------------------------------------------------------------------------
448  // INLET PRESSURE
449  //--------------------------------------------------------------------------
450 
451  //! @brief Inlet pressure emulator value
453 
454  //! @brief High inlet pressure bound
456 
457  //! @brief Low inlet pressure bound
459 
460  //! @brief Outlet pressure gain
462 
463  //! @brief 32-bit floating point input
465 
466  //! @brief 32-bit floating point input
468 
469  //--------------------------------------------------------------------------
470  // OUTLET PRESSURE
471  //--------------------------------------------------------------------------
472 
473  //! @brief Outlet pressure emulator value
475 
476  //! @brief High outlet pressure bound
478 
479  //! @brief Low outlet pressure bound
481 
482  //! @brief Intlet pressure gain
484 
485  //! @brief 32-bit floating point input
487 
488  //! @brief 32-bit floating point input
490 
491  //--------------------------------------------------------------------------
492  // WATER MASS FLOW
493  //--------------------------------------------------------------------------
494 
495  //! @brief Water mass flow emulator gain
497 
498  //! @brief Water mass flow emulator offset
500 
501  //! @brief Water mass flow emulator value
503 
504  //--------------------------------------------------------------------------
505  // ENVIRONMENT TEMPERATURE
506  //--------------------------------------------------------------------------
507 
508  //! @brief Environment temperature value
510 
511  //--------------------------------------------------------------------------
512  // Function block outputs
513  //--------------------------------------------------------------------------
514 
515  //! @brief Heater contactor control
517 
518  //! @brief Pump contactor control
520 
521  //! @brief Heat exchanger contactor control
523 
524  //----------------------------------------------------------------------------
525  // Protected variables and methods
526  //----------------------------------------------------------------------------
527 
528  protected:
529 
530  //----------------------------------------------------------------------------
531  // Private variables and methods
532  //----------------------------------------------------------------------------
533 
534  private:
535 
536  //! @brief Structure control register 1 for bit parsing
537  typedef union
538  {
539 
540  //! @brief Raw data
542 
543  //! @brief Structure of the bits
544  struct
545  {
546 
547  //! @brief Bit 0, EMU ICS fuse status
549 
550  //! @brief Bit 1, EMU heater fuse status
552 
553  //! @brief Bit 2, EMU pump fuse status
555 
556  //! @brief Bit 3, EMU heat exchanger fuse status
558 
559  //! @brief Bit 4, EMU heater contactor status
561 
562  //! @brief Bit 5, EMU pump contactor status
564 
565  //! @brief Bit 6, EMU heat exchanger contactor status
567 
568  //! @brief Bits 7..15, unused bits
569  U16 :9;
570 
571  };
572 
573  } TControl_Register;
574 
575  //! @brief Structure status register 1 for bit parsing
576  typedef union
577  {
578 
579  //! @brief Raw data
581 
582  //! @brief Structure of the bits
583  struct
584  {
585 
586  //! @brief Bit 0, EMU heater contactor control
588 
589  //! @brief Bit 1, EMU pump contactor control
591 
592  //! @brief Bit 2, EMU heat exchanger contactor control
594 
595  //! @brief Bits 3..15, unused bits
596  U16 :13;
597 
598  };
599 
600  } TStatus_Register;
601 
602  //! @brief Structure control register 2 for bit parsing
603  typedef union
604  {
605 
606  //! @brief Raw data
608 
609  //! @brief Structure of the bits
610  struct
611  {
612 
613  //! @brief Bit 0, EMU cabinet 1 door contact status
615 
616  //! @brief Bit 1, EMU cabinet 2 door contact status
618 
619  //! @brief Bit 2, EMU cabinet 3 door contact status
621 
622  //! @brief Bit 3, EMU cabinet 4 door contact status
624 
625  //! @brief Bit 4, EMU cabinet 5 door contact status
627 
628  //! @brief Bit 5, EMU cabinet 6 door contact status
630 
631  //! @brief Bit 6, EMU cabinet 1 emergeny stop button contact status
633 
634  //! @brief Bit 7, EMU cabinet 2 emergeny stop button contact status
636 
637  //! @brief Bit 8, EMU cabinet 3 emergeny stop button contact status
639 
640  //! @brief Bit 9, EMU cabinet 4 emergeny stop button contact status
642 
643  //! @brief Bit 10, EMU cabinet 5 emergeny stop button contact status
645 
646  //! @brief Bit 11, EMU cabinet 6 emergeny stop button contact status
648 
649  //! @brief Bits 12..15, unused bits
650  U16 :4;
651 
652  };
653 
654  } TControl_Register_2;
655 
656  //! @brief Structure status register 2 for bit parsing
657  typedef union
658  {
659 
660  //! @brief Raw data
662 
663  //! @brief Structure of the bits
664  struct
665  {
666 
667  //! @brief Bit 0, EMU cabinet 1 heater contactor control
669 
670  //! @brief Bit 1, EMU cabinet 2 heater contactor control
672 
673  //! @brief Bit 2, EMU cabinet 3 heater contactor control
675 
676  //! @brief Bit 3, EMU cabinet 4 heater contactor control
678 
679  //! @brief Bit 4, EMU cabinet 5 heater contactor control
681 
682  //! @brief Bit 5, EMU cabinet 6 heater contactor control
684 
685  //! @brief Bit 6, EMU cabinet 1 fan contactor control
687 
688  //! @brief Bit 7, EMU cabinet 2 fan contactor control
690 
691  //! @brief Bit 8, EMU cabinet 3 fan contactor control
693 
694  //! @brief Bit 9, EMU cabinet 4 fan contactor control
696 
697  //! @brief Bit 10, EMU cabinet 5 fan contactor control
699 
700  //! @brief Bit 11, EMU cabinet 6 fan contactor control
702 
703  //! @brief Bits 12..15, unused bits
704  U16 :4;
705 
706  };
707 
708  } TStatus_Register_2;
709 
710  //! @brief object PRT
712 
713  //! @brief Inlet pressure sensor current value
715 
716  //! @brief Outlet pressure sensor current value
718 
719  //! @brief Inlet pressure range
721 
722  //! @brief Outlet pressure range
724 
725  //! @brief Coefficient for inlet pressure
727 
728  //! @brief Coefficient for outlet pressure
730 
731  //! @brief Offset for inlet pressure
733 
734  //! @brief Offset for outlet pressure
736 
737  //! @brief Pointer to the memory area in FPGA address space
739 
740 };
741 
742 //------------------------------------------------------------------------------
743 // End of file
744 //------------------------------------------------------------------------------
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
float F32
IEEE-754 32-Bit single presession floating point numbers datatype defenition.
Definition: Defines.h:324
unsigned short U16
Binary 16-Bit unsigned integer datatype defenition.
Definition: Defines.h:193
Function block base class header file.
Cooling model generic class header file.
Platinum resistance thermometers 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
Function block class declaration.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:73
TBlock_Input_Connector object_f32_Outlet_Pressure_Gain
Intlet pressure gain.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:483
F32 f32_Offset_Inlet_Pressure
Offset for inlet pressure.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:732
TBlock_Input_Connector object_f32_Cabinet_1_Emergancy_Stop_Control
1 Cabinet emergancy stop control
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:366
TBlock_Output_Connector object_bool_EMU_Heat_Exchanger_Contactor_Control
Heat exchanger contactor control.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:522
TBlock_Input_Connector object_f32_Cabinet_2_Door_Control
2 Cabinet door control
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:376
TBlock_Input_Connector object_f32_Outlet_Pressure_Offset
32-bit floating point input
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:486
TBlock_Input_Connector object_f32_Cabinet_1_Door_Control
1 Cabinet door control
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:363
TBlock_Input_Connector object_f32_Inlet_Pressure_Gain
Outlet pressure gain.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:461
volatile TP021_12_KG3_Cooling_System_Model_Emulator_Registers * struct_Registers
Pointer to the memory area in FPGA address space.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:738
TBlock_Input_Connector object_f32_LCS_Water_Mass_Flow_Offset
Water mass flow emulator offset.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:499
TBlock_Input_Connector object_f32_Cabinet_4_Emergancy_Stop_Control
4 Cabinet emergancy stop control
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:405
virtual VOID Execute()
Function block execution method.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.cpp:240
TBlock_Input_Connector object_f32_Fan_Speed_Gain
Fan speed gain.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:252
TBlock_Input_Connector object_f32_LCS_Outlet_Temperature_Emulator
Outlet temperature emulator value.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:445
TBlock_Input_Connector object_f32_Cabinet_4_Door_Control
4 Cabinet door control
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:402
TBlock_Input_Connector object_f32_Cabinet_3_Emergancy_Stop_Control
3 Cabinet emergancy stop control
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:392
TBlock_Input_Connector object_f32_INDUCTOR_RSI_Temperature_Emulator
INDUCTOR_RSI temperature value.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:353
TBlock_Input_Connector object_f32_RSI_3_Temperature_Emulator
3 RSI temperature value
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:325
TBlock_Input_Connector object_f32_Analog_Input_Full_Scale_Outlet_Pressure_Current
32-bit floating point input
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:489
TBlock_Input_Connector object_f32_GSI_1_Temperature_Emulator
1 GSI temperature value
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:290
TBlock_Input_Connector object_f32_Cabinet_4_Temperature_Emulator
4 Cabinet temperature value
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:399
TBlock_Input_Connector object_f32_Analog_Input_Full_Scale_Inlet_Pressure_Current
32-bit floating point input
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:467
TBlock_Output_Connector object_bool_EMU_Heater_Contactor_Control
Heater contactor control.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:516
TBlock_Input_Connector object_f32_RSI_2_Temperature_Emulator
2 RSI temperature value
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:318
TBlock_Input_Connector object_f32_Inlet_Pressure_Offset
32-bit floating point input
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:464
TP021_12_KG3_Cooling_System_Model_Emulator()
Function block class constructor method.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.cpp:67
F32 f32_Range_Inlet_Pressure
Inlet pressure range.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:720
TBlock_Input_Connector object_bool_LCS_Heater_Contactor_Status_Emulator
Heater contactor status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:277
TBlock_Input_Connector object_f32_BALLAST_Unit_1_Temperature_Emulator
1 BALLAST temperature value
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:332
TBlock_Input_Connector object_f32_Low_Bound_Outlet_Pressure
Low outlet pressure bound.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:480
TBlock_Input_Connector object_f32_Cabinet_2_Temperature_Emulator
2 Cabinet temperature value
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:373
TBlock_Input_Connector object_f32_Cabinet_5_Temperature_Emulator
5 Cabinet temperature value
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:412
TBlock_Input_Connector object_f32_High_Bound_Inlet_Pressure
High inlet pressure bound.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:455
TBlock_Input_Connector object_f32_LCS_Inlet_Temperature_Emulator
Inlet temperature emulator value.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:438
TBlock_Input_Connector object_f32_LCS_Inlet_Pressure_Emulator
Inlet pressure emulator value.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:452
TBlock_Input_Connector object_f32_Low_Bound_Inlet_Pressure
Low inlet pressure bound.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:458
TBlock_Input_Connector object_f32_GSI_2_Temperature_Emulator
2 GSI temperature value
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:297
TBlock_Input_Connector object_f32_Fan_Speed_Offset
Fan speed offset.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:255
F32 f32_Offset_Outlet_Pressure
Offset for outlet pressure.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:735
TBlock_Input_Connector object_f32_Cabinet_1_Temperature_Emulator
1 Cabinet temperature value
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:360
TBlock_Input_Connector object_f32_Cabinet_6_Door_Control
6 Cabinet door control
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:428
TBlock_Output_Connector object_bool_EMU_PUMP_Contactor_Control
Pump contactor control.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:519
TBlock_Input_Connector object_f32_Cabinet_3_Temperature_Emulator
3 Cabinet temperature value
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:386
TBlock_Input_Connector object_bool_LCS_Pump_Contactor_Status_Emulator
Pump contactor status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:280
TBlock_Input_Connector object_bool_EMU_Pump_Fuse_Status
EMU pump fuse status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:271
TBlock_Input_Connector object_f32_Environment_Temperature_Emulator
Environment temperature value.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:509
TBlock_Input_Connector object_bool_EMU_Heat_Exchanger_Fuse_Status
EMU heat exchanger fuse status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:274
TBlock_Input_Connector object_f32_Cabinet_6_Emergancy_Stop_Control
6 Cabinet emergancy stop control
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:431
TBlock_Input_Connector object_f32_GSI_3_Temperature_Emulator
3 GSI temperature value
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:304
TBlock_Input_Connector object_bool_EMU_ICS_Fuse_Status
EMU ICS fuse status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:265
TBlock_Input_Connector object_f32_Cabinet_3_Door_Control
3 Cabinet door control
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:389
TBlock_Input_Connector object_f32_High_Bound_Outlet_Pressure
High outlet pressure bound.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:477
TBlock_Input_Connector object_f32_LCS_Water_Mass_Flow_Emulator
Water mass flow emulator value.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:502
TBlock_Input_Connector object_f32_BALLAST_Unit_2_Temperature_Emulator
2 BALLAST temperature value
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:339
F32 f32_K_Outlet_Pressure
Coefficient for outlet pressure.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:729
F32 f32_Inlet_Pressure_Sensor_Current
Inlet pressure sensor current value.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:714
F32 f32_Range_Outlet_Pressure
Outlet pressure range.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:723
TBlock_Input_Connector object_f32_LCS_Outlet_Pressure_Emulator
Outlet pressure emulator value.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:474
TBlock_Input_Connector object_f32_Cabinet_5_Door_Control
5 Cabinet door control
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:415
TBlock_Input_Connector object_f32_LCS_Water_Mass_Flow_Gain
Water mass flow emulator gain.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:496
TBlock_Input_Connector object_f32_RSI_1_Temperature_Emulator
1 RSI temperature value
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:311
~TP021_12_KG3_Cooling_System_Model_Emulator()
Function block class desstructor method.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.cpp:147
TPRT object_PRT
object PRT
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:711
TBlock_Input_Connector object_f32_Cabinet_2_Emergancy_Stop_Control
2 Cabinet emergancy stop control
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:379
TBlock_Input_Connector object_f32_Cabinet_6_Temperature_Emulator
6 Cabinet temperature value
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:425
VOID Map(TP021_12_KG3_Cooling_System_Model_Emulator_Registers *struct_Registers_Base_Address)
Hardware mapping method.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.cpp:155
TBlock_Input_Connector object_f32_Fan_Speed_Emulator
Fan speed emulator value.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:258
TBlock_Input_Connector object_bool_LCS_He_Fan_Contactor_Status_Emulator
He Fan contactor status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:283
TBlock_Input_Connector object_f32_Cabinet_5_Emergancy_Stop_Control
5 Cabinet emergancy stop control
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:418
F32 f32_K_Inlet_Pressure
Coefficient for inlet pressure.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:726
virtual VOID Init()
Function block initialisation method.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.cpp:170
TBlock_Input_Connector object_f32_INDUCTOR_GSI_Temperature_Emulator
INDUCTOR_GSI temperature value.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:346
F32 f32_Outlet_Pressure_Sensor_Current
Outlet pressure sensor current value.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:717
TBlock_Input_Connector object_bool_EMU_Heater_Fuse_Status
EMU heater fuse status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:268
Platinum resistance thermometers (PRT) class.
Definition: PRT_Sensor.h:74
Register structure for generic access.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:83
U16 u16_Cabinet_6_Temperature_ADC_Raw_Data_Register
0x17 : Cabinet 6 temperature ADC raw data register
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:173
U16 u16_Unit_ID_H
0x01 : Module identification register
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:89
U16 u16_Unit_ID_L
0x00 : Module identification register
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:86
U16 u16_Power_Unit_RSI_2_Temperature_ADC_Raw_Data_Register
0x0C : Power unit RSI 2 temperature ADC raw data register
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:140
U16 u16_Status_Register_2
0x03 : Status register 2
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:111
U16 u16_Cabinet_4_Temperature_ADC_Raw_Data_Register
0x15 : Cabinet 4 temperature ADC raw data register
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:167
U16 u16_Cabinet_1_Temperature_ADC_Raw_Data_Register
0x12 : Cabinet 1 temperature ADC raw data register
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:158
U16 u16_Status_Register_1
0x02 : Status register 1
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:99
U16 u16_Cabinet_2_Temperature_ADC_Raw_Data_Register
0x13 : Cabinet 2 temperature ADC raw data register
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:161
U16 u16_Control_Register_2
0x03 : Control register 2
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:108
U16 u16_Inductor_GSI_Temperature_ADC_Raw_Data_Register_Address
0x10 : Inductor GSI temperature ADC raw data register address
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:152
U16 u16_Power_Unit_RSI_3_Temperature_ADC_Raw_Data_Register
0x0D : Power unit RSI 3 temperature ADC raw data register
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:143
U16 u16_Outlet_Temperature_ADC_Raw_Data_Register
0x07 : Outlet temperature ADC raw data register address
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:125
U16 u16_Power_Unit_GSI_1_Temperature_ADC_Raw_Data_Register
0x08 : Power unit GSI 1 temperature ADC raw data register
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:128
U16 u16_Power_Unit_RSI_1_Temperature_ADC_Raw_Data_Register
0x0B : Power unit RSI 1 temperature ADC raw data register
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:137
U16 u16_Inlet_Temperature_ADC_Raw_Data_Register
0x06 : Inlet temperature ADC raw data register address
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:122
U16 u16_Environment_Temperature_ADC_Raw_Data_Register
0x18 : Environment temperature ADC raw data register
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:176
U16 u16_Control_Register_1
0x02 : Control register 1
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:96
U16 u16_Outlet_Pressure_ADC_Raw_Data_Register
0x05 : Outlet pressure ADC raw data register address
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:119
U16 u16_Ballast_Unit_1_Temperature_ADC_Raw_Data_Register
0x0E : Ballast unit 1 temperature ADC raw data register
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:146
U16 u16_Inductor_RSI_Temperature_ADC_Raw_Data_Register_Address
0x11 : Inductor RSI temperature ADC raw data register address
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:155
U16 u16_Cabinet_5_Temperature_ADC_Raw_Data_Register
0x16 : Cabinet 5 temperature ADC raw data register
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:170
U16 u16_Ballast_Unit_2_Temperature_ADC_Raw_Data_Register
0x0F : Ballast unit 2 temperature ADC raw data register
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:149
U16 u16_Power_Unit_GSI_2_Temperature_ADC_Raw_Data_Register
0x09 : Power unit GSI 2 temperature ADC raw data register
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:131
U16 u16_Inlet_Pressure_ADC_Raw_Data_Register
0x04 : Inlet pressure ADC raw data register address
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:116
U16 u16_Power_Unit_GSI_3_Temperature_ADC_Raw_Data_Register
0x0A : Power unit GSI 3 temperature ADC raw data register
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:134
U16 u16_Cabinet_3_Temperature_ADC_Raw_Data_Register
0x14 : Cabinet 3 temperature ADC raw data register
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:164
U16 bool_EMU_Cabinet_2_Door_Contact_Status
Bit 1, EMU cabinet 2 door contact status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:617
U16 bool_EMU_Cabinet_3_Emergency_Button_Contact_Status
Bit 8, EMU cabinet 3 emergeny stop button contact status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:638
U16 bool_EMU_Cabinet_6_Emergency_Button_Contact_Status
Bit 11, EMU cabinet 6 emergeny stop button contact status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:647
U16 bool_EMU_Cabinet_6_Door_Contact_Status
Bit 5, EMU cabinet 6 door contact status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:629
U16 u16_Raw_Data
Raw data.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:607
U16 bool_EMU_Cabinet_4_Emergency_Button_Contact_Status
Bit 9, EMU cabinet 4 emergeny stop button contact status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:641
U16 bool_EMU_Cabinet_1_Door_Contact_Status
Bit 0, EMU cabinet 1 door contact status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:614
U16 bool_EMU_Cabinet_4_Door_Contact_Status
Bit 3, EMU cabinet 4 door contact status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:623
U16 bool_EMU_Cabinet_5_Door_Contact_Status
Bit 4, EMU cabinet 5 door contact status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:626
U16 bool_EMU_Cabinet_1_Emergency_Button_Contact_Status
Bit 6, EMU cabinet 1 emergeny stop button contact status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:632
U16 bool_EMU_Cabinet_2_Emergency_Button_Contact_Status
Bit 7, EMU cabinet 2 emergeny stop button contact status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:635
U16 bool_EMU_Cabinet_5_Emergency_Button_Contact_Status
Bit 10, EMU cabinet 5 emergeny stop button contact status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:644
U16 bool_EMU_Cabinet_3_Door_Contact_Status
Bit 2, EMU cabinet 3 door contact status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:620
U16 bool_EMU_Heater_Contactor_Status
Bit 4, EMU heater contactor status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:560
U16 bool_EMU_Pump_Fuse_Status
Bit 2, EMU pump fuse status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:554
U16 bool_EMU_Pump_Contactor_Status
Bit 5, EMU pump contactor status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:563
U16 bool_EMU_Heater_Fuse_Status
Bit 1, EMU heater fuse status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:551
U16 bool_EMU_ICS_Fuse_Status
Bit 0, EMU ICS fuse status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:548
U16 bool_EMU_Heat_Exchanger_Contactor_Status
Bit 6, EMU heat exchanger contactor status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:566
U16 bool_EMU_Heat_Exchanger_Fuse_Status
Bit 3, EMU heat exchanger fuse status.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:557
U16 u16_Raw_Data
Raw data.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:541
U16 bool_EMU_Cabinet_4_Fan_Contactor_Control
Bit 9, EMU cabinet 4 fan contactor control.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:695
U16 bool_EMU_Cabinet_6_Fan_Contactor_Control
Bit 11, EMU cabinet 6 fan contactor control.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:701
U16 bool_EMU_Cabinet_2_Heater_Contactor_Control
Bit 1, EMU cabinet 2 heater contactor control.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:671
U16 bool_EMU_Cabinet_3_Fan_Contactor_Control
Bit 8, EMU cabinet 3 fan contactor control.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:692
U16 bool_EMU_Cabinet_1_Heater_Contactor_Control
Bit 0, EMU cabinet 1 heater contactor control.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:668
U16 bool_EMU_Cabinet_5_Fan_Contactor_Control
Bit 10, EMU cabinet 5 fan contactor control.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:698
U16 bool_EMU_Cabinet_5_Heater_Contactor_Control
Bit 4, EMU cabinet 5 heater contactor control.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:680
U16 bool_EMU_Cabinet_2_Fan_Contactor_Control
Bit 7, EMU cabinet 2 fan contactor control.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:689
U16 bool_EMU_Cabinet_3_Heater_Contactor_Control
Bit 2, EMU cabinet 3 heater contactor control.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:674
U16 u16_Raw_Data
Raw data.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:661
U16 bool_EMU_Cabinet_4_Heater_Contactor_Control
Bit 3, EMU cabinet 4 heater contactor control.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:677
U16 bool_EMU_Cabinet_6_Heater_Contactor_Control
Bit 5, EMU cabinet 6 heater contactor control.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:683
U16 bool_EMU_Cabinet_1_Fan_Contactor_Control
Bit 6, EMU cabinet 1 fan contactor control.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:686
U16 bool_EMU_Heater_Contactor_Control
Bit 0, EMU heater contactor control.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:587
U16 u16_Raw_Data
Raw data.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:580
U16 bool_EMU_Heat_Exchanger_Contactor_Control
Bit 2, EMU heat exchanger contactor control.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:593
U16 bool_EMU_Pump_Contactor_Control
Bit 1, EMU pump contactor control.
Definition: P021_12_KG3_Cooling_System_Model_Emulator.h:590