For a "Mixer" unit operation block, I create one inlet port and one outlet port on it's initialization. When an inlet stream is connected to it's inlet port, I will create a new inlet port and add to the "port collection", then the UO will have two inlet ports and one outlet port. More inlet ports will be created and added while inlet streams connected.
I find that Simulator only refreshes ports connection status when UO intialized or Edited, whether COFE or Aspen Plus. So after new port created and added to port collection, Simulator doesn't know this change and still has the same inlet ports count as before, unless click on the UO icon to open it's Edit Window by hand.
So I wonder are there any other strategies to refresh ports status after new port created?