ConOpSys V2970
P004.07
ANVILEX control operating system
|
Functional block class declaration. More...
#include <Function_Block_DFIG_Model.h>
Public Member Functions | |
TFunction_Block_DFIG_Model () | |
Function block class constructor method. More... | |
~TFunction_Block_DFIG_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) |
Private Member Functions | |
void | rt_OneStep (void) |
Model step function. More... | |
Private Attributes | |
DFIG_Model_To_CodeModelClass | rtObj |
DFIG_Model_To_CodeModelClass object. 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 |
Functional block class declaration.
TFunction_Block_DFIG_Model::TFunction_Block_DFIG_Model | ( | ) |
Function block class constructor method.
References ExtU::BAL_1_CTRL, ExtU::BAL_2_CTRL, ExtU::CTRL_GC, ExtU::CTRL_PC, ExtU::CTRL_SC, enum_BOOL, enum_F64, enum_U16, ExtU::IGBT_GSI, ExtU::IGBT_RSI, object_bool_Ballast_1_Control, object_bool_Ballast_2_Control, object_bool_DC_Precharge_Control, object_bool_GSI_CTRL, object_bool_GSI_PWM_1_Control, object_bool_GSI_PWM_2_Control, object_bool_GSI_PWM_3_Control, object_bool_GSI_PWM_4_Control, object_bool_GSI_PWM_5_Control, object_bool_GSI_PWM_6_Control, object_bool_RSI_PWM_1_Control, object_bool_RSI_PWM_2_Control, object_bool_RSI_PWM_3_Control, object_bool_RSI_PWM_4_Control, object_bool_RSI_PWM_5_Control, object_bool_RSI_PWM_6_Control, object_bool_SC_CTRL, object_f64_DC_Voltage_Value, object_f64_Grid_Stator_Phase_A_Current_Value, object_f64_Grid_Stator_Phase_AB_Voltage_Value, object_f64_Grid_Stator_Phase_B_Current_Value, object_f64_Grid_Stator_Phase_BC_Voltage_Value, object_f64_Grid_Stator_Phase_C_Current_Value, object_f64_Grid_Stator_Phase_CA_Voltage_Value, object_f64_GSI_Phase_A_Current_Value, object_f64_GSI_Phase_AB_Voltage_Value, object_f64_GSI_Phase_B_Current_Value, object_f64_GSI_Phase_BC_Voltage_Value, object_f64_GSI_Phase_C_Current_Value, object_f64_GSI_Phase_CA_Voltage_Value, object_f64_Rotor_Speed, object_f64_RSI_Phase_A_Current_Value, object_f64_RSI_Phase_B_Current_Value, object_f64_RSI_Phase_C_Current_Value, object_f64_Stator_Phase_AB_Voltage_Value, object_f64_Stator_Phase_BC_Voltage_Value, object_f64_Stator_Phase_CA_Voltage_Value, TBlock_Input_Connector::object_Pointer, object_u16_Rotor_Angle, ExtU::OMEGA_GEN, TConOpSys_Variant_Data::pbool_Value, TConOpSys_Variant_Data::pf64_Value, rtObj, DFIG_Model_To_CodeModelClass::rtU, TBlock_Connector::Set_Type(), TBlock_Input_Connector::Set_Type(), and TConOpSys_Variant::struct_Data.
TFunction_Block_DFIG_Model::~TFunction_Block_DFIG_Model | ( | ) |
Function block class desstructor method.
|
virtual |
Functional block execution method.
Implements TFunction_Block_Base.
References TConOpSys_Variant_Data::f64_Value, DFIG_Model_To_CodeModelClass::getExternalOutputs(), DFIG_Model_To_CodeModelClass::getRTM(), ExtY::I_GRID_STATOR_L1, ExtY::I_GRID_STATOR_L2, ExtY::I_GRID_STATOR_L3, ExtY::I_GSI_L1, ExtY::I_GSI_L2, ExtY::I_GSI_L3, ExtY::I_RSI_L1, ExtY::I_RSI_L2, ExtY::I_RSI_L3, NULL, object_f64_DC_Voltage_Value, object_f64_Grid_Stator_Phase_A_Current_Value, object_f64_Grid_Stator_Phase_AB_Voltage_Value, object_f64_Grid_Stator_Phase_B_Current_Value, object_f64_Grid_Stator_Phase_BC_Voltage_Value, object_f64_Grid_Stator_Phase_C_Current_Value, object_f64_Grid_Stator_Phase_CA_Voltage_Value, object_f64_GSI_Phase_A_Current_Value, object_f64_GSI_Phase_AB_Voltage_Value, object_f64_GSI_Phase_B_Current_Value, object_f64_GSI_Phase_BC_Voltage_Value, object_f64_GSI_Phase_C_Current_Value, object_f64_GSI_Phase_CA_Voltage_Value, object_f64_RSI_Phase_A_Current_Value, object_f64_RSI_Phase_B_Current_Value, object_f64_RSI_Phase_C_Current_Value, object_f64_Stator_Phase_AB_Voltage_Value, object_f64_Stator_Phase_BC_Voltage_Value, object_f64_Stator_Phase_CA_Voltage_Value, TBlock_Connector::object_Storage, object_u16_Rotor_Angle, ExtY::Rotor_Angle, rt_OneStep(), rtmGetErrorStatus, rtmGetStopRequested, rtObj, TConOpSys_Variant::struct_Data, TConOpSys_Variant_Data::u16_Value, ExtY::U_DC, ExtY::U_GRID_L12, ExtY::U_GRID_L23, ExtY::U_GRID_L31, ExtY::U_GSI_L12, ExtY::U_GSI_L23, ExtY::U_GSI_L31, ExtY::U_STATOR_L12, ExtY::U_STATOR_L23, and ExtY::U_STATOR_L31.
|
virtual |
Functional block initialisation method.
References DFIG_Model_To_CodeModelClass::initialize(), and rtObj.
|
private |
Model step function.
None |
References DFIG_Model_To_CodeModelClass::getRTM(), rtmSetErrorStatus, rtObj, and DFIG_Model_To_CodeModelClass::step().
Referenced by Execute().
TBlock_Input_Connector TFunction_Block_DFIG_Model::object_bool_Ballast_1_Control |
First ballast resistor control signal.
Referenced by TFunction_Block_DFIG_Model().
TBlock_Input_Connector TFunction_Block_DFIG_Model::object_bool_Ballast_2_Control |
Second ballast resistor control signal.
Referenced by TFunction_Block_DFIG_Model().
TBlock_Input_Connector TFunction_Block_DFIG_Model::object_bool_DC_Precharge_Control |
DC precharge control signal.
Referenced by TFunction_Block_DFIG_Model().
TBlock_Input_Connector TFunction_Block_DFIG_Model::object_bool_GSI_CTRL |
Grid side inverter contactor control signal.
Referenced by TFunction_Block_DFIG_Model().
TBlock_Input_Connector TFunction_Block_DFIG_Model::object_bool_GSI_PWM_1_Control |
First grid side inverter transistor PWM signal.
Referenced by TFunction_Block_DFIG_Model().
TBlock_Input_Connector TFunction_Block_DFIG_Model::object_bool_GSI_PWM_2_Control |
Second grid side inverter transistor PWM signal.
Referenced by TFunction_Block_DFIG_Model().
TBlock_Input_Connector TFunction_Block_DFIG_Model::object_bool_GSI_PWM_3_Control |
Third grid side inverter transistor PWM signal.
Referenced by TFunction_Block_DFIG_Model().
TBlock_Input_Connector TFunction_Block_DFIG_Model::object_bool_GSI_PWM_4_Control |
Fourth grid side inverter transistor PWM signal.
Referenced by TFunction_Block_DFIG_Model().
TBlock_Input_Connector TFunction_Block_DFIG_Model::object_bool_GSI_PWM_5_Control |
Fifth grid side inverter transistor PWM signal.
Referenced by TFunction_Block_DFIG_Model().
TBlock_Input_Connector TFunction_Block_DFIG_Model::object_bool_GSI_PWM_6_Control |
Sixth grid side inverter transistor PWM signal.
Referenced by TFunction_Block_DFIG_Model().
TBlock_Input_Connector TFunction_Block_DFIG_Model::object_bool_RSI_PWM_1_Control |
First rotor side inverter transistor PWM signal.
Referenced by TFunction_Block_DFIG_Model().
TBlock_Input_Connector TFunction_Block_DFIG_Model::object_bool_RSI_PWM_2_Control |
Second rotor side inverter transistor PWM signal.
Referenced by TFunction_Block_DFIG_Model().
TBlock_Input_Connector TFunction_Block_DFIG_Model::object_bool_RSI_PWM_3_Control |
Third rotor side inverter transistor PWM signal.
Referenced by TFunction_Block_DFIG_Model().
TBlock_Input_Connector TFunction_Block_DFIG_Model::object_bool_RSI_PWM_4_Control |
Fourth rotor side inverter transistor PWM signal.
Referenced by TFunction_Block_DFIG_Model().
TBlock_Input_Connector TFunction_Block_DFIG_Model::object_bool_RSI_PWM_5_Control |
Fifth rotor side inverter transistor PWM signal.
Referenced by TFunction_Block_DFIG_Model().
TBlock_Input_Connector TFunction_Block_DFIG_Model::object_bool_RSI_PWM_6_Control |
Sixth rotor side inverter transistor PWM signal.
Referenced by TFunction_Block_DFIG_Model().
TBlock_Input_Connector TFunction_Block_DFIG_Model::object_bool_SC_CTRL |
Stator contactor control signal.
Referenced by TFunction_Block_DFIG_Model().
TBlock_Output_Connector TFunction_Block_DFIG_Model::object_f64_DC_Voltage_Value |
Direct current voltage value.
Referenced by Execute(), and TFunction_Block_DFIG_Model().
TBlock_Output_Connector TFunction_Block_DFIG_Model::object_f64_Grid_Stator_Phase_A_Current_Value |
Stator side phase A grid current value.
Referenced by Execute(), and TFunction_Block_DFIG_Model().
TBlock_Output_Connector TFunction_Block_DFIG_Model::object_f64_Grid_Stator_Phase_AB_Voltage_Value |
Stator side phase AB grid voltage value.
Referenced by Execute(), and TFunction_Block_DFIG_Model().
TBlock_Output_Connector TFunction_Block_DFIG_Model::object_f64_Grid_Stator_Phase_B_Current_Value |
Stator side phase B grid current value.
Referenced by Execute(), and TFunction_Block_DFIG_Model().
TBlock_Output_Connector TFunction_Block_DFIG_Model::object_f64_Grid_Stator_Phase_BC_Voltage_Value |
Stator side phase BC grid voltage value.
Referenced by Execute(), and TFunction_Block_DFIG_Model().
TBlock_Output_Connector TFunction_Block_DFIG_Model::object_f64_Grid_Stator_Phase_C_Current_Value |
Stator side phase C grid current value.
Referenced by Execute(), and TFunction_Block_DFIG_Model().
TBlock_Output_Connector TFunction_Block_DFIG_Model::object_f64_Grid_Stator_Phase_CA_Voltage_Value |
Stator side phase CA grid voltage value.
Referenced by Execute(), and TFunction_Block_DFIG_Model().
TBlock_Output_Connector TFunction_Block_DFIG_Model::object_f64_GSI_Phase_A_Current_Value |
Grid side inverter phase A current value.
Referenced by Execute(), and TFunction_Block_DFIG_Model().
TBlock_Output_Connector TFunction_Block_DFIG_Model::object_f64_GSI_Phase_AB_Voltage_Value |
Grid side inverter phase AB voltage value.
Referenced by Execute(), and TFunction_Block_DFIG_Model().
TBlock_Output_Connector TFunction_Block_DFIG_Model::object_f64_GSI_Phase_B_Current_Value |
Grid side inverter phase B current value.
Referenced by Execute(), and TFunction_Block_DFIG_Model().
TBlock_Output_Connector TFunction_Block_DFIG_Model::object_f64_GSI_Phase_BC_Voltage_Value |
Grid side inverter phase BC voltage value.
Referenced by Execute(), and TFunction_Block_DFIG_Model().
TBlock_Output_Connector TFunction_Block_DFIG_Model::object_f64_GSI_Phase_C_Current_Value |
Grid side inverter phase C current value.
Referenced by Execute(), and TFunction_Block_DFIG_Model().
TBlock_Output_Connector TFunction_Block_DFIG_Model::object_f64_GSI_Phase_CA_Voltage_Value |
Grid side inverter phase CA voltage value.
Referenced by Execute(), and TFunction_Block_DFIG_Model().
TBlock_Input_Connector TFunction_Block_DFIG_Model::object_f64_Rotor_Speed |
Generator rotor speed.
Referenced by TFunction_Block_DFIG_Model().
TBlock_Output_Connector TFunction_Block_DFIG_Model::object_f64_RSI_Phase_A_Current_Value |
Rotor side inverter phase A current value.
Referenced by Execute(), and TFunction_Block_DFIG_Model().
TBlock_Output_Connector TFunction_Block_DFIG_Model::object_f64_RSI_Phase_B_Current_Value |
Rotor side inverter phase B current value.
Referenced by Execute(), and TFunction_Block_DFIG_Model().
TBlock_Output_Connector TFunction_Block_DFIG_Model::object_f64_RSI_Phase_C_Current_Value |
Rotor side inverter phase C current value.
Referenced by Execute(), and TFunction_Block_DFIG_Model().
TBlock_Output_Connector TFunction_Block_DFIG_Model::object_f64_Stator_Phase_AB_Voltage_Value |
Stator phase AB voltage value.
Referenced by Execute(), and TFunction_Block_DFIG_Model().
TBlock_Output_Connector TFunction_Block_DFIG_Model::object_f64_Stator_Phase_BC_Voltage_Value |
Stator phase BC voltage value.
Referenced by Execute(), and TFunction_Block_DFIG_Model().
TBlock_Output_Connector TFunction_Block_DFIG_Model::object_f64_Stator_Phase_CA_Voltage_Value |
Stator phase CA voltage value.
Referenced by Execute(), and TFunction_Block_DFIG_Model().
TBlock_Output_Connector TFunction_Block_DFIG_Model::object_u16_Rotor_Angle |
Rotor angle.
Referenced by Execute(), and TFunction_Block_DFIG_Model().
|
private |
DFIG_Model_To_CodeModelClass object.
Referenced by Execute(), Init(), rt_OneStep(), and TFunction_Block_DFIG_Model().