Medium Model for the sensor. Make sure it is the same as for all lines the sensors input is connected.
package Medium = Media.myMedia.Interfaces.PartialTwoPhaseMedium;