creating a port sub-model within switch model