Data Directories
OPERATIONS_MODELS Directory
The $OPERATIONS_MODELS environment variable points to a file system directory (often ${HOME}/data). This directory must be writable by the Oracle Utilities Network Management System Model Build Service (MBService). One significant use of this directory is as a home for the graphical meta-files (*.mad and *.mac) that MBService writes for each model import (*.mb) it processes. It contains the model map files that the Web Application Server reads and makes available to the Viewer, which presents them to the operator. It also contains the files associated with the model build process such as preprocessor import files, model build import files, and log files.
The $OPERATIONS_MODELS directory typically has the following structure:
OPERATIONS_MODELS/
SYMBOLS/
drawings/
errors/
Patch[n].log
[map].log
mp/
*.mp *.mpd
done/
*.mp *.mpd
patches/
*.mb *.mbd
done/
*.mb *.mbd
reports/
*.mad
*.mac
The following table describes the Model Builder directories and files.
Directory/ Files
Description
SYMBOLS
Contains the defined symbol sets for the presentation of all objects. (Convention only. May be moved elsewhere.)
drawings
Contains the drawing and documentation files that can be associated with objects in the model. (Convention only. May be moved elsewhere.)
errors
Contains the output files of the model builder specifically related to errors and patch processing. The Model Build patch log files are named in Patch[patch_number].log format. Preprocessor map log files are typically named in [map_name].log format.
*.mac
Textual representations of the background maps. The background map files corresponding to the *.mad files. These files are used by the Viewer to present background graphic information (boundaries, roads, text, etc.).
*.mad
Textual representations of the electrical maps. The map files used by the Viewer when presenting graphic information correlated to the network information stored in the database. It is essential to keep the database and the maps synchronized to ensure proper presentation and map conductivity.
mp
The mp directory is the location of model preprocessor import files, [mapname].mp or directories, [mapset].mpd. This is project dependent however most projects will import .mp files.
patches
Contains [mapname].mb files and/or [mapname].mbd directories. These files define the model build transactions that will be submitted to the model. Files are moved into the done subdirectory after they have been submitted.
reports
This directory contains difference reports, which list all changes being introduced into the model for each patch. These are only generated if MBService is running with the -report option.