A dispute for charge code 6456 (Intertie Deviation Settlement) revealed the calculation, and in particular, the price used for BA5MResourceHourlyBlockIntertieDeviationSettlementAmount (BA_5M_RSRC_HRLY_BLOCK_TIE_DEV_STLMT@AMOUNT) is incorrect in very specific and relatively rare case. The comparison condition check fails due to rounding of intermediate calculation to the 8th decimal place.
The proposed reformulation makes the calculation less sensitive to the global setting of rounding data to the 8th decimal place for Settlements calculation purposes. As far as impacted charge codes, CC 6456 Intertie Deviation Settlement will reflect settlement changes. The successor charge code CC 6458 (Intertie Deviation Settlement Allocation) can reflect settlement value changes as well.
The retroactive fix changes are to be deployed around 10/25/2023 and will impact retroactively settled charge codes for Trade Dates 6/1/2022.