That what happens is; you hit Solve. COFE creates a new thread, saves your unit in the original thread (if you implement save), creates your unit in the new thread, loads it (if you implement load) and tries to connect the ports that were connected in the original unit.
If the copied unit does not contain the port, that will result in that message.
You can easily verify my hypothesis: Edit, Preferences, turn off "Allow solving flowsheet in a separate thread". Now you are running the same unit as the one in the foreground thread. If this runs ok, please check if you have implemented persistence, and if persistence properly restores the ports.Statistics: Posted by jasper — 23 March 2015, 08:25
]]>