This is the replaceable package that determines the medium of the Connector. Make sure it fits the medium in all models connected to inlet and port of the Connector.
package Medium = Media.myMedia.Interfaces.PartialMedium;