Power System Platform  2024w23a
Loading...
Searching...
No Matches
DataReport Class Reference

Form that shows the results of power flow and fault calculations. More...

#include <DataReport.h>

Inheritance diagram for DataReport:
Collaboration diagram for DataReport:

Public Types

enum  GridSelection {
  GRID_ALL = 0 , GRID_PF , GRID_PFBUSES , GRID_PFBRANCHES ,
  GRID_FAULT , GRID_FAULTBUSES , GRID_FAULTBRANCHES , GRID_FAULTGENERATORS ,
  GRID_HARMCURRENT , GRID_HARMBUSES , GRID_HARMBRANCHES
}
 

Public Member Functions

 DataReport (wxWindow *parent, Workspace *workspace)
 
virtual void SetHeaders ()
 
virtual void CreateGrids ()
 
virtual void FillValues (GridSelection gridToFill=GRID_ALL)
 
virtual void SetRowsColours (wxGrid *grid, int rowStart=1, int colStart=0, int colEndTrim=0)
 
virtual void GridKeyHandler (wxGrid *grid, wxKeyEvent &event)
 

Protected Member Functions

virtual void OnHarmBranchesGridChanged (wxGridEvent &event)
 
virtual void OnHarmBusesGridChanged (wxGridEvent &event)
 
virtual void OnHarmCurrentGridChanged (wxGridEvent &event)
 
virtual void OnFaulrGridChanged (wxGridEvent &event)
 
virtual void OnFaultBranchesGridChanged (wxGridEvent &event)
 
virtual void OnFaultBusesGridChanged (wxGridEvent &event)
 
virtual void OnFaultGeneratorsGridChanged (wxGridEvent &event)
 
virtual void OnPFBranchesGridChanged (wxGridEvent &event)
 
virtual void OnPowerFlowGridChanged (wxGridEvent &event)
 
virtual void OnPFBusGridChanged (wxGridEvent &event)
 
virtual void OnGridFaultBranchesKeyDown (wxKeyEvent &event)
 
virtual void OnGridFaultBusesKeyDown (wxKeyEvent &event)
 
virtual void OnGridFaultGeneratorsKeyDown (wxKeyEvent &event)
 
virtual void OnGridFaultKeyDown (wxKeyEvent &event)
 
virtual void OnGridPFBranchesKeyDown (wxKeyEvent &event)
 
virtual void OnGridPFBusesKeyDown (wxKeyEvent &event)
 
virtual void OnGridPFKeyDown (wxKeyEvent &event)
 

Protected Attributes

Workspacem_workspace = nullptr
 
bool m_changingValues = false
 
wxArrayString m_voltageChoices
 
wxArrayString m_phaseVoltageChoices
 
wxArrayString m_activePowerChoices
 
wxArrayString m_reactivePowerChoices
 
wxArrayString m_resistanceChoices
 
wxArrayString m_indReactanceChoices
 
wxArrayString m_capSusceptanceChoices
 
wxArrayString m_currentChoices
 
wxColour m_headerColour
 
wxColour m_offlineColour
 
wxColour m_oddRowColour
 
wxColour m_evenRowColour
 

Detailed Description

Form that shows the results of power flow and fault calculations.

Author
Thales Lima Oliveira thale.nosp@m.s@uf.nosp@m.u.br
Date
05/10/2017

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