3073.OPPID How to configure PowerPID to use different spec

advertisement
OPPID - How to configure PowerPID to
use different spec providers
Using the AutoPlant Spec Provider

Open the project pcf and set the variables below. All other spec variables can be deleted or
commented out:
o
o
o
o
o
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:
o
o
o
o
o
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
o Use ODBC Data Source Admin and add a System DSN using the Microsoft Access Driver
(*.mdb)
o Set the Data Source Name to PSDS_IMPERIAL
o 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:
o
o
BMF_SPEC_MANAGER = OpenPlant
OPM_SPECS_PLUGIN_DATABASES = $(_USTN_PROJECTDATASET)Mapping Databases/
o
o
o
o
OPM_SPECPLUGIN_CURRENTSOURCE = PSDS
OPM_SPECPLUGIN_PSDS_USING_DataSource = 1
OPM_SPECPLUGIN_PSDS_DSN
= PSDS_IMPERIAL
OPM_DEFAULT_SPEC = CS150
Using the PDS Spec Provider

Open the project pcf and set the variables below. All other spec variables can be deleted or
commented out:
o
o
BMF_SPEC_MANAGER = OpenPlant
OPM_SPECS_PLUGIN_DATABASES = $(_USTN_PROJECTDATASET)Mapping Databases/
o
o
o
o
o
o
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:
o 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.
o OPM_SPECS_PLUGIN_DATABASES : Need to get an explanation from the OPM team as
to the function of this variable.
o 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
o 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
o OPM_DIR_SPECS : Defines the location of the OpenPlant Modeler spec files

Variables specific to the AutoPlant spec provider
o OPM_SPECPLUGIN_PDW_SPECFOLDER : Defines the location of the AutoPlant spec files

Variables specific to the PlantSpace spec provider
o 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
o OPM_SPECPLUGIN_PSDS_DSN: Defines the name of the ODBC DataSource for the PSDS
Specs and Catalogs database
o OPM_SPECPLUGIN_PSDS_USER: Defines the user name for the ODBC connection (if
required)
o OPM_SPECPLUGIN_PSDS_ PWD: Defines the password for the ODBC connection (if
required)
o OPM_SPECPLUGIN_PSDS_USING_Catalog : Defines if PSDS Catalogs or Specs are used
 0 - Specs are used
 1 - Means Catalogs are used
o
o

OPM_SPECPLUGIN_PSDS_UNITS : Defines the units for the PSDS Specs. Need an
explanation 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
o 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
o OPM_SPECPLUGIN_PDX_MDBDIR : Defines the location of the MDB, if using PDx MDB
source
o OPM_SPECPLUGIN_PDX_PCDDIR : Defines the location of the PCD files if not using PDx
MDB source
o OPM_SPECPLUGIN_PDX_LIBDIR : Defines the location of the LIB files if not using PDx
MDB source
Download