Graphs

 

A Graph is a special runtime object, which can reside only inside a graph frame.  There are two types of graphs available:  Overlay and PolyGraphs.  A single graph may hold and display multiple curves, where all curves in a graph are based on the same y-axis scale.

 

The following illustrates a graph frame with an overlay graph at the top and a polygraph below it.

 

Adding Graphs to a Graph Frame

Graph frames may accommodate single or multiple graphs.  To add one or more graphs, right-click on the frame title bar and select Add Overlay Graph (Analog) or Add PolyGraph (Analog/Digital).  You can also add an overlay graph directly by pressing the Insert key on your keyboard with your mouse pointer over the graph frame.

 

Graph Order

Once multiple graphs have been added to a frame, you may change the order in which they appear.  Right-click over the graph to be moved and select one of the following:

Cut/Copy Graphs

Right-click over the graph to be cut (removed)/copied and select Cut Graph/Copy Graph respectively.  Once a graph has been cut or copied it may then be pasted into the same or another graph frame.

Paste Graph

Cut or copy a graph as described above.  Right-click on the graph frame title bar and select Paste Graph.  A graph may be pasted multiple times, where each paste will replicate the entire graph.

Copy Data to Clipboard

If a simulation has been run and your graph contains curve data, you have the option of copying all or a portion of all curve data to the clipboard.  Right-click over the corresponding graph and select Copy Data to Clipboard and then select one of the following from the pop-up menu:

 

The data is copied as Comma Separated Variables (*.csv) format for easy migration into common data analysis software.

Overlay Graphs

Overlay graphs are the most common and familiar type of online plotting tool in PSCAD.  These graphs display measured data as a function of time, where multiple curves may be added (or overlaid on top of each other) onto a single graph.

Adjusting Overlay Graph Properties

Left double-click on the desired overlay graph, or right-click on the graph and select Edit Properties.... This will bring up the Overlay Graph Properties dialog window as shown below:

 

 

 There are various parameters that may be edited through this window, each of which are described below.

 

Preferences:

Y-Axis:

PolyGraphs

Polygraphs are used specifically to display plotted curves in a 'stacked' format.  That is, each curve is contained within its own viewing space, and is stacked one atop the other.  A polygraph may be chosen over a standard overlay graph if the user needs to either view many single-curve plots in a compact space, or to make use of the curve digital style functions to create a logic transition diagram:

 

Adjusting PolyGraph Properties

Left double-click on the desired polygraph, or right-click on the graph and select Edit Properties....  This should bring up the Poly Graph Properties dialog:

 

 

There are various parameters that may be edited though this window, each of which are described below.

 

Preferences: