Open djw4erg opened 2 months 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.
Hey @djw4erg, I have a question for you: when started testing in dev, I reverted, exported, and imported the MP file, then evaluated the file. The evaluation output a critical error, QUAL-38-C, "You have not reported all the required Monitor Qualification Percent records for QualificationTypeCode PK BeginDate 1/1/2008." I added a Qualification Action (Qualification Year 2024) , and was able to complete my QA testing. Could you confirm if this QUAL-38-C error is expected? If so, I will move the ticket to QA Done. Otherwise, we should determine alternative next steps or talk at the Friday Standup meeting, thanks.
Resource: This is a link to the passing MP file of the Wheaton Generating Plant, 2-(11-20-2024).json.
"SORX" defaults:
"BWA" defaults:
FYA - @esaber76 and @bryanramirez1
Verified in dev for for ORIS 4014 Config 2:
Hey @djw4erg, I have a question for you: when started testing in dev, I reverted, exported, and imported the MP file, then evaluated the file. The evaluation output a critical error, QUAL-38-C, "You have not reported all the required Monitor Qualification Percent records for QualificationTypeCode PK BeginDate 1/1/2008." I added a Qualification Action (Qualification Year 2024) , and was able to complete my QA testing. Could you confirm if this QUAL-38-C error is expected? If so, I will move the ticket to QA Done. Otherwise, we should determine alternative next steps or talk at the Friday Standup meeting, thanks.
Resource: This is a link to the passing MP file of the Wheaton Generating Plant, 2-(11-20-2024).json.
Acceptance Tests:
"SORX" defaults:
- [x] Allow importing of "SORX" defaults.
- [x] Allow the creation, editing, and display of "SORX" defaults in the Monitor Default create/edit screen.
- [x] Evaluate the data and make sure no issues are encountered.
"BWA" defaults:
- [x] Allow importing of "BWA" defaults. (Currently there are no BWA defaults)
- [x] Correct the creation, editing, and display of "BWA" defaults in the Monitor Default create/edit screen.
- [x] Evaluate the data and make sure no issues are encountered.
FYA - @esaber76 and @bryanramirez1
@ibarra-michelle - yes this is expected for locations with active PK or GF qualification records. They need to add them every new calendar year in the MP and our data is so old...
@ibarra-michelle - yes this is expected for locations with active PK or GF qualification records. They need to add them every new calendar year in the MP and our data is so old...
Thanks for confirming @esaber76. I'll move this over to QA Done.
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
Acceptance Tests: