ConOpSys V2970
P004.07
ANVILEX control operating system
|
Class declaration description. More...
#include <Function_Block_Grid_Power_Control.h>
Public Member Functions | |
TFunction_Block_Grid_Power_Control () | |
Class constructor method. More... | |
virtual | ~TFunction_Block_Grid_Power_Control () |
Class destructor method. More... | |
virtual VOID | Init () |
Function block initialisation method. More... | |
virtual VOID | Execute () |
Function block execution method. More... | |
virtual VOID | Send_Information (TProtocol_Base *object_Protocol) |
Send information about Function block over communication link protocol. 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... | |
__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 Attributes | |
F32 | f32_1_Div_Rated_Grid_Voltage |
Internal parameter. More... | |
F32 | f32_Rated_Grid_Voltage_Magnitude |
Rated grid voltage magnitude. More... | |
F32 | f32_Rated_Grid_Current_Magnitude |
Rated grid current magnitude. More... | |
BOOL | bool_Overvoltage |
BOOL | bool_Undervoltage |
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 |
Class declaration description.
TFunction_Block_Grid_Power_Control::TFunction_Block_Grid_Power_Control | ( | ) |
Class constructor method.
Object conctructor.
References bool_Overvoltage, bool_Undervoltage, enum_BOOL, enum_F32, f32_1_Div_Rated_Grid_Voltage, f32_Rated_Grid_Current_Magnitude, f32_Rated_Grid_Voltage_Magnitude, object_bool_Enable, object_bool_LVRT_Asymmetry, object_bool_LVRT_Operation, object_f32_Asymmetrical_Fault_Stator_Current_Q_Negative_Limit, object_f32_Asymmetrical_Fault_Stator_Current_Q_Positive_Limit, object_f32_Delta_Grid_Voltage, object_f32_Grid_Current_Q, object_f32_Grid_Current_Q_Setpoint, object_f32_Grid_Power_P_Setpoint, object_f32_Grid_Power_P_Test_Setpoint, object_f32_Grid_Power_Q_Setpoint, object_f32_Grid_Power_Q_Test_Setpoint, object_f32_Grid_Setpoint_P_Positive_Limit, object_f32_Grid_Setpoint_Q_Negative_Limit, object_f32_Grid_Setpoint_Q_Positive_Limit, object_f32_Grid_Voltage_Magnitude, object_f32_GSI_Current_Q_Setpoint, object_f32_K_Factor, object_f32_Operation_Stator_Current_Q_Negative_Limit, object_f32_Operation_Stator_Current_Q_Positive_Limit, object_f32_Q_Injection_Voltage_Boost, object_f32_Q_Injection_Voltage_Deadband, object_f32_Rated_Grid_Current, object_f32_Rated_Grid_Voltage, object_f32_Relative_Grid_Voltage, object_f32_Rotor_Omega, object_f32_Sample_Time, object_f32_Stator_Current_Q_Setpoint, object_f32_Stator_Power_Q_Negative_Maximum, object_f32_Stator_Power_Q_Positive_Maximum, object_f32_Symmetrical_Fault_Stator_Current_Q_Negative_Limit, object_f32_Symmetrical_Fault_Stator_Current_Q_Positive_Limit, object_f32_Torque_Limit, object_f32_Torque_Setpoint, object_Grid_Power_Q_Setpoint, object_GSI_Power_Q_Setpoint, object_Stator_Power_Q_Setpoint, TBlock_Connector::Set_Type(), and TBlock_Input_Connector::Set_Type().
|
virtual |
Class destructor method.
Object destructor.
|
virtual |
Function block execution method.
Function block processing method.
Implements TFunction_Block_Base.
References bool_Overvoltage, bool_Undervoltage, f32_1_Div_Rated_Grid_Voltage, f32_Rated_Grid_Current_Magnitude, TConOpSys_Variant_Data::f32_Value, object_bool_Enable, object_bool_LVRT_Asymmetry, object_bool_LVRT_Operation, object_f32_Asymmetrical_Fault_Stator_Current_Q_Negative_Limit, object_f32_Asymmetrical_Fault_Stator_Current_Q_Positive_Limit, object_f32_Delta_Grid_Voltage, object_f32_Grid_Current_Q_Setpoint, object_f32_Grid_Power_P_Setpoint, object_f32_Grid_Power_P_Test_Setpoint, object_f32_Grid_Power_Q_Setpoint, object_f32_Grid_Power_Q_Test_Setpoint, object_f32_Grid_Setpoint_P_Positive_Limit, object_f32_Grid_Setpoint_Q_Negative_Limit, object_f32_Grid_Setpoint_Q_Positive_Limit, object_f32_Grid_Voltage_Magnitude, object_f32_GSI_Current_Q_Setpoint, object_f32_K_Factor, object_f32_Operation_Stator_Current_Q_Negative_Limit, object_f32_Operation_Stator_Current_Q_Positive_Limit, object_f32_Q_Injection_Voltage_Deadband, object_f32_Relative_Grid_Voltage, object_f32_Rotor_Omega, object_f32_Stator_Current_Q_Setpoint, object_f32_Stator_Power_Q_Negative_Maximum, object_f32_Stator_Power_Q_Positive_Maximum, object_f32_Symmetrical_Fault_Stator_Current_Q_Negative_Limit, object_f32_Symmetrical_Fault_Stator_Current_Q_Positive_Limit, object_f32_Torque_Limit, object_f32_Torque_Setpoint, object_Grid_Power_Q_Setpoint, object_GSI_Power_Q_Setpoint, TBlock_Input_Connector::object_Pointer, object_Stator_Power_Q_Setpoint, TBlock_Connector::object_Storage, TConOpSys_Variant_Data::pbool_Value, TConOpSys_Variant_Data::pf32_Value, and TConOpSys_Variant::struct_Data.
|
virtual |
Function block initialisation method.
Function block initialisation.
References f32_1_Div_Rated_Grid_Voltage, f32_Rated_Grid_Current_Magnitude, f32_Rated_Grid_Voltage_Magnitude, object_f32_Rated_Grid_Current, object_f32_Rated_Grid_Voltage, TBlock_Input_Connector::object_Pointer, TConOpSys_Variant_Data::pf32_Value, and TConOpSys_Variant::struct_Data.
|
virtual |
Send information about Function block over communication link protocol.
Send detailed information about functional block.
[in] | TProtocol_Base | *object_Protocol - Pointer to the communication link protocol |
[in] | object_Protocol | Pointer to the communication protocol object |
Reimplemented from TFunction_Block_Base.
References bool_Overvoltage, bool_Undervoltage, f32_Rated_Grid_Current_Magnitude, f32_Rated_Grid_Voltage_Magnitude, object_bool_Enable, object_f32_Asymmetrical_Fault_Stator_Current_Q_Negative_Limit, object_f32_Asymmetrical_Fault_Stator_Current_Q_Positive_Limit, object_f32_Grid_Current_Q_Setpoint, object_f32_Grid_Power_P_Setpoint, object_f32_Grid_Power_P_Test_Setpoint, object_f32_Grid_Power_Q_Setpoint, object_f32_Grid_Power_Q_Test_Setpoint, object_f32_Grid_Setpoint_P_Positive_Limit, object_f32_Grid_Setpoint_Q_Negative_Limit, object_f32_Grid_Setpoint_Q_Positive_Limit, object_f32_Grid_Voltage_Magnitude, object_f32_GSI_Current_Q_Setpoint, object_f32_K_Factor, object_f32_Operation_Stator_Current_Q_Negative_Limit, object_f32_Operation_Stator_Current_Q_Positive_Limit, object_f32_Q_Injection_Voltage_Deadband, object_f32_Rotor_Omega, object_f32_Sample_Time, object_f32_Symmetrical_Fault_Stator_Current_Q_Negative_Limit, object_f32_Symmetrical_Fault_Stator_Current_Q_Positive_Limit, object_f32_Torque_Limit, object_f32_Torque_Setpoint, TProtocol_Base::Transmit_BOOL_Value_As_Decimal(), TProtocol_Base::Transmit_Connector_Value_As_Decimal(), TProtocol_Base::Transmit_F32_Value_As_Decimal(), and TProtocol_Base::Transmit_String().
|
private |
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
|
private |
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
|
private |
Internal parameter.
Referenced by Execute(), Init(), and TFunction_Block_Grid_Power_Control().
|
private |
Rated grid current magnitude.
Referenced by Execute(), Init(), Send_Information(), and TFunction_Block_Grid_Power_Control().
|
private |
Rated grid voltage magnitude.
Referenced by Init(), Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_bool_Enable |
Enable grid power control operation.
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_bool_LVRT_Asymmetry |
LVRT fault asymmetry flag.
Referenced by Execute(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_bool_LVRT_Operation |
LVRT operation request.
Referenced by Execute(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Asymmetrical_Fault_Stator_Current_Q_Negative_Limit |
Asymmetrical fault stator reactive power negative limit in ampere.
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Asymmetrical_Fault_Stator_Current_Q_Positive_Limit |
Asymmetrical fault stator reactive power positive limit in ampere.
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Output_Connector TFunction_Block_Grid_Power_Control::object_f32_Delta_Grid_Voltage |
Referenced by Execute(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Grid_Current_Q |
Actual reactive grid current.
Referenced by TFunction_Block_Grid_Power_Control().
TBlock_Output_Connector TFunction_Block_Grid_Power_Control::object_f32_Grid_Current_Q_Setpoint |
Grid reactive current setpoint output.
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Grid_Power_P_Setpoint |
Grid active power reference input.
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Grid_Power_P_Test_Setpoint |
Grid active power test reference input.
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Grid_Power_Q_Setpoint |
Grid reactive power reference input.
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Grid_Power_Q_Test_Setpoint |
Grid reactive power test reference input.
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Grid_Setpoint_P_Positive_Limit |
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Grid_Setpoint_Q_Negative_Limit |
Reactive setpoint positive limit in VAr.
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Grid_Setpoint_Q_Positive_Limit |
Active setpoint postive limit in W.
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Grid_Voltage_Magnitude |
Actual phase-neutral grid voltage magnitude.
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Output_Connector TFunction_Block_Grid_Power_Control::object_f32_GSI_Current_Q_Setpoint |
Grid side inverter reactive current setpoint output.
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_K_Factor |
???
K-Factor value
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Operation_Stator_Current_Q_Negative_Limit |
Regular operation stator reactive power negative limit in ampere.
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Operation_Stator_Current_Q_Positive_Limit |
Reactive setpoint negative limit in VAr.
Regular operation stator reactive power positive limit in ampere
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Q_Injection_Voltage_Boost |
Referenced by TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Q_Injection_Voltage_Deadband |
???
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Rated_Grid_Current |
Rated grid phase current magnitude in amper.
Referenced by Init(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Rated_Grid_Voltage |
Rated grid phase-neutral voltage magnitude in volts.
Referenced by Init(), and TFunction_Block_Grid_Power_Control().
TBlock_Output_Connector TFunction_Block_Grid_Power_Control::object_f32_Relative_Grid_Voltage |
Referenced by Execute(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Rotor_Omega |
Actual rotor angular speed.
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Sample_Time |
Function block sample time in seconds.
Referenced by Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Output_Connector TFunction_Block_Grid_Power_Control::object_f32_Stator_Current_Q_Setpoint |
Stator reactive current setpoint output.
Referenced by Execute(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Stator_Power_Q_Negative_Maximum |
Maximal negative stator reactive power.
Referenced by Execute(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Stator_Power_Q_Positive_Maximum |
Maximal positive stator reactive power.
Referenced by Execute(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Symmetrical_Fault_Stator_Current_Q_Negative_Limit |
Symmetrical fault stator reactive power negative limit in ampere.
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Symmetrical_Fault_Stator_Current_Q_Positive_Limit |
Symmetrical fault stator reactive power positive limit in ampere.
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Input_Connector TFunction_Block_Grid_Power_Control::object_f32_Torque_Limit |
Generator torque limit in N*m.
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Output_Connector TFunction_Block_Grid_Power_Control::object_f32_Torque_Setpoint |
Generator torque setpoint output.
Referenced by Execute(), Send_Information(), and TFunction_Block_Grid_Power_Control().
TBlock_Output_Connector TFunction_Block_Grid_Power_Control::object_Grid_Power_Q_Setpoint |
Grid reactive power setpoint output.
Referenced by Execute(), and TFunction_Block_Grid_Power_Control().
TBlock_Output_Connector TFunction_Block_Grid_Power_Control::object_GSI_Power_Q_Setpoint |
Grid side inverter reactive power setpoint output.
Referenced by Execute(), and TFunction_Block_Grid_Power_Control().
TBlock_Output_Connector TFunction_Block_Grid_Power_Control::object_Stator_Power_Q_Setpoint |
Stator reactive power setpoint output.
Referenced by Execute(), and TFunction_Block_Grid_Power_Control().