Click here to learn more about [[Planar MoM Source Types]].
[[Image:PMOM52.png|thumb|400px|EM.Picasso's Port Definition dialog.]]
[[Image:PMOM53.png|thumb|400px|The Edit Port dialog.]]
[[Image:PMOM51(2).png|thumb|400px|Coupling gap sources in the Port Definition dialog by associating more than one source with a single port.]]
=== Defining Ports ===
Ports are defined in the '''Observables''' section of the Navigation Tree. Right click on the '''Port Definition''' item of the Navigation Tree and select '''Insert New Port Definition...''' from the contextual menu. The Port Definition Dialog opens up, showing the default port assignments. If you have N sources in your planar structure, then N default ports are defined, with one port assigned to each source according to their order on the Navigation Tree. Note that your project can have mixed gap and probes sources as well as active lumped element sources.
Â
[[File:PMOM52.png]]
Â
Figure 1: The Port Definition dialog.
'''You can define any number of ports equal to or less than the total number of sources in your project.''' 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 50S 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 and make sure that is what you intend. 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'''.
Â
[[File:PMOM53.png]]
Â
Figure 2: Edit Port dialog.
Click here to learn more about the theory of [[Computing Port Characteristics in Planar MoM]].
{{Note|It is your responsibility to set up coupled ports and coupled [[Transmission Lines]] properly. For example, to excite the desirable odd mode of a coplanar waveguide (CPW), you need to create two rectangular slots parallel to and aligned with each other and place two gap sources on them with the same offsets and opposite polarities. To excite the even mode of the CPW, you use the same polarity for the two collocated gap sources. Whether you define a coupled port for the CPW or not, the right definition of sources will excite the proper mode. The couple ports are needed only for correct calculation of the port characteristics.}}
Â
[[File:PMOM51(2).png|800px]]
Â
Figure 1: Coupling gap sources in the Port Definition dialog by associating more than one source with a single port.
[[Image:PMOM64.png|thumb|600px|EM.Picasso's Lumped Element dialog.]]