Skip to content

Add high tap position fields to TwoWindingsTransformerField#162

Merged
flomillot merged 9 commits intomainfrom
add-high-tap-position-fields
Feb 25, 2026
Merged

Add high tap position fields to TwoWindingsTransformerField#162
flomillot merged 9 commits intomainfrom
add-high-tap-position-fields

Conversation

@flomillot
Copy link
Contributor

@flomillot flomillot commented Feb 20, 2026

Summary

  • Add RATIO_HIGH_TAP_POSITION and PHASE_HIGH_TAP_POSITION enum values to TwoWindingsTransformerField
  • Handle these fields in isEquipmentEditable (not editable)
  • Handle these fields in getReferenceValue using getHighTapPosition() on the corresponding tap changer

…sTransformerField

Add high tap position fields for both ratio and phase tap changers
in TwoWindingsTransformerField enum. These read-only fields are
handled in isEquipmentEditable and getReferenceValue methods,
following the same pattern as their LOW_TAP_POSITION counterparts.

Signed-off-by: Florent <florent@users.noreply.github.com>
Signed-off-by: Florent MILLOT <75525996+flomillot@users.noreply.github.com>
…ble fields in TwoWindingsTransformerField

Signed-off-by: Florent MILLOT <75525996+flomillot@users.noreply.github.com>
Integrate validation for RATIO_HIGH_TAP_POSITION and PHASE_HIGH_TAP_POSITION to ensure their values remain consistent and unmodified in assignment and formula modifications.

Signed-off-by: Florent MILLOT <75525996+flomillot@users.noreply.github.com>
@flomillot flomillot requested a review from EtienneLt February 23, 2026 15:13
flomillot and others added 6 commits February 23, 2026 17:17
… test assertions

Signed-off-by: Florent MILLOT <75525996+flomillot@users.noreply.github.com>
…transformers

Enhance test coverage for RATIO_HIGH_TAP_POSITION and PHASE_HIGH_TAP_POSITION with new filters, formula modifications, and non-editable field validations in assignment tests.

Signed-off-by: Florent MILLOT <75525996+flomillot@users.noreply.github.com>
…odificationByAssignmentTest

Signed-off-by: Florent MILLOT <75525996+flomillot@users.noreply.github.com>
@sonarqubecloud
Copy link

Copy link
Contributor

@EtienneLt EtienneLt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code OK test OK

@flomillot flomillot merged commit 19efbff into main Feb 25, 2026
3 checks passed
@flomillot flomillot deleted the add-high-tap-position-fields branch February 25, 2026 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants