Understand validations for the DRA Injector Setpoint Management Programmatic Interface
- Last UpdatedApr 24, 2025
- 1 minute read
Before committing the Drag Reducing Agent (DRA) Dynamic Configuration, the following validations occur for the Drag Reducing Agent (DRA) Injector Setpoint Management Application Program Interface (API):
-
A DRALine table with the given name must exist. This name is found in the External Reference Code field of the DRALine record in the Advanced Database Editor (ADE).
-
For a given DRALine table, no two DRAProdGroup elements may have the same name, that is, the name of a DRAProdGroup elements must be unique per DRALine table.
-
For each DRAProdGroupProdTypeJoin element, ensure that one and only one Product Type (through the RealTime prodtype table field prod_code) exists.
-
A Product Type (through the RealTime prodtype table field prod_code) must not be assigned to more than one DRAProdGroup element per DRALine table. Also, for each Product Type, ensure that there are no duplicates with respect to the DRAProdGroupProdTypeJoin element.
-
For a given DRALine table, no two DRAFlowRateRange elements may have the same name, that is, the name of a DRAFlowRateRange element must be unique per DRALine table.