Follow-up to #423.
Within each decoupling family the per-domain variants are nearly identical copies, and the two families (ITM and line) overlap a lot too:
- ITM:
DecouplingIdealTransformer_EMT_Ph1 / EMT_Ph3 / SP_Ph1 / DP_Ph1
- Line:
DecouplingLine / DecouplingLineEMT / DecouplingLineEMT_Ph3
A shared base class (ideally shared between the two families where they overlap) would cut most of the duplication and keep them in sync. The resistor bug in #423 only happened in one variant precisely because they're maintained separately.
Best done together with the CompositePowerComp migration.
Done when
Follow-up to #423.
Within each decoupling family the per-domain variants are nearly identical copies, and the two families (ITM and line) overlap a lot too:
DecouplingIdealTransformer_EMT_Ph1/EMT_Ph3/SP_Ph1/DP_Ph1DecouplingLine/DecouplingLineEMT/DecouplingLineEMT_Ph3A shared base class (ideally shared between the two families where they overlap) would cut most of the duplication and keep them in sync. The resistor bug in #423 only happened in one variant precisely because they're maintained separately.
Best done together with the
CompositePowerCompmigration.Done when