Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

An XML file is prepared using the CustomTypeEditor.exe utility that can be found in <Axxon PSIM installation directory>\Tools. The general view of the utility overview window is shown in the figure below.

 

An XML file for a custom object is created as follows:

  1. Specify In the name of object type in the object_type field (1), enter the name of the object type.
    Specify
  2. In the name of parent type in the parent_type field (2), enter the name of the parent type.
  3. If the object type has child types, then set the has_child checkbox checked (3).
  4. Repeat steps 1-3 for all object types.
  5. Save the file with any name and .xml extension in the Axxon PSIM installation directory using the File Save command. For example, the "CUSTOM.xml" file name is recommended for the object shown on the picture above.

...

<parent_type>CUSTOM</parent_type>
</object>
</objects>

Modify You can edit it manually if required.

In particular, the <include_parent_id>1</include_parent_id> parameter id> parameter can be added for a child object. When added to an XML file. When setting this parameter to 1, the IDs of the child virtual custom objects will include the ID of the parent object. For example, if a CUSTOM object has a child CUSTOM_CHILD, and the CUSTOM has ID = 3the CUSTOM has ID = 3, then CUSTOM_CHILD objects will be created with identifiers 3.1, 3.2, etcand so on.