[[Image:FDTD48.png]]
Figure 1: The Port Definition dialog.
<font color="red"><u>'''You can define any number of ports equal to or less than the total number of sources in your project.'''</u></font> The Port List of the dialog shows a list of all the ports in ascending order, with their associated sources and the port's characteristic impedance, which is 50O by default. You can delete any port by selecting it from the Port List and clicking the '''Delete '''button of the dialog. Keep in mind that after deleting a port, you will have a source in your project without any port assignment. Make sure that is what you intend. When you delete one or more ports in your project, their associated sources become free and "available" for either defining new ports or reassignment to the other ports. To define a new port, click the '''Add '''button of the Port Definition dialog to open the "Add Port" dialog. On the left side of this dialog, you will see a table containing all the available sources. Select one or more ports and use the right arrow ('''--->''') button to move them to the table on the right side, labeled "Associated". These ports are now associated with the new port being defined. You can move sources from the "Associated" table back to the "Available" table on the left using the left arrow ('''<---''') button of the dialog. <font color="red"><u>'''You can associate more than one source with the same port. In that case, you will have coupled sources, collectively representing a coupled port.'''</u></font>
[[Image:FDTD49.png]]
Figure 2: Reassigning sources to ports and defining coupled ports.
<font color="red"><u>'''{{Note|In order to obtain correct results, the port impedance must equal the characteristic impedance of the transmission line on which the port is established. This is not done automatically in EM.Cube.'''</u></font> }} You can change the characteristic impedance of a port by selecting it from the Port List and clicking the '''Edit '''button of the dialog. This opens up the Edit Port dialog, where you can enter a new value in the box labeled '''Impedance'''.
===Modeling Microstrip Line Ports===