Open djw4erg opened 1 month ago
Additional issues were found during performance testing. Per 9/12/2024 performance testing meeting, documenting these issues here as part of this ticket research.
Example 1: The following types of import and evaluation errors are generated for ORIS 1913, 1 & 2.
Import:
Evaluate: These are related to inactive SORX default records (1/1/2009 - 12/31/2009).
Example 2: The following types of import and evaluation errors are generated for ORIS 4014, 2, 3 and 4.
Import:
Evaluate: These are related to inactive SORX default records (1/1/2009 - 12/31/2017).
This issue is not really an "inactive record" issue in my opinion. The failing DTO check seems to implement DEFAULT-47-B, but it should implement the Default Parameter Code Type from the ECMPS 1.0 MP XSD. That type definition includes "SORX" (Maximum SO2 Emission Rate). The definition includes all the default parameter codes allowed by the ECMPS 2.0 check except for "BWA" (Moisture Fraction in Ambient Air). Changing the DTO check to match the XSD Default Parameter Code Type will eliminate the problem for "SORX".
Note that the "SORX" appears to be a pre-ECMPS relic with all 23 instances starting on 1/1/2009.
Additionally we probably need to check with Charlie to determine whether reporting "BWA" (Moisture Fraction in Ambient Air) for Monitor Defaults is actually allowed.
Overview
The DTO check for valid Default Parameter Codes values excludes "SORX" (Maximum SO2 Emission Rate). The Monitor Default edit screens Parameter dropdown does not include "Maximum SO2 Emission Rate" (SORX). Both imports and the screen should allow the use of "SORX".
The DTO check for valid Default Parameter Codes values excludes "SORX" (Maximum SO2 Emission Rate) and includes "BWA" (Moisture Fraction in Ambient Air). Twenty-three instances of Default Parameter Code "SORX" currently exist with all beginning on January 1st, 2009. No instances of "BWA" exists and could only be entered through a screen in ECMPS 1.0. The purpose of this ticket is to update the DTO check to allow the import and entry of MP JSON that contains "SORX" Default Parameter Codes.
Background
Issues Found During Performance Testing
Changes
Make the following generic crosscheck changes to:
Notes:
Technical Information
Currently the DTO check for the Default Parameter Code uses the following to get a list of the valid parameter codes.
`SELECT distinct parameter_code as "value" FROM camdecmpsmd.vw_defaults_master_data_relationships
SELECT * FROM camdecmpsmd.vw_defaults_master_data_relationships
Additional Information
Locations with "SORX" Default Parameter Codes