Escolar Documentos
Profissional Documentos
Cultura Documentos
5 Equipment Utilities
The Equipment discipline provides utilities that can aid productivity for equipment modelling and reporting,
including the Mechanical Equipment Interface, the Import Equipment Data utility and the Equipment
Report utility.
The Mechanical Equipment Interface (MEI) enables STEP (.stp) files generated by mechanical modeling
software to be imported into AVEVA E3D. Whilst the resultant equipment items are not intelligent, nozzles
may be created to overlay the imported model so that pipework may be connected to the equipment.
The model may be imported as an Equipment (EQUI) element or a Volume Model (VOLM) element,
selected from the Import Model As options list. Leave the setting as Equipment, the default.
Empty the 3D View and click the Import button to start the model import.
The import will take time depending on the size of the file to be imported.
Click in the Value cell of the Orientation WRT Owner attribute and edit
the attribute from Y is N and Z is U to Y is U and Z is E.
Select 300lb Ansi Flanges from the Generic Type options list.
With the pump as the CE zoom in to the vertical nozzle on the body of the
pump. Click the Position Nozzle link label to display additional information
on positioning at the bottom of the form:
Click and hold the left mouse button and select two opposing points on the
circumference of the nozzle, releasing the mouse button after each pick
The new nozzle is located in the centre of the model nozzle but is incorrectly
orientated.
Click the Flip Direction link label to orientate the nozzle correctly, as indicated by
the aid arrow.
Click the Create Nozzle link label to create the new intelligent nozzle.
Close the MEI Create Nozzle and the MEI Import forms.
Equipment (EQUI) or Volume Model (VOLM) elements in AVEVA E3D may be exported to a STEP (.stp) file
and imported by other 3rd Party packages.
Clicking the OK button creates the STEP file in the specified location.
The Import Equipment Data utility enables EQUI elements to be created in the database by importing data
from an Excel (.xls) or comma separated value (.csv) file. The import data may set any of the standard
attributes or UDAs of an EQUI element but will not create any primitives.
The Type column displays the element type, including UDETs, and each entry is prefixed by an icon which
represent the status of the data, as described in the following table:
This icon indicates that no equipment with the name exists in the database. If the data is loaded, an
element of this name will be created.
This icon indicates that equipment with the name already exists in the database. If the Load All Data
function is used, then attributes of the existing equipment will be modified. No action will be
taken on rows with this icon if the Load New Data button is used.
This icon indicates that the system has identified a problem with this row of data. No action will be
taken on rows with this icon when the Load All Data or Load New Data buttons are used.
Clicking the Load All Data button will process all of the rows that create a new element or modify an
existing element. Clicking the Load New Data button will only process the rows that create new elements.
New data is created at the current location in the database if an owning element field is not included in
the imported file. The owning element is considered to be the current element when the file was loaded
and the rows of data analysed, not the current element when a Load button is pressed. If an owning
element field is provided in the import file, the system will attempt to create elements under the
specified owner.
Once imported, the icons on the left of the form change to indicate the status of the loaded data.
This icon indicates that the creation or modification operation was successful, i.e. an element has
been created or modified in the database.
This icon indicates that the operation has not completed successfully because of an error found while
the system was trying to create or modify an element. If an attribute value is incorrect then the
element has been created, but not all of its attribute data has been loaded.
The Undo function may be used to remove all of the changes made by the load operation and revert
the database back to its state before the load, or the errors on the erroneous elements dealt with
individually.
Selecting a row in the table with this icon will display a message in the Messages area of the form to
indicate the error.
Another import file can be loaded by clicking the Open File button or by typing a name directly into the
filename textbox on the form.
The Reload File button reloads the file shown in the filename textbox. This may be necessary if the current
element was incorrect or an owner element was missing when the file was first loaded.
It is possible to load element types other than Equipment using this utility. If the imported file is carefully
constructed, following the rules listed below, it would be possible to import other element types provided that
fields in the file contain all of the required data. For example, a nozzle list could be loaded provided that the
owning equipment name is provided in an Owner field for each nozzle element, and the Type field identifies
the element as a nozzle.
5.2.1 Rules for the Content of Import XLS and CSV Files
The first row of the file contains a list of headings. Each heading represents a column in the file
containing an attribute of the elements being loaded.
There must be a NAME column; otherwise the file will not be loaded. The NAME column may contain
the name of a new element, or the name of an existing element. If an existing element name is used,
then this row is an update row for that element. The name used must obey the normal rules for element
naming in AVEVA E3D.
There must be a TYPE column. This column contains the database element type of the element being
loaded, e.g. EQUI. If this column is absent, the file will not be loaded. If the Project has been configured
with User Defined Element Types, then this column could contain a valid UDET name (e.g. :PUMP). If
the named element already exists, but its element type does not match the TYPE in the file, then this
row will be ignored and an error raised.
An OWNER column may be included. If this column is present, it must contain the name of an existing
element that will own each imported item when it is created. This owner name will be ignored if the
Copyright 2013. 53 www.aveva.com
AVEVA Solutions Limited and its subsidiaries.
All rights reserved.
AVEVA Everything3D (2.1)
Equipment Modelling TM-1811
imported item already exists, i.e. it is not possible to change the owner of existing Equipment by using
the OWNER column. If the OWNER column does not exist in the file, then the owner is the current
location in the Design db hierarchy at the time that the file is loaded and analysed. In this case, the
current database element at the time that the file is loaded must be able to contain imported elements.
The remaining headings in the file must be valid attribute names for the element type being loaded. The
attribute names may include User Defined Attribute (UDA) names.
Columns cannot be added for array type attributes unless those attributes can be set using a list of
values in a single field in the file. For example, the string "10 20 30" in a DESP field would set design
parameter 1 to 10, 2 to 20 and 3 to 30.
Every row following the heading row must contain the correct number of fields (columns) as defined by
the heading row.
Every row must contain valid values, or no values, for each field.
If a new element is being created, an attribute will be set to its default value if a field in the file is empty.
Two adjacent separators denote an empty field. The NAME and TYPE fields cannot be empty.
If an existing element is being modified, an attribute value will remain unchanged if a field in the file is
empty.
It is not possible to unset an attribute value from a file, other than by providing the default value. For
example "X0Y0Z0" for a position.
Each field in the file must be a text field. Care must be taken with fields containing values that are
considered by Microsoft Excel to be a formula. For example a database reference number in the form
"=123/456" would be considered to be a formula because of the = character. This can be overcome by
proceeding the = character with a single quote character that forces the field to be treated as a text
string. If the file will not load successfully into Microsoft Excel, it will not load successfully using this
import utility.
Any import of new or modified element data will be subject to the data access control configuration
implemented for the current User and Project.
This utility will not attempt to claim data automatically in an Explicit Claim database. If the data is imported
into an Implicit Claim database, then the appropriate elements will be claimed, if not already claimed by
another user.
The Equipment Report utility is specifically designed to quickly generate configurable equipment reports
using the equipment elements and their attributes stored in the Design databases. The reports may be
exported to Excel for printing or additional enhancement.
On the EQUIPMENT tab, in the Report group, clicking the Equipment Report button displays the
Equipment Report form. The form has two tabs, Columns and Output.
The Columns tab allows the definition of the report including the elements and their attributes to be
reported.
The Report Type options list sets the type of element to be reported. Reports can be generated for
Equipment items, Nozzles or Electrical Components.
The scope of the report is selected using the Scope options list and can be set to All, where the entire MDB
is used or the Current Element where the CE will be used.
The tab has two lists, the left showing Available Attributes and the right showing Chosen Attributes
which, by default, is empty.
The Available Attributes list shows the standard attributes and UDAs available for the selected report
element type, in alpha-numeric order, together with their Description, Data Type and Report Header, i.e.
the text that will appear at the top of the column if the attribute is selected to appear in the report.
The Pseudo Attributes checkbox, which is by default unchecked, may be used to include the pseudo
attributes of an element in the Available Attributes list, thereby making them available for inclusion in the
report.
Once the attribute selection process has commenced the checkbox is greyed out, therefore, the choice
whether to include them in the report must be made before attribute selection starts.
Emptying the Chosen Attributes list re-activates the Pseudo Attributes checkbox.
Between the two lists are four buttons that facilitate transfer of the attributes from one pane to another.
Left clicking on an attribute in either list highlights the selection. Multiple attributes may be selected in either
list using the standard Windows selection methods. Attributes may only appear in one of the lists; therefore,
attributes added to the Chosen Attributes list no longer appear in the Available Attributes list.
The attributes will populate the Chosen Attributes list in the order they are selected. Multiple, non-
contiguous selections will appear in alpha-numeric order when added to the Chosen Attributes list. The
four buttons on the right hand side of the Chosen Attributes list may be used to modify the list order.
Having selected the Element Type, Scope and Attributes, clicking the Output tab presents the data in a
grid where the columns are in the order specified in the Chosen Attributes list and the column headings are
the Report Header texts.
The data in the Output tab grid may be grouped, filtered, sorted and summarised as per standard
AVEVA E3D grid functionality.
Grouped and filter operations on the Output tab are reflected in the resulting Excel file.
This exercise imports a csv file to create a number of equipment elements and generates various equipment
reports.
Import file TM-1811_Equip-Import.csv, located in the AVEVA E3D user folder typically
C:\AVEVA\Plant \PlantTraining2.1\Training\userdata, to the new Zone.
The equipment reports should show the following attributes in the order given:
b) Owner.
c) ActType.
d) Description.
e) Position.
f) Orientation.