OPPID - How to configure PowerPID to use different spec providers

Using the AutoPlant Spec Provider

  • Open the project pcf and set the variablesbelow. All other spec variables can be deleted or commented out:
  • BMF_SPEC_MANAGER = OpenPlant
  • OPM_SPECS_PLUGIN_DATABASES = $(_USTN_PROJECTDATASET)Mapping Databases/
  • OPM_SPECPLUGIN_CURRENTSOURCE = PDW
  • OPM_SPECPLUGIN_PDW_SPECFOLDER = C:/Specs/Imperial/AutoPlant/
  • OPM_DEFAULT_SPEC = CS150

Using the OpenPlant Spec Provider

  • Open the project pcf and set the variables below. All other spec variables can be deleted or commented out:
  • BMF_SPEC_MANAGER = OpenPlant
  • OPM_SPECS_PLUGIN_DATABASES = $(_USTN_PROJECTDATASET)Mapping Databases/
  • OPM_SPECPLUGIN_CURRENTSOURCE = OPM
  • OPM_DIR_SPECS = C:/Specs/Imperial/OpenPlant/
  • OPM_DEFAULT_SPEC = CS150

Using the PlantSpace Spec Provider

  • Create a DataSource for the PSDS Spec
  • Use ODBC Data Source Admin and add a System DSN using the Microsoft Access Driver (*.mdb)
  • Set the Data Source Name to PSDS_IMPERIAL
  • Select the database file C:\Specs\Imperial\PSDS\English.mdb
  • Open the project pcf and set the variables below. All other spec variables can be deleted or commented out:
  • BMF_SPEC_MANAGER = OpenPlant
  • OPM_SPECS_PLUGIN_DATABASES = $(_USTN_PROJECTDATASET)Mapping Databases/
  • OPM_SPECPLUGIN_CURRENTSOURCE = PSDS
  • OPM_SPECPLUGIN_PSDS_USING_DataSource = 1
  • OPM_SPECPLUGIN_PSDS_DSN = PSDS_IMPERIAL
  • OPM_DEFAULT_SPEC = CS150

Usingthe PDS Spec Provider

  • Open the project pcf and set the variables below. All other spec variables can be deleted or commented out:
  • BMF_SPEC_MANAGER = OpenPlant
  • OPM_SPECS_PLUGIN_DATABASES = $(_USTN_PROJECTDATASET)Mapping Databases/
  • OPM_SPECPLUGIN_CURRENTSOURCE = PDX
  • OPM_SPECPLUGIN_PDX_USING_MDBSource = 0
  • OPM_SPECPLUGIN_PDX_MDBDIR =
  • OPM_SPECPLUGIN_PDX_PCDDIR = C:/Specs/Imperial/PDS/PDSSpecs/
  • OPM_SPECPLUGIN_PDX_LIBDIR = C:/Specs/Imperial/PDS/PDSLibraries/
  • OPM_DEFAULT_SPEC = 1C0609

Configuration Variables Used by the OpenPlant Spec Manager

  • Variables common to all spec providers:
  • BMF_SPEC_MANAGER : If set to OpenPlant, then PowerPID will use the OpenPlant Spec Manager. If not set or set to anything other than OpenPlant, then PowerPID will use the Spec Manager that shipped with SS1 of PowerPID. Need better explanation of the SS1 Spec Manager.
  • OPM_SPECS_PLUGIN_DATABASES: Need to get an explanation from the OPM team as to the function of this variable.
  • OPM_SPECPLUGIN_CURRENTSOURCE : Defines which spec provider will be used. The valid values are OPM, PDW, PSDS, and PDS.
  • OPM – Use OpenPlant Modeler specs
  • PDW – Use AutoPlant PDW specs
  • PSDS – Use PlantSpace specs
  • PDX – Use PDS specs
  • OPM_DEFAULT_SPEC : Defines the default spec to be used by PowerPID. If not set, then the default spec will be set to the “None” spec.
  • Variables specific to the OpenPlant Modeler spec provider
  • OPM_DIR_SPECS : Defines the location of the OpenPlant Modeler spec files
  • Variables specific to the AutoPlant spec provider
  • OPM_SPECPLUGIN_PDW_SPECFOLDER : Defines the location of the AutoPlant spec files
  • Variables specific to the PlantSpace spec provider
  • OPM_SPECPLUGIN_PSDS_USING_DataSource : Defines whether to use the PSDS ODBC datasource as the source of the PSDS Specs and Catalogs.
  • 0 - Use the DAT files directly
  • 1 - Use the ODBC datasource
  • OPM_SPECPLUGIN_PSDS_DSN: Defines the name of the ODBC DataSource for the PSDS Specs and Catalogs database
  • OPM_SPECPLUGIN_PSDS_USER: Defines the user name for the ODBC connection (if required)
  • OPM_SPECPLUGIN_PSDS_PWD: Defines the password for the ODBC connection (if required)
  • OPM_SPECPLUGIN_PSDS_USING_Catalog : Defines if PSDS Catalogs or Specs are used
  • 0 - Specs are used
  • 1 - Means Catalogs are used
  • OPM_SPECPLUGIN_PSDS_UNITS : Defines the units for the PSDS Specs. Need anexplanation of the possible values here.
  • OPM_SPECPLUGIN_PSDS_DATDIR : Defines the root location for the PSDS catalog files. This is only used if OPM_SPECPLUGIN_PSDS_USING_DataSource is set to 0
  • Variables specific to the PDS spec provider
  • OPM_SPECPLUGIN_PDX_USING_MDBSource : defines if PDx Specs are read from PCD and LIB file or from a MDS snapshot of the spec from a database.
  • 0 - Means use PCD and LIB file
  • 1 - Means use a MDB source
  • OPM_SPECPLUGIN_PDX_MDBDIR : Defines the location of the MDB, if using PDx MDB source
  • OPM_SPECPLUGIN_PDX_PCDDIR : Defines the location of the PCD files if not using PDx MDB source
  • OPM_SPECPLUGIN_PDX_LIBDIR :Defines the location of the LIB files if not using PDx MDB source