ConOpSys V2970  P004.07
ANVILEX control operating system
Classes | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
TFunction_Block_Cooling_System_Model Class Reference

Functional block class declaration. More...

#include <Function_Block_Cooling_System_Model.h>

Inheritance diagram for TFunction_Block_Cooling_System_Model:
Inheritance graph
Collaboration diagram for TFunction_Block_Cooling_System_Model:
Collaboration graph

Classes

struct  Properties
 General structure of properties of substances. More...
 

Public Member Functions

 TFunction_Block_Cooling_System_Model ()
 Function block class constructor method. More...
 
 ~TFunction_Block_Cooling_System_Model ()
 Function block class desstructor method. More...
 
virtual VOID Init ()
 Functional block initialisation method. More...
 
virtual VOID Execute ()
 Functional block execution method. More...
 
- Public Member Functions inherited from TFunction_Block_Base
 TFunction_Block_Base (U32 u32_Function_ID)
 Class constructor method. More...
 
virtual ~TFunction_Block_Base ()
 Class destructor method. More...
 
VOID Connect ()
 Function block connect method. More...
 
VOID Init ()
 Function block initialisation method. More...
 
virtual VOID Done ()
 Function block finalisation method. More...
 
virtual VOID Update ()
 Update parameters at runtime method. More...
 
virtual VOID Trip ()
 Function block trip method. More...
 
U32 Get_Function_Block_ID ()
 Get function block dentifier. More...
 
VOID Set_Initialisation_Error ()
 Set function block initialisation error. More...
 
BOOL Is_Initialisation_Error ()
 Return function block initialisation error status. More...
 
VOID Append_Connected_Status (BOOL *bool_Connected_Status)
 Append interconnection status of the function block. More...
 
BOOL Is_Connected ()
 Returns status of the function block interconnection. More...
 
BOOL Is_Initialised ()
 Returns status of the function block interconnection. More...
 
BOOL Get_Input_Connector (U32 u32_Connector_Index, TBlock_Input_Connector **object_Input_Connector)
 Get pointer to the input connector. More...
 
BOOL Get_Output_Connector (U32 u32_Connector_Index, TBlock_Output_Connector **object_Output_Connector)
 Get pointer to the output connector. More...
 
TFunction_Block_Status Get_Status ()
 Get function block status method. More...
 
virtual VOID Send_Information (TProtocol_Base *object_Protocol)
 Send information about Function block over communication link protocol. More...
 
__fastcall TBlock_Template (TComponent *Owner, TList *Storage)
 
__fastcall ~TBlock_Template ()
 
void __fastcall CreateBlock ()
 
virtual void __fastcall Paint ()
 
virtual bool __fastcall PropertiesDialog ()
 
virtual void __fastcall SaveToProjectFile (TMemIniFile *ProjectFile, AnsiString ParentSection)
 
virtual void __fastcall LoadFromProjectFile (TMemIniFile *ProjectFile, AnsiString ParentSection)
 
virtual void __fastcall SwapBlocks ()
 
virtual void __fastcall RepaintAllBlocks ()
 
VOID __fastcall Load_Block_From_List (TStringList *object_File_Source_CPP, TStringList *object_File_Source_H)
 
VOID __fastcall Get_SQL_Queries (TStringList *object_SQL_Queries)
 

Public Attributes

TBlock_Input_Connector object_f32_IGBT_Power
 Power dissipated in the transistor. More...
 
TBlock_Input_Connector object_f32_Ambient_Temperature
 Ambient temperature. More...
 
TBlock_Input_Connector object_f32_Integration_Step
 Integration step of solver. More...
 
TBlock_Input_Connector object_bool_LCS_Heater_Control
 Heater control signal. More...
 
TBlock_Input_Connector object_bool_LCS_Pump_Control
 Pump control signal. More...
 
TBlock_Input_Connector object_bool_LCS_He_Fan_Control
 Heat exchanger fan control signal. More...
 
TBlock_Input_Connector object_bool_EMU_Heater_Fuse_Status
 EMU heater fuse status. More...
 
TBlock_Input_Connector object_bool_EMU_Pump_Fuse_Status
 EMU pump fuse status. More...
 
TBlock_Input_Connector object_bool_EMU_Heat_Exchanger_Fuse_Status
 EMU heat exchanger fuse status. More...
 
TBlock_Output_Connector object_f32_Fan_Speed
 Fan speed value. More...
 
TBlock_Output_Connector object_f32_Water_Speed
 Water speed value. More...
 
TBlock_Output_Connector object_bool_LCS_Heater_Contactor_Status
 Heater contactor status signal. More...
 
TBlock_Output_Connector object_bool_LCS_Pump_Contactor_Status
 Pump contactor status signal. More...
 
TBlock_Output_Connector object_bool_LCS_He_Fan_Contactor_Status
 Heat exchanger contactor status signal. More...
 
TBlock_Output_Connector object_f32_GSI_1_Temperature
 First IGBT temperature value. More...
 
TBlock_Output_Connector object_f32_GSI_2_Temperature
 Second IGBT temperature value. More...
 
TBlock_Output_Connector object_f32_GSI_3_Temperature
 Third IGBT temperature value. More...
 
TBlock_Output_Connector object_f32_RSI_1_Temperature
 Fourth IGBT temperature value. More...
 
TBlock_Output_Connector object_f32_RSI_2_Temperature
 Fifth IGBT temperature value. More...
 
TBlock_Output_Connector object_f32_RSI_3_Temperature
 Sixth IGBT temperature value. More...
 
TBlock_Output_Connector object_f32_BALLAST_1_Temperature
 Seventh IGBT temperature value. More...
 
TBlock_Output_Connector object_f32_BALLAST_2_Temperature
 Eighth IGBT temperature value. More...
 
TBlock_Output_Connector object_f32_LCS_Inlet_Temperature
 Inlet temperature value. More...
 
TBlock_Output_Connector object_f32_LCS_Outlet_Temperature
 Outlet temperature value. More...
 
TBlock_Output_Connector object_f32_LCS_Inlet_Pressure
 Inlet pressure value. More...
 
TBlock_Output_Connector object_f32_LCS_Outlet_Pressure
 Outlet pressure value. More...
 
TBlock_Output_Connector object_f32_LCS_Water_Mass_Flow
 Water mass flow value. More...
 
TBlock_Output_Connector object_f32_INDUCTOR_GSI_Temperature
 Grid side inductor temperature. More...
 
TBlock_Output_Connector object_f32_INDUCTOR_RSI_Temperature
 Rotor side inductor temperature. More...
 
- Public Attributes inherited from TFunction_Block_Base
TListStorageOfBlocks = (TList*)NULL
 
int BlockID
 
int InputConnectorsCount
 
int OutputConnectorsCount
 
TListStorageOfInputConnectors
 
TListStorageOfOutputConnectors
 
TCore_Template * Core
 
TFooter_Template * Footer
 
TParameters_Template * Parameters
 
bool AutoSize
 
Graphics::TBitmap * Icon
 
__property TNotifyEvent OnInputConnectorSelected = { read = FOnInputConnectorSelected, write = FOnInputConnectorSelected }
 
__property TNotifyEvent OnOutputConnectorSelected = { read = FOnOutputConnectorSelected, write = FOnOutputConnectorSelected }
 
__property TNotifyEvent OnCoreSelected = { read = FOnCoreSelected, write = FOnCoreSelected }
 
__property TNotifyEvent OnModified = { read = FModified, write = FModified }
 
__property TNotifyEvent OnNeedToUpdate = { read = FNeedToUpdate, write = FNeedToUpdate }
 
__property TResolveConnectorAddressEvent OnResolveConnectorAddress = { read = FOnResolveConnectorAddress, write = FOnResolveConnectorAddress }
 
__property AnsiString Label = { read = FLabel, write = FLabel }
 
__property BOOL Border = { read = FBorder, write = FBorder, default = true }
 
__property BOOL Selected = { read = FSelected, write = SetSelectedFlag, default = false }
 
__property BOOL Flipped = { read = FFlipped, write = SetFlippedFlag, default = false }
 

Private Member Functions

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. More...
 
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. More...
 
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. More...
 
F64 nu_air (F64 &Air_temperature)
 Return the value of the kinematic coefficient of air viscosity. More...
 
F64 lambda_air (F64 &Air_temperature)
 Return the value of the coefficient of thermal conductivity of air. More...
 
F64 nu_water (F64 &Water_temperature)
 Return the value of the kinematic coefficient of water viscosity. More...
 
F64 lambda_water (F64 &Water_temperature)
 Return the value of the coefficient of thermal conductivity of water. More...
 

Private Attributes

F64 pi
 Pi. More...
 
Properties Air
 Variable responsible for ambience properties. More...
 
Properties Water
 Variable responsible for water properties. More...
 
volatile Properties Ferrum_IGBT
 Variable responsible for power modules properties. More...
 
Properties Aluminium_Inductor_Heatsink_1
 Variable responsible for the first inductor heatsink properties. More...
 
Properties Aluminium_Inductor_Heatsink_2
 Variable responsible for the second inductor heatsink properties. More...
 
F32 f32_Water_Speed
 Water speed. More...
 
F32 f32_Water_Speed_Active
 Water speed when pump is on. More...
 
F32 f32_Constant_Water_Flow
 Some small constant value of the fluid flow rate. More...
 
F32 ARIA_2
 Fan-cooled system area, [m^2]. More...
 
F32 FAN_D
 Fan diameter, [m]. More...
 
F32 FC_L
 Fan-cooled system length, [m]. More...
 
F32 f32_Fan_Speed
 Fan speed. More...
 
F32 f32_Fan_Speed_Active
 Fan speed when fan is on. More...
 
F32 f32_Constant_Fan_Speed
 Some small constant air velocity
More...
 
F32 F32_Power_Modules_Tube_Diameter
 Diameter of the tube. More...
 
F32 F32_Inductor_Heatsink_Tube_Diameter
 Diameter of the tube in inductor heatsink. More...
 
F32 F32_Tube_Area
 Cross-sectional area of the tube. More...
 
F32 Pin_value
 Inlet pressure normal value. More...
 
F32 Pout_value
 Outlet pressure normal value. More...
 
F32 Tau
 Variable that sets the rise time of the pressure sensor signal. More...
 
F32 P_Inductor
 Power dissipated in inductor. More...
 
F32 Pin
 Variable for storing the value of inlet pressure, [bar]. More...
 
F32 Pout
 Variable for storing the value of outlet pressure, [bar]. More...
 
U32 u32_Timestamp_Heater_On
 Variable for heater status delay. More...
 
U32 u32_Timestamp_Heater_Off
 Variable for heater status delay. More...
 
U32 u32_Timestamp_Pump_On
 Variable for pump status delay. More...
 
U32 u32_Timestamp_Pump_Off
 Variable for pump status delay. More...
 
U32 u32_Timestamp_Fan_On
 Variable for fan status delay. More...
 
U32 u32_Timestamp_Fan_Off
 Variable for fan status delay. More...
 
BOOL bool_Heater_State
 Variable for storing the heater state. More...
 
BOOL bool_Pump_State
 Variable for storing the pump state. More...
 
BOOL bool_Fan_State
 Variable for storing fan state. More...
 

Additional Inherited Members

- Protected Member Functions inherited from TFunction_Block_Base
VOID Update_Connected_Status (BOOL bool_New_Connected_Status)
 Updates function block interconnection status. More...
 
VOID Create_Event (U32 u32_Event_ID)
 Create event method. More...
 
void __fastcall SetSelectedFlag (bool Value)
 
void __fastcall SetFlippedFlag (bool Value)
 
virtual void __fastcall SetNamesOfConnectors ()
 
void __fastcall CorePaint (TObject *Sender)
 
- Protected Attributes inherited from TFunction_Block_Base
TNotifyEvent FModified
 
TNotifyEvent FNeedToUpdate
 
TNotifyEvent FOnInputConnectorSelected
 
TNotifyEvent FOnOutputConnectorSelected
 
TNotifyEvent FOnCoreSelected
 
TResolveConnectorAddressEvent FOnResolveConnectorAddress
 
AnsiString FLabel = ""
 Function block label of the core string. More...
 
BOOL FBorder = (BOOL)true
 Function block border status. More...
 
BOOL FSelected = (BOOL)false
 Function block seleted status. More...
 
BOOL FFlipped = (BOOL)false
 Function block flipped status. More...
 
BOOL LockedMode = (BOOL)false
 
BOOL DobbleClicked = (BOOL)false
 
U32 u32_Locked_Position_X = (U32)0
 
U32 u32_Locked_Position_Y = (U32)0
 

Detailed Description

Functional block class declaration.

Constructor & Destructor Documentation

◆ TFunction_Block_Cooling_System_Model()

TFunction_Block_Cooling_System_Model::TFunction_Block_Cooling_System_Model ( )

Function block class constructor method.


Note
None
Override
Not allowed
Attention
Don't call this method directly.

Mass of water in cooling system

Specific heat capacity of water

Heat capacity of water

Excess of water temperature over ambient temperature

Water temperature

Water speed when pump is off, [m/s]

Water speed when pump is on, [m/s]

Constant value of the fluid flow rate

Mass of all power modules

Specific heat capacity of power module heatsink matter

Heat capacity of power modules heatsink matter

Contact area of the power modules with air

Contact area of the power modules with water

Heat flow path length from power module to water

Heat flow path length from power module to air

Coefficient of thermal conductivity of power module matter

Excess of power module temperature over ambient temperature

Initial value of power module temperature

Density of the first inductor heatsink matter

Specific heat capacity of the first inductor heatsink matter

Mass of the first inductor heatsink matter

Heat capacity of the first inductor heatsink matter

Contact area of the first inductor heatsink with air

Contact area of the first inductor heatsink with water

Coefficient of thermal conductivity of the first inductor heatsink

Heat flow path length of the first inductor heatsink

Excess of the first inductor temperature over ambient temperature

Initial value of the first inductor heatsink temperature

Density of the second inductor heatsink matter

Specific heat capacity of the second inductor heatsink matter

Mass of the second inductor heatsink matter

Heat capacity of the second inductor heatsink matter

Contact area of the second inductor heatsink with air

Contact area of the second inductor heatsink with water

Coefficient of thermal conductivity of the second inductor heatsink

Heat flow path length of the second inductor heatsink

Excess of the second inductor temperature over ambient temperature

Initial value of the second inductor heatsink temperature

Power dissipated on inductor heatsink

Fan-cooled system area, [m^2]

Fan diameter, [m]

Fan-cooled system length, [m]

Fan air speed when fan is off, [m/s]

Fan air speed when fan is on, [m/s]

Constant air velocity

Diameter of the tube

Diameter of the tube in inductor heatsink

Cross-sectional area of the tube

The value of the pressure at the inlet of the cooling system when the pump is on

The value of the pressure at the outlet of the cooling system when the pump is on

The value of the pressure at the inlet of the cooling system with the pump off

The value of the pressure at the outlet of the cooling system with the pump off

The rise time of the pressure sensor signal

References Air, Aluminium_Inductor_Heatsink_1, Aluminium_Inductor_Heatsink_2, ARIA_2, bool_Fan_State, bool_Heater_State, bool_Pump_State, enum_BOOL, enum_F32, TFunction_Block_Cooling_System_Model::Properties::F32_Area, TFunction_Block_Cooling_System_Model::Properties::F32_Coefficient_Of_Thermal_Conductivity, f32_Constant_Fan_Speed, f32_Constant_Water_Flow, TFunction_Block_Cooling_System_Model::Properties::F32_Density, f32_Fan_Speed, f32_Fan_Speed_Active, TFunction_Block_Cooling_System_Model::Properties::F32_Heat_Capacity, TFunction_Block_Cooling_System_Model::Properties::F32_Heat_Flow_Path_Length, F32_Inductor_Heatsink_Tube_Diameter, TFunction_Block_Cooling_System_Model::Properties::F32_Mass, F32_Power_Modules_Tube_Diameter, TFunction_Block_Cooling_System_Model::Properties::F32_Specific_Heat_Capacity, F32_Tube_Area, f32_Water_Speed, f32_Water_Speed_Active, TFunction_Block_Cooling_System_Model::Properties::F64_Delta_Temperature, TFunction_Block_Cooling_System_Model::Properties::F64_Temperature, FAN_D, FC_L, Ferrum_IGBT, object_bool_EMU_Heat_Exchanger_Fuse_Status, object_bool_EMU_Heater_Fuse_Status, object_bool_EMU_Pump_Fuse_Status, object_bool_LCS_He_Fan_Contactor_Status, object_bool_LCS_He_Fan_Control, object_bool_LCS_Heater_Contactor_Status, object_bool_LCS_Heater_Control, object_bool_LCS_Pump_Contactor_Status, object_bool_LCS_Pump_Control, object_f32_Ambient_Temperature, object_f32_BALLAST_1_Temperature, object_f32_BALLAST_2_Temperature, object_f32_Fan_Speed, object_f32_GSI_1_Temperature, object_f32_GSI_2_Temperature, object_f32_GSI_3_Temperature, object_f32_IGBT_Power, object_f32_INDUCTOR_GSI_Temperature, object_f32_INDUCTOR_RSI_Temperature, object_f32_Integration_Step, object_f32_LCS_Inlet_Pressure, object_f32_LCS_Inlet_Temperature, object_f32_LCS_Outlet_Pressure, object_f32_LCS_Outlet_Temperature, object_f32_LCS_Water_Mass_Flow, object_f32_RSI_1_Temperature, object_f32_RSI_2_Temperature, object_f32_RSI_3_Temperature, object_f32_Water_Speed, TBlock_Input_Connector::object_Pointer, P_Inductor, TConOpSys_Variant_Data::pf32_Value, pi, Pin, Pin_value, Pout, Pout_value, TBlock_Connector::Set_Type(), TBlock_Input_Connector::Set_Type(), TConOpSys_Variant::struct_Data, Tau, u32_Timestamp_Fan_Off, u32_Timestamp_Fan_On, u32_Timestamp_Heater_Off, u32_Timestamp_Heater_On, u32_Timestamp_Pump_Off, u32_Timestamp_Pump_On, and Water.

Here is the call graph for this function:

◆ ~TFunction_Block_Cooling_System_Model()

TFunction_Block_Cooling_System_Model::~TFunction_Block_Cooling_System_Model ( )

Function block class desstructor method.


Note
None
Override
Not allowed
Attention
Don't call this method directly.

Member Function Documentation

◆ Execute()

VOID TFunction_Block_Cooling_System_Model::Execute ( )
virtual

Functional block execution method.


Note
None
Override
Not allowed
Attention
None

Reinolds number

Nusselt number

Air heat thermal capacity

Thermal resistance from air

Converting the power module temperature value from Celsius degrees to Kelvin degrees

Converting the ambience temperature value from Celsius degrees to Kelvin degrees

Calculation of the thermal resistance of power module radiator

Calculation of the thermal resistance from power module radiator to environment

Calculation of the thermal resistance from power module to ambience

Reinolds number

Nusselt number

Water heat thermal capacity

Thermal resistance of water

Thermal resistance of IGBT radiator to water

Thermal resistance from IGBT to water

Converting the first inductor heatsink temperature value from Celsius degrees to Kelvin degrees

Thermal resistance from the first inductor heatsink to ambient

Reinolds number

Nusselt number

Water heat thermal capacity

Thermal resistance of water

Thermal resistance of the first inductor heatsink

Thermal resistance from the first inductor heatsink to water

Converting the second inductor heatsink temperature value from Celsius degrees to Kelvin degrees

Thermal resistance from the second inductor heatsink to ambient

Reinolds number

Nusselt number

Water heat thermal capacity

Thermal resistance of water

Thermal resistance of the second inductor heatsink

Thermal resistance from the first inductor heatsink to water

Calculation of the power modules temperature increment

Calculation of the power modules temperature

Calculation of the water temperature increment

Calculation of the water temperature

Calculation of the first inductor heatsink temperature increment

Calculation of the first inductor heatsink temperature

Calculation of the second inductor heatsink temperature increment

Calculation of the second inductor heatsink temperature

Implements TFunction_Block_Base.

References Air, Aluminium_Inductor_Heatsink_1, Aluminium_Inductor_Heatsink_2, ARIA_2, TFunction_Block_Cooling_System_Model::Properties::F32_Area, TFunction_Block_Cooling_System_Model::Properties::F32_Coefficient_Of_Thermal_Conductivity, f32_Constant_Fan_Speed, f32_Constant_Water_Flow, f32_Fan_Speed, f32_Fan_Speed_Active, TFunction_Block_Cooling_System_Model::Properties::F32_Heat_Capacity, TFunction_Block_Cooling_System_Model::Properties::F32_Heat_Flow_Path_Length, F32_Inductor_Heatsink_Tube_Diameter, F32_Power_Modules_Tube_Diameter, F32_Tube_Area, TConOpSys_Variant_Data::f32_Value, f32_Water_Speed, f32_Water_Speed_Active, TFunction_Block_Cooling_System_Model::Properties::F64_Delta_Temperature, TFunction_Block_Cooling_System_Model::Properties::F64_Temperature, FAN_D, Ferrum_IGBT, He_Fan_State_Changer(), Heater_State_Changer(), lambda_air(), lambda_water(), nu_air(), nu_water(), object_bool_EMU_Heat_Exchanger_Fuse_Status, object_bool_EMU_Pump_Fuse_Status, object_bool_LCS_He_Fan_Control, object_bool_LCS_Heater_Control, object_bool_LCS_Pump_Control, object_f32_BALLAST_1_Temperature, object_f32_BALLAST_2_Temperature, object_f32_Fan_Speed, object_f32_GSI_1_Temperature, object_f32_GSI_2_Temperature, object_f32_GSI_3_Temperature, object_f32_IGBT_Power, object_f32_INDUCTOR_GSI_Temperature, object_f32_INDUCTOR_RSI_Temperature, object_f32_Integration_Step, object_f32_LCS_Inlet_Pressure, object_f32_LCS_Inlet_Temperature, object_f32_LCS_Outlet_Pressure, object_f32_LCS_Outlet_Temperature, object_f32_LCS_Water_Mass_Flow, object_f32_RSI_1_Temperature, object_f32_RSI_2_Temperature, object_f32_RSI_3_Temperature, object_f32_Water_Speed, TBlock_Input_Connector::object_Pointer, TBlock_Connector::object_Storage, P_Inductor, TConOpSys_Variant_Data::pbool_Value, Pin, Pin_value, Pout, Pout_value, Pump_State_Changer(), TConOpSys_Variant::struct_Data, Tau, u32_Timestamp_Fan_Off, u32_Timestamp_Fan_On, u32_Timestamp_Heater_Off, u32_Timestamp_Heater_On, u32_Timestamp_Pump_Off, u32_Timestamp_Pump_On, and Water.

Here is the call graph for this function:

◆ He_Fan_State_Changer()

void TFunction_Block_Cooling_System_Model::He_Fan_State_Changer ( BOOL  He_Fan_Control_Status,
U32 u32_Timestamp_On,
U32 u32_Timestamp_Off 
)
private

Switches the state of the fan depending on the control signal.


Note
None
Parameters
[in]He_Fan_Control_Status- The state of the fan control signal [in] u32_Timestamp_On - Turn-on delay timer [in] u32_Timestamp_Off - Turn-off delay timer
Returns
None
Override
Not allowed
Attention
None

References bool_Fan_State, TConOpSys_Variant_Data::bool_Value, TSystem_Timer_Base::Is_Timeout_ms(), object_bool_LCS_He_Fan_Contactor_Status, TBlock_Connector::object_Storage, object_System_Timer, and TConOpSys_Variant::struct_Data.

Referenced by Execute().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Heater_State_Changer()

void TFunction_Block_Cooling_System_Model::Heater_State_Changer ( BOOL  Heater_Control_status,
U32 u32_Timestamp_On,
U32 u32_Timestamp_Off 
)
private

Switches the state of the heater depending on the control signal.


Note
None
Parameters
[in]Heater_Control_status- The state of the heater control signal [in] u32_Timestamp_On - Turn-on delay timer [in] u32_Timestamp_Off - Turn-off delay timer
Returns
None
Override
Not allowed
Attention
None

References bool_Heater_State, TConOpSys_Variant_Data::bool_Value, TSystem_Timer_Base::Is_Timeout_ms(), object_bool_LCS_Heater_Contactor_Status, TBlock_Connector::object_Storage, object_System_Timer, and TConOpSys_Variant::struct_Data.

Referenced by Execute().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Init()

VOID TFunction_Block_Cooling_System_Model::Init ( )
virtual

Functional block initialisation method.


Note
None
Override
Not allowed
Attention
None

◆ lambda_air()

F64 TFunction_Block_Cooling_System_Model::lambda_air ( F64 Air_temperature)
private

Return the value of the coefficient of thermal conductivity of air.


Note
None
Parameters
[in]Air_temperature- The value of ambient temperature
Returns
F64 - Return value of the coefficient of thermal conductivity of air
Override
Not allowed
Attention
None

Referenced by Execute().

Here is the caller graph for this function:

◆ lambda_water()

F64 TFunction_Block_Cooling_System_Model::lambda_water ( F64 Water_temperature)
private

Return the value of the coefficient of thermal conductivity of water.


Note
None
Parameters
[in]Water_temperature- The value of water temperature
Returns
F64 - Return value of the coefficient of thermal conductivity of water
Override
Not allowed
Attention
None

Referenced by Execute().

Here is the caller graph for this function:

◆ nu_air()

F64 TFunction_Block_Cooling_System_Model::nu_air ( F64 Air_temperature)
private

Return the value of the kinematic coefficient of air viscosity.


Note
None
Parameters
[in]Air_temperature- The value of ambient temperature
Returns
F64 - Return value of the kinematic coefficient of air viscosity
Override
Not allowed
Attention
None

Referenced by Execute().

Here is the caller graph for this function:

◆ nu_water()

F64 TFunction_Block_Cooling_System_Model::nu_water ( F64 Water_temperature)
private

Return the value of the kinematic coefficient of water viscosity.


Note
None
Parameters
[in]Water_temperature- The value of water temperature
Returns
F64 - Return value of the kinematic coefficient of water viscosity
Override
Not allowed
Attention
None

Referenced by Execute().

Here is the caller graph for this function:

◆ Pump_State_Changer()

void TFunction_Block_Cooling_System_Model::Pump_State_Changer ( BOOL  Pump_Control_status,
U32 u32_Timestamp_On,
U32 u32_Timestamp_Off 
)
private

Switches the state of the pump depending on the control signal.


Note
None
Parameters
[in]Pump_Control_status- The state of the pump control signal [in] u32_Timestamp_On - Turn-on delay timer [in] u32_Timestamp_Off - Turn-off delay timer
Returns
None
Override
Not allowed
Attention
None

References bool_Pump_State, TConOpSys_Variant_Data::bool_Value, TSystem_Timer_Base::Is_Timeout_ms(), object_bool_LCS_Pump_Contactor_Status, TBlock_Connector::object_Storage, object_System_Timer, and TConOpSys_Variant::struct_Data.

Referenced by Execute().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ Air

Properties TFunction_Block_Cooling_System_Model::Air
private

Variable responsible for ambience properties.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ Aluminium_Inductor_Heatsink_1

Properties TFunction_Block_Cooling_System_Model::Aluminium_Inductor_Heatsink_1
private

Variable responsible for the first inductor heatsink properties.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ Aluminium_Inductor_Heatsink_2

Properties TFunction_Block_Cooling_System_Model::Aluminium_Inductor_Heatsink_2
private

Variable responsible for the second inductor heatsink properties.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ ARIA_2

F32 TFunction_Block_Cooling_System_Model::ARIA_2
private

Fan-cooled system area, [m^2].

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ bool_Fan_State

BOOL TFunction_Block_Cooling_System_Model::bool_Fan_State
private

Variable for storing fan state.

Referenced by He_Fan_State_Changer(), and TFunction_Block_Cooling_System_Model().

◆ bool_Heater_State

BOOL TFunction_Block_Cooling_System_Model::bool_Heater_State
private

Variable for storing the heater state.

Referenced by Heater_State_Changer(), and TFunction_Block_Cooling_System_Model().

◆ bool_Pump_State

BOOL TFunction_Block_Cooling_System_Model::bool_Pump_State
private

Variable for storing the pump state.

Referenced by Pump_State_Changer(), and TFunction_Block_Cooling_System_Model().

◆ f32_Constant_Fan_Speed

F32 TFunction_Block_Cooling_System_Model::f32_Constant_Fan_Speed
private

Some small constant air velocity

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ f32_Constant_Water_Flow

F32 TFunction_Block_Cooling_System_Model::f32_Constant_Water_Flow
private

Some small constant value of the fluid flow rate.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ f32_Fan_Speed

F32 TFunction_Block_Cooling_System_Model::f32_Fan_Speed
private

Fan speed.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ f32_Fan_Speed_Active

F32 TFunction_Block_Cooling_System_Model::f32_Fan_Speed_Active
private

Fan speed when fan is on.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ F32_Inductor_Heatsink_Tube_Diameter

F32 TFunction_Block_Cooling_System_Model::F32_Inductor_Heatsink_Tube_Diameter
private

Diameter of the tube in inductor heatsink.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ F32_Power_Modules_Tube_Diameter

F32 TFunction_Block_Cooling_System_Model::F32_Power_Modules_Tube_Diameter
private

Diameter of the tube.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ F32_Tube_Area

F32 TFunction_Block_Cooling_System_Model::F32_Tube_Area
private

Cross-sectional area of the tube.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ f32_Water_Speed

F32 TFunction_Block_Cooling_System_Model::f32_Water_Speed
private

Water speed.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ f32_Water_Speed_Active

F32 TFunction_Block_Cooling_System_Model::f32_Water_Speed_Active
private

Water speed when pump is on.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ FAN_D

F32 TFunction_Block_Cooling_System_Model::FAN_D
private

Fan diameter, [m].

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ FC_L

F32 TFunction_Block_Cooling_System_Model::FC_L
private

Fan-cooled system length, [m].

Referenced by TFunction_Block_Cooling_System_Model().

◆ Ferrum_IGBT

volatile Properties TFunction_Block_Cooling_System_Model::Ferrum_IGBT
private

Variable responsible for power modules properties.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_bool_EMU_Heat_Exchanger_Fuse_Status

TBlock_Input_Connector TFunction_Block_Cooling_System_Model::object_bool_EMU_Heat_Exchanger_Fuse_Status

EMU heat exchanger fuse status.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_bool_EMU_Heater_Fuse_Status

TBlock_Input_Connector TFunction_Block_Cooling_System_Model::object_bool_EMU_Heater_Fuse_Status

EMU heater fuse status.

Referenced by TFunction_Block_Cooling_System_Model().

◆ object_bool_EMU_Pump_Fuse_Status

TBlock_Input_Connector TFunction_Block_Cooling_System_Model::object_bool_EMU_Pump_Fuse_Status

EMU pump fuse status.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_bool_LCS_He_Fan_Contactor_Status

TBlock_Output_Connector TFunction_Block_Cooling_System_Model::object_bool_LCS_He_Fan_Contactor_Status

Heat exchanger contactor status signal.

Referenced by He_Fan_State_Changer(), and TFunction_Block_Cooling_System_Model().

◆ object_bool_LCS_He_Fan_Control

TBlock_Input_Connector TFunction_Block_Cooling_System_Model::object_bool_LCS_He_Fan_Control

Heat exchanger fan control signal.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_bool_LCS_Heater_Contactor_Status

TBlock_Output_Connector TFunction_Block_Cooling_System_Model::object_bool_LCS_Heater_Contactor_Status

Heater contactor status signal.

Referenced by Heater_State_Changer(), and TFunction_Block_Cooling_System_Model().

◆ object_bool_LCS_Heater_Control

TBlock_Input_Connector TFunction_Block_Cooling_System_Model::object_bool_LCS_Heater_Control

Heater control signal.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_bool_LCS_Pump_Contactor_Status

TBlock_Output_Connector TFunction_Block_Cooling_System_Model::object_bool_LCS_Pump_Contactor_Status

Pump contactor status signal.

Referenced by Pump_State_Changer(), and TFunction_Block_Cooling_System_Model().

◆ object_bool_LCS_Pump_Control

TBlock_Input_Connector TFunction_Block_Cooling_System_Model::object_bool_LCS_Pump_Control

Pump control signal.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_f32_Ambient_Temperature

TBlock_Input_Connector TFunction_Block_Cooling_System_Model::object_f32_Ambient_Temperature

Ambient temperature.

Referenced by TFunction_Block_Cooling_System_Model().

◆ object_f32_BALLAST_1_Temperature

TBlock_Output_Connector TFunction_Block_Cooling_System_Model::object_f32_BALLAST_1_Temperature

Seventh IGBT temperature value.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_f32_BALLAST_2_Temperature

TBlock_Output_Connector TFunction_Block_Cooling_System_Model::object_f32_BALLAST_2_Temperature

Eighth IGBT temperature value.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_f32_Fan_Speed

TBlock_Output_Connector TFunction_Block_Cooling_System_Model::object_f32_Fan_Speed

Fan speed value.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_f32_GSI_1_Temperature

TBlock_Output_Connector TFunction_Block_Cooling_System_Model::object_f32_GSI_1_Temperature

First IGBT temperature value.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_f32_GSI_2_Temperature

TBlock_Output_Connector TFunction_Block_Cooling_System_Model::object_f32_GSI_2_Temperature

Second IGBT temperature value.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_f32_GSI_3_Temperature

TBlock_Output_Connector TFunction_Block_Cooling_System_Model::object_f32_GSI_3_Temperature

Third IGBT temperature value.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_f32_IGBT_Power

TBlock_Input_Connector TFunction_Block_Cooling_System_Model::object_f32_IGBT_Power

Power dissipated in the transistor.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_f32_INDUCTOR_GSI_Temperature

TBlock_Output_Connector TFunction_Block_Cooling_System_Model::object_f32_INDUCTOR_GSI_Temperature

Grid side inductor temperature.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_f32_INDUCTOR_RSI_Temperature

TBlock_Output_Connector TFunction_Block_Cooling_System_Model::object_f32_INDUCTOR_RSI_Temperature

Rotor side inductor temperature.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_f32_Integration_Step

TBlock_Input_Connector TFunction_Block_Cooling_System_Model::object_f32_Integration_Step

Integration step of solver.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_f32_LCS_Inlet_Pressure

TBlock_Output_Connector TFunction_Block_Cooling_System_Model::object_f32_LCS_Inlet_Pressure

Inlet pressure value.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_f32_LCS_Inlet_Temperature

TBlock_Output_Connector TFunction_Block_Cooling_System_Model::object_f32_LCS_Inlet_Temperature

Inlet temperature value.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_f32_LCS_Outlet_Pressure

TBlock_Output_Connector TFunction_Block_Cooling_System_Model::object_f32_LCS_Outlet_Pressure

Outlet pressure value.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_f32_LCS_Outlet_Temperature

TBlock_Output_Connector TFunction_Block_Cooling_System_Model::object_f32_LCS_Outlet_Temperature

Outlet temperature value.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_f32_LCS_Water_Mass_Flow

TBlock_Output_Connector TFunction_Block_Cooling_System_Model::object_f32_LCS_Water_Mass_Flow

Water mass flow value.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_f32_RSI_1_Temperature

TBlock_Output_Connector TFunction_Block_Cooling_System_Model::object_f32_RSI_1_Temperature

Fourth IGBT temperature value.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_f32_RSI_2_Temperature

TBlock_Output_Connector TFunction_Block_Cooling_System_Model::object_f32_RSI_2_Temperature

Fifth IGBT temperature value.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_f32_RSI_3_Temperature

TBlock_Output_Connector TFunction_Block_Cooling_System_Model::object_f32_RSI_3_Temperature

Sixth IGBT temperature value.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ object_f32_Water_Speed

TBlock_Output_Connector TFunction_Block_Cooling_System_Model::object_f32_Water_Speed

Water speed value.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ P_Inductor

F32 TFunction_Block_Cooling_System_Model::P_Inductor
private

Power dissipated in inductor.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ pi

F64 TFunction_Block_Cooling_System_Model::pi
private

◆ Pin

F32 TFunction_Block_Cooling_System_Model::Pin
private

Variable for storing the value of inlet pressure, [bar].

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ Pin_value

F32 TFunction_Block_Cooling_System_Model::Pin_value
private

Inlet pressure normal value.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ Pout

F32 TFunction_Block_Cooling_System_Model::Pout
private

Variable for storing the value of outlet pressure, [bar].

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ Pout_value

F32 TFunction_Block_Cooling_System_Model::Pout_value
private

Outlet pressure normal value.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ Tau

F32 TFunction_Block_Cooling_System_Model::Tau
private

Variable that sets the rise time of the pressure sensor signal.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ u32_Timestamp_Fan_Off

U32 TFunction_Block_Cooling_System_Model::u32_Timestamp_Fan_Off
private

Variable for fan status delay.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ u32_Timestamp_Fan_On

U32 TFunction_Block_Cooling_System_Model::u32_Timestamp_Fan_On
private

Variable for fan status delay.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ u32_Timestamp_Heater_Off

U32 TFunction_Block_Cooling_System_Model::u32_Timestamp_Heater_Off
private

Variable for heater status delay.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ u32_Timestamp_Heater_On

U32 TFunction_Block_Cooling_System_Model::u32_Timestamp_Heater_On
private

Variable for heater status delay.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ u32_Timestamp_Pump_Off

U32 TFunction_Block_Cooling_System_Model::u32_Timestamp_Pump_Off
private

Variable for pump status delay.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ u32_Timestamp_Pump_On

U32 TFunction_Block_Cooling_System_Model::u32_Timestamp_Pump_On
private

Variable for pump status delay.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().

◆ Water

Properties TFunction_Block_Cooling_System_Model::Water
private

Variable responsible for water properties.

Referenced by Execute(), and TFunction_Block_Cooling_System_Model().


The documentation for this class was generated from the following files: