Invoking the Component Properties Viewer
Saving Component Properties to a File
The complexity of a component may range from simple to elaborate. Some components may possess properties such as parameters, port connections, etc., numbered in the hundreds. When designing and debugging a new component, or verifying the settings of an existing component, it becomes important to be able to view this property data in a convenient format. The Component Properties Viewer provides an intuitive and convenient means of categorizing and displaying component attributes so that they may be examined efficiently.

The component properties are categorized into tabbed categories, where each section lists the individual attributes in a list format. The categories are described as follows:
Transparencies: Provides information on graphical transparencies and related expression statements set in the component Graphics section.
Ports: Provides information on external port connections (nodes) and related expression statements set in the component Graphics section.
Parameters: Provides information on parameter fields, such as Symbol name, type, unit, etc., set in the Parameters section.
Computations: Provides information on defined computed variables, such as type and computed value set in the Computations segment of the Script section
Failures: Provides a list of precompilation failure points, for example, Computations segment errors.

Right-click on any component and select View Properties... from the pop-up menu to invoke the Component Properties Viewer.

The properties listed in each tabbed section are organized into columns.
|
Transparencies Tab |
Transparencies:
Transparency #: Simply a numbered list.
Expression: The expression statement defining the graphical transparency.
Logic: A check symbol in this column indicates that the expression statement is currently true (otherwise false).
|
Ports Tab |
Ports:
Name: The Symbol name of the corresponding port connection.
Expression: This is the expression statement defining whether or not this port connection is enabled.
M: Mode. The symbols displayed here indicate the port connection type.
o: Electrical node
<: Input data node
>: Output data node
+: Shorted node
Type: The declared type (i.e. REAL, INTEGER, LOGICAL or COMPLEX) if the port connection is non-electrical.
Dim: The signal dimension, if a vector. This column is left blank if the signal is a scalar (i.e. Dim = 1).
Logic: A check symbol in this column indicates that the expression statement is currently true (otherwise false).
|
Parameters Tab |
Parameters:
Name: The Symbol name of the parameter.
Caption: The Description of the parameter.
Type: The type of parameter (i.e. input, text, choice, etc.).
Unit: The Default Unit for the parameter (or Target Unit).
Min: The Minimum Value of the corresponding parameter.
Max: The Maximum Value of the corresponding parameter.
Data: The actual value as it is entered in the parameters dialog.
Value: The actual value of the parameter following evaluation by PSCAD (considering both entered units and the Target Unit).
Logic: A check symbol in this column indicates that the expression statement is currently true (otherwise false).
|
Computations Tab |
Computations:
Name: The name of the declared constant.
Expression: The script expression in the Computations segment, defining the value of the declared constant.
Type: The declared type of the constant (i.e. REAL, INTEGER, LOGICAL or COMPLEX)
Value: The calculated value of the constant following evaluation.
|
Errors Tab |
Failures:
Error #: The sequential error number (i.e. order in list).
Trace: A description of the actual error. This is normally a message from the internal compiler.
Component data can be saved to a text file at any time. Select the desired tab and press the Save As... button to bring up the Save As dialog window.

Select a folder, enter a filename, and press the Save button.
Specific rows of property data can be saved to the clipboard at any time as follows:
To copy a single row of data, right-click within the row, and select Copy.
To copy multiple consecutive rows, left-click on the first row, hold down the Shift button, left-click on the last row, right-click and select Copy.
To copy multiple rows that are not consecutive, hold down the Ctrl button, left-click in each row to be selected, and select Copy.
