Professional Documents
Culture Documents
E Terrasource Ug
E Terrasource Ug
Copyright © 2008, 2012 ALSTOM Grid Inc. or Affiliate. All Rights Reserved.
Trademarks
“ESCA” and “HABITAT” are registered trademarks of ALSTOM Grid Inc. “eterra” is a
registered trademark and/or service mark of E-Terra, LLC, licensed for use by
ALSTOM Grid Inc. in connection with its e-terra family of products and services.
Other product and company names in these materials may be trademarks or registered
trademarks of other companies, and are the property of their respective owners. They are
used only for explanation and to the respective owners’ benefit, without intent to infringe.
Contents
1. Overview................................................................................................ 1
1.1 About e-terrasource ................................................................................................ 1
1.1.1 Metadata-Based Model...................................................................................... 1
1.1.2 Models and Model Authority Sets ...................................................................... 2
1.1.3 Projects.............................................................................................................. 2
1.1.4 Independent Workspaces .................................................................................. 4
1.1.5 Model Validation ................................................................................................ 4
1.1.6 Import/Export ..................................................................................................... 5
1.1.7 Data Security ..................................................................................................... 5
1.1.8 Authorization ...................................................................................................... 5
1.1.9 User Interface .................................................................................................... 6
1.1.10 Web Service Interface ..................................................................................... 7
1.2 A Useful Analogy .................................................................................................... 8
Figures
Figure 1: Model Authority Sets ........................................................................................ 2
Figure 2: Projects and New Model Authority Sets ........................................................... 4
Figure 3: Viewport with Workspace Explorer Pane ....................................................... 12
Figure 4: e-terrasource Home Page.............................................................................. 13
Figure 5: Home Page – Timeline .................................................................................. 14
Figure 6: Timeline – Date Options Dialog Box .............................................................. 15
Figure 7: Timeline – Filter Options Dialog Box.............................................................. 16
Figure 8: Timeline – Add Calendar Entry Dialog Box.................................................... 17
Figure 9: Home Page – Loaded Models/Model Authority Sets ..................................... 17
Figure 10: Home Page – Loaded Projects with Context Menu...................................... 18
Figure 11: Home Page – User Notes ............................................................................ 19
Figure 12: Home Page – System Messages with Context Menu .................................. 19
Figure 13: Home Page – Recent System Activity.......................................................... 20
Figure 14: Home Page – Recent Project Activity .......................................................... 20
Figure 15: Home Page – Recent Deployments............................................................. 20
Figure 16: Home Page – Deployment History............................................................... 21
Figure 17: Menus .......................................................................................................... 21
Figure 18: e-terrasource Layout with Project Details Dialog Box .................................. 29
Figure 19: Pane Context Menu ..................................................................................... 30
Figure 20: Pane with Multiple Tabs ............................................................................... 31
Figure 21: Status Bar .................................................................................................... 32
Figure 22: Validation Error ............................................................................................ 32
Figure 23: Validation Error Dialog Box .......................................................................... 33
Figure 24: User Preferences Dialog Box....................................................................... 33
Figure 25: APF Console – Rooms Tab ......................................................................... 36
Figure 26: APF Console – CLS Viewer Tab.................................................................. 37
Figure 27: Workspace Explorer..................................................................................... 38
Figure 28: Toolbar – Workspace Selector..................................................................... 39
Figure 29: Toolbar – Locked Workspace ...................................................................... 39
Figure 30: Workspace Properties.................................................................................. 40
Figure 31: Change Workspace Password Dialog Box .................................................. 41
Command Prompts
Operating Prompt Description
System
Linux % All commands preceded by a percent sign prompt
(%) are issued from a Linux terminal window.
Note that all Linux commands are case-sensitive.
Windows > All commands preceded by a greater than sign
prompt (>) are issued from the Windows
command-line window.
All Operating The absence of any prompt character before a
Systems command indicates that the command is valid on
all operating systems.
Command Strings
Operating Delimiter Description
System
Linux Italics Text in italics indicates information you must
supply. (*)
Linux [] Text enclosed in square brackets “[ ]” indicates
optional qualifiers, arguments, or data. (*)
All Operating Select When used in command strings, the term “Select”
Systems means placing the pointer over the specified item
and pressing the left (default) mouse button.
(*) Note: All Linux commands are case-sensitive and must be typed exactly as
shown.
1.1.3 Projects
e-terrasource projects contain an ordered list of model changes. Each
individual “change item” in this ordered list represents either the addition
of a record, the deletion of a record, or the update of a single record
property.
A project has an “effective date”, which indicates the point in time that the
changes are intended to take effect. This simple feature efficiently
=
Project
Add_Station_Kirkland Model Authority Set
Effective: 15 Feb 2010 North v2
Project
Add_Station_Redmond
Effective: 1 Mar 2010
1.1.6 Import/Export
Since the main purpose of e-terrasource is to provide models to other
applications, there are several mechanisms provided for the purpose of
importing and exporting model data.
The International Electrotechnical Commission (IEC) has developed a
Common Information Model (CIM), primarily for the purpose of supporting
the exchange of power system models. e-terrasource supports the
exchange of models using the CIM/XML international standard. A
CIM/XML file can represent a full model or incremental modifications to a
model.
Models are exchanged between e-terrasource and e-terrahabitat–based
applications using an extensible transformation subsystem. e-terrasource
also supports the export of model data to Microsoft Excel, and it allows
changes made in Excel to be imported back into an e-terrasource project.
1.1.8 Authorization
The term “authorization” refers to the actions that an authenticated user is
allowed to perform. e-terrasource has a fixed set of privileges, which
correspond to actions that can be performed (e.g., CreateProject
privilege). These privileges are grouped into roles, and a user can have
one or more assigned roles.
Upon installation, e-terrasource creates the following four roles, listed in
order from least privileged to most privileged: Guest, Modeler,
ModelSupervisor, and Superuser. Additional roles can be created as
desired.
If you have more than one server you can connect to, the Choose a
Server dialog box appears. This dialog box indicates your Windows
user name, which is used for authentication purposes.
2.2.2 Menus
The e-terrasource interface provides several menus at the top of the
viewport.
• Property Sheet – This display type shows the details of any given
record and supports editing the properties of that record. The property
sheets can have scroll bars, and the properties can be grouped
hierarchically into property groups. References to other objects are
created by selecting the target instance from a combo box.
2. Point to the desired location where you want to place the pane in the
graphic above, and release the mouse button.
The pane positions itself in the highlighted location of the viewport.
Dropping the pane on the center icon turns that pane into a tab for the
highlighted section. Alternatively, you can “tear off” the pane by moving
the cursor off the viewport and releasing the mouse button.
The same method can be used to reposition (or tear off) individual tabs
within a pane. However, instead of dragging the title bar, drag the tab
name.
Panes can also be pinned and unpinned by clicking the pin symbol on the
right side of the pane’s title bar. When unpinned, the pane collapses to
the side until you hover the cursor over the pane name to expand it again.
Left of the pin symbol is an arrow symbol that displays a context menu for
the pane, as shown below:
2.8.1 Rooms
A room is a particular configuration of a viewport that can be saved and
recalled in the future. The e-terrasource user interface creates a default
“room” upon installation, and this room is called up automatically when
APF starts. You can see this on the Rooms tab of the APF console; it
displays a room called “e-terrasource DefaultRoom”.
If you choose the Preserve Viewport Layout option in the User
Preferences dialog box, the default room is updated whenever you exit
the e-terrasource user interface. The next time the e-terrasource user
interface starts, the viewport should look similar to its appearance when it
was last opened.
3.2 Models
A “model” is an e-terrasource concept that is completely optional. It is
simply a collection of model authority sets at a given point in time. They
are used only if you want to break up your full model into pieces. In this
case, each piece is a model authority set, and all the pieces form a
complete model. In e-terrasource, a model is identified by a “type” and a
“version”. The version is incremented each time a new model is created.
If you refer back to Figure 1, you can see that the full model is broken into
North, South, East, and West regions. Given this scenario, one can create
a model type called “Full”, and four model authority set types: North,
South, East, and West. Furthermore, you declare that:
Full = North + South + East + West
3.4 Projects
A “project” is the mechanism by which changes to a model are made. A
project is first and foremost a collection of change items (edits) that are to
be performed.
Change items can be of three types:
• Add – Create a new record of type <xxx>.
• Delete – Delete a record of type <xxx>.
• Update – Set property <yyy> to the value <zzz> for a particular record
of type <xxx>.
Since projects represent changes to models, they are represented with
the Greek letter Delta (Δ).
Projects have other properties as well. The most important of these is the
scheduled effective date. This is the date on which the model changes in
the project are scheduled to go into effect. Therefore, it is critical that a
project contains related changes that happen at the same time. If there is
any doubt about this, it is recommended that separate projects be
created. By having separate projects, adjustments can be made to the
scheduled effective date in the event that certain model changes need to
be delayed or accelerated.
Figure 44: Project Explorer with Filtering Section and Context Menu
The Project view shows all projects meeting the filter criteria. Right-
clicking on a project in the grid displays a context menu of available
options.
To filter the list of projects that are shown, perform the following steps:
1. Click the Filtering expansion icon, if the filtering section is not visible.
2. Enter the desired filter criteria. First choose a Model Schema using the
drop-down list. In the ID, Name, and Description fields, the asterisk (*)
can be used as a wildcard character. In the Status list box, one or
more statuses can be selected.
3.5 Snapshots
Note: The Snapshot feature is disabled by default when e-terrasource is
installed. Due to the limitations discussed below, use of snapshots is not
recommended. The feature is retained for backward compatibility with
e-terrasource 1.0, but snapshots are a deprecated feature that will be
removed in a future release. For information about how to enable
snapshots, refer to the e-terrasource Software Installation and
Maintenance Guide.
Snapshots are a mechanism for recording the contents of all workspace
data. A snapshot of a workspace can be taken prior to a potentially risky
or destructive operation, and then restored afterwards to revert to the
workspace’s original state.
When a snapshot is created, the database makes a copy of:
• The contents of all workspace tables
• The list of loaded models, model authority sets, and projects
• The list of unapplied change items
When a snapshot is restored, these items are used to restore the
workspace to its previous state.
Keep in mind that:
Figure 61: Show in New Tree Used to Create a New Substation Tree View
Also, the change item simply reflects that the parent record is to be
deleted; it does not specifically list the child records that are
consequentially deleted. Therefore, if this project is applied to different
model authority sets, it may actually delete a different total number of
records.
3.6.1.7 Copy/Paste
The Copy option marks the record as the source for a subsequent paste
operation. After choosing Copy, you must next select the parent record
where the Source record should be copied to as a child, then choose
Paste from the parent record’s context menu. The Source record is copied
under the new parent, and its name is changed to “Copy of xxx”. In some
cases, the field used to label the record is too small to hold the label
3.6.1.8 Clone
The Clone option is a copy-and-paste operation combined into a single
step. The Source record is duplicated (cloned) under the same parent
record, and its name is set to “Copy of xxx”. In some cases, the field used
to label the record is too small to hold the label “Copy of xxx”, so the label
is shortened to “Cnxxx”. In some rare cases, it is possible that a label may
not be generated at all.
Caution: The clone operation only copies a single record, not a record
hierarchy. Deep Copy must be used to copy a hierarchy of records.
The Deep Copy operation can also be used to create a new template.
After choosing the Deep Copy option on the Source record, you can then
paste on a template group in the Template Explorer. By doing so, the New
Template dialog box is displayed.
WARNING: The model authority set type assignment for each record
is tracked independently of model data; it is not like model data
properties that are captured in model authority sets and projects. The
model authority set type that is shown represents the current
assignment of the record, and this is a characteristic of the record that
is independent of workspaces. If the model authority set type
assignment is changed by a user, the new assignments takes effect
immediately and is visible across all workspaces and for all users.
• The Show Only Required Properties check box allows you to toggle
between showing all properties or only required properties.
• If you right-click anywhere in the header, a context menu appears that
contains the following options:
− Modify Security – For tables that use row-level security, this option
can be used to view and configure the security settings for the
record (for information regarding data security, see chapter 5 Data
Security). This option is not shown for tables that use table-level
security.
− Show In Tree – Select this option to expand the tree view so that it
is synchronized with the record that is shown on the property sheet.
− Show Children – This option splits the property sheet into top and
bottom portions. The top portion continues to show the original grid
view, whereas the bottom portion shows a tab group, with each tab
containing a grid for a child record type.
− Show References – This option is a useful feature for obtaining a
grid view of all child records that “point to” a particular parent
record. When Show References is chosen, a submenu is displayed
that lists every possible type of child relationship the record has.
Selecting one of the child relationships displays a grid view of the
child records that point to this parent record.
In both types of combo boxes, you can filter the list box by typing in the
Filter field. In most cases, the Filter field is initialized with an
asterisk (*), but it is also possible to define an “auto-filter” in the
• URL – Properties that are intended to contain URLs are very similar to
simple text fields; however, there is a button to the right of the text box
that supports navigation to the URL (if it is a valid, accessible URL).
The column headers on grid views contain both the label and unit of
measure (if applicable) for the property. You can click on a column header
to sort by that column in either ascending or descending order.
The column ordering in grid views matches the ordering on property
sheets, with the exception that the leftmost property is the record’s path
name and it is locked when scrolling horizontally. However, you can
reorder the columns by dragging the column header to a new location.
If you reorder the columns or change the column widths, this is stored in
your preferences, so the widths and ordering are the same the next time
you call up the grid.
First, you can use View > User Preferences and set the grid attribute
preservation to 0 and click OK — but this erases all preferences for all
grids.
The first column in the body of the grid is an indicator that can be used to
select a row and view its status.
Indicator Description
The “new record” indicator is shown only on
the first row of the grid. To create a new
record, locate this record at the top of the grid
and begin filling in its cells. When you press
Enter, the new record is created and moves to
the main body of the grid. Refer to section
3.6.3.3.1 Inserting Records for more
information.
Caution: If you are viewing a filtered grid (e.g., only children of a specific
parent) and the newly inserted record does not meet the filter criteria, then
when you press Enter, the record disappears from view. However, it is still
created.
Also, the change item simply reflects that the parent record is to be
deleted; it does not specifically list the child records that are
consequentially deleted. Therefore, if this project is applied to different
model authority sets, it may actually delete a different total number of
records. For example, if a project deletes an entire substation, that may
result in deleting 100 records when applied to model authority set
version 15 and 105 records when applied to model authority set
version 16.
A faint dashed line is drawn between the eyelet and the cursor icon.
3. Continue dragging the cursor to the desired node.
When the cursor is hovering over a valid node, the dashed line
becomes wider, indicating that the connection is allowed.
In addition to the rectangle, there is a faint dashed line that traces out
the cursor’s actual path.
3. Release the mouse button to complete the selection.
The selection region persists until either the mouse clicks in a blank
space on the work surface or a new selection region is created.
To create a freehand selection region:
1. Move the mouse arrow cursor to a blank space on the work surface.
2. Press and hold the Ctrl key while dragging a selection region.
Click the drop-down list on the Linkages icon in the toolbar to view
the available linkage displays.
In EMS modeling, the classic example of a linkage display is one that
allows substation measurements to be linked to their corresponding
Remote Telemetry Unit (RTU) inputs/outputs.
The button can be used to add additional search criteria, which can be
logically ANDed or ORed to the search expression. The button can be
used to remove a search criterion.
The allowable operators depend on the data type of the property.
Data Type Allowable Operators Value
String or =, <> Value is restricted to a legal
numeric with picklist value, or null.
a picklist
String without =, <>, Starts With, If operator is not Matches,
a picklist Contains, Matches value can be null or a string.
URL String can contain “*” as a
Relationship wildcard.
If operator is Matches, value
must be a regular expression.
Date =, <>, <, <=, >, >= Use calendar control to enter
Date/Time desired date/time.
Numeric =, <>, <, <=, >, >=, If operator is not Matches,
Matches value can be null or a number.
If operator is Matches, value
must be a range expression.
The figure above shows that the relationship points to a Switch within
the template that has a Record ID of “Switch1”. Clicking the button
next to the property calls up the property sheet of the record that the
relationship points to.
• External Reference – Check this box to create a relationship to a
record outside of the template, then use the drop-down list to select
the specific record. For example, it is common for a template to have
an external reference to a reference table.
If the reference is invalid (that is, there is no such external record),
then “### INVALID ###” is displayed. Invalid external references
should be corrected before you try to use (instantiate) the template.
The parameters that are entered are typically used to derive various
property values for the instance. You can hover the cursor over a
parameter label to obtain a tool tip that provides more information
about the parameter.
Once the instance is created and the resulting change items are
saved, each record that was created from the template has information
at the top of its property sheet that identifies the template ID and
record ID from which it originated.
The parameters that are entered are typically used to derive various
property values for the instance. You can hover the cursor over a
parameter label to obtain a tool tip that provides more information
about the parameter.
Once the instance is created and the resulting change items are
saved, each record that was created from the template has information
at the top of its property sheet that identifies the template ID and
record ID from which it originated.
During the import process, the changes are checked against any range
expressions or regular expressions to ensure that the entered data is
valid. If any errors are encountered, the cells failing validation are
highlighted and a dialog box is displayed asking if you want to import
the changes — even if they do not satisfy the range or regular
expressions.
3. To review the change items that were created, right-click the active
project in the Loaded Projects section of the home page, and choose
Project Details from the context menu.
Note that only the spreadsheets created by the Export Entire Hierarchy
function can be imported in the All Data mode.
WARNING: If you plan to import multiple files and assign the imported
records to different model authority set types, it is important to create a
model authority set after each import. For example, consider the
scenario where files A and B contain data intended for model authority
set types A and B, respectively.
• Data Security – At the end of the import, the model authority that owns
the model authority set type is granted read-write access to all
imported records.
For import types other than CIM/XML, constraints are disabled prior to the
import, and enabled at the end of the import. If you receive a warning that
some constraints cannot be enabled, you should check the Constraint
Violations view to determine which constraints are violated by the
imported data.
By default, referential constraints are disabled while resetting a workspace
or loading data into a workspace. Check constraints are not disabled
2. In the first dialog box, choose a workspace export sequence from the
list of available sequences.
A description of the selected sequence is displayed based on your
selection. Also, the dialog box reminds you that the workspace is
locked for the duration of the export.
3. If you do not need to change any target or parameter information, click
Finish to begin the export. Otherwise, choose Next.
Note that some parameter values can contain “proxy strings” (for more
information, refer to section 4.6.7 Proxies). If you click the Restore
Defaults button, the parameter values revert to their default values for
this target.
5. Click OK to save the choices for this target.
If you chose “Next” in step 3, a final confirmation dialog box is shown
that lists each step in the sequence, as well as the parameter values
that are to be used.
6. Click Finish to begin the export sequence.
Note that some parameter values can contain “proxy strings” (for more
information, refer to section 4.6.7 Proxies). If you click the Restore
Defaults button, the parameter values revert to their default values for
this target.
6. Click OK to save the choices for this target.
If you chose “Next” in step 4, a final confirmation dialog box is shown
that lists each step in the sequence, as well as the parameter values
that are to be used.
7. Click Finish to begin the export sequence.
2. In the first dialog box, choose a workspace import sequence from the
list of available sequences.
A description of the selected sequence is displayed based on your
selection. Also, the dialog box reminds you that the workspace is
locked for the duration of the import.
The next dialog box displays each step in the selected sequence. If a
step is optional, a check box is shown to indicate if the step should be
executed or skipped. Each step has an Edit button next to it, which
allows the target and parameters to be viewed and modified.
4. After setting the check boxes appropriately, click Next to view a
summary of the sequence, or click Finish to begin the sequence
immediately, or choose Edit to change the target or parameters for a
step.
Note that some parameter values can contain “proxy strings” (for more
information, refer to section 4.6.7 Proxies). If you click the Restore
Defaults button, the parameter values revert to their default values for
this target.
5. Click OK to save the choices for this target.
If you chose “Next” in step 3, a final confirmation dialog box is shown
that lists each step in the sequence, as well as the parameter values
that are to be used.
2. In the first dialog box, choose a project import sequence from the list of
available sequences.
A description of the selected sequence is displayed based on your
selection. Also, the dialog box reminds you that the workspace is
locked for the duration of the import.
3. If you do not need to change any target or parameter information, click
Finish to begin the import. Otherwise, choose Next.
The next dialog box displays each step in the selected sequence. If a
step is optional, a check box is shown to indicate if the step should be
executed or skipped. Each step has an Edit button next to it, which
allows the target and parameters to be viewed and modified.
4. After setting the check boxes appropriately, click Next to view a
summary of the sequence, or click Finish to begin the sequence
If the Edit button is chosen for a step, a dialog box is shown that
contains a picklist of available targets, and a list of the target
parameter values that are to be used. You can change the target and
the parameter values as desired, although some parameter values
may not be editable.
Note that some parameter values can contain “proxy strings” (for more
information, refer to section 4.6.7 Proxies). If you click the Restore
Defaults button, the parameter values revert to their default values for
this target.
5. Click OK to save the choices for this target.
If you chose “Next” in step 3, a final confirmation dialog box is shown
that lists each step in the sequence, as well as the parameter values
that are to be used.
3.7.11.1 Exports
Upon installation, e-terrasource is configured with several export
sequences that are useful for exporting models to e-terraplatform. Each
sequence has three basic steps:
1. Produce CIM/XML that represents the model data in the workspace.
The CIM/XML Import/Export service creates the CIM/XML using a CIM
profile called “ETS”. At this time, the same ETS profile is used
regardless of the Hdb database that is being processed, and it
contains all modeled fields; nothing is filtered out. So, whether you
intend to populate only NETMOM or only ALARM, the same profile is
used. For more information about CIM profiles, refer to section
3.7.2 CIM/XML Import/Export.
3.8 Validation
Validation of model data is performed on several levels:
• Data entry restrictions – The e-terrasource user interface prevents
illegal data entry by restricting what the user can enter. Examples of
this are:
Step B
Step A Step D
Step C
4.6.7 Proxies
Each Import/Export type and Target pair has a set of parameters to
control their behavior.
Import/Export proxies are special “tags” that are dynamically resolved at
the time the request is processed by the Import/Export service.
Caution: When security settings are changed, they only affect data that is
newly queried by the user interface. The new settings do not affect data
that has already been queried. Therefore, after changing security settings,
it is recommended that the user interface be restarted.
When you click the symbol image, a XAML editor dialog box appears.
In the center is the existing XAML template for the symbol.
4. Open the XAML file that was exported in step 1, copy the text of the
XAML file minus the first line, and replace the text in the XAML text
editor with the text that you copied.