Dynamic casting from CPS::Base::Ph1::Switch to TopologicalPowerComp is currently not possible. This is the preferred strategy to implement mapDisconnector and mapBreaker. We need to check if it is possible to fix this, by verifying the inheritance of the involved classes.
As a workaround, these functions were implemented in #556 using an intermediate shared pointer to a CPS::TopologicalPowerComp.
Dynamic casting from
CPS::Base::Ph1::SwitchtoTopologicalPowerCompis currently not possible. This is the preferred strategy to implementmapDisconnectorandmapBreaker. We need to check if it is possible to fix this, by verifying the inheritance of the involved classes.As a workaround, these functions were implemented in #556 using an intermediate shared pointer to a
CPS::TopologicalPowerComp.