| 3
| element spacing along Y normalized to free-space wavelength
|}
Â
== Random City Wizard ==
Â
ICON: [[File:rnd_city_icon.png]]
Â
MENU: '''Tools → Propagation Wizards → Random City'''
Â
MODULE(S): [[EM.Terrano]]
Â
FUNCTION: Creates a set of randomly located and randomly oriented buildings with random dimensions in the project workspace
Â
NOTES, SPECIAL CASES OR EXCEPTIONS: This wizard creates an array of pyramidal horn antennas fed by rectangular waveguides with a TE10 modal excitation. The larger dimension of each feeding waveguide is set slightly larger than half its cutoff wavelength for the dominant TE10 mode. The aspect ratio of each waveguide's cross section is 2:1. Its length is set to half the free-space wavelength. All of these dimensions can be replaced by arbitrary numeric values. The horn aperture dimensions and its overall length are calculated based on the specified antenna gain. All of these dimensions can be changed, too.
Â
Â
PYTHON COMMAND(S): emag_random_city(city_size,n_buildings,add_TxRx,rotate_bldg,semi_random,building_base_min,building_base_max,building_height_min,building_height_max,er,sig,tx_h,rx_h,rx_spacing)
Â
Â
CROSS SLOT ANTENNA WIZARD PARAMETERS
{| border="0"
|-
| valign="top"|
|-
{| class="wikitable"
|-
! scope="col"| Parameter Name
! scope="col"| Value Type
! scope="col"| Units
! scope="col"| Default Value
! scope="col"| Notes
|-
! scope="row" | city_size
| real numeric
| meter
| 250
| total dimensions of the square city area
|-
! scope="row" | n_buildings
| integer numeric
| -
| 25
| total number of buildings
|-
! scope="row" | add_TxRx
| Boolean
| -
| True
| adds a default transmitter at the origin of coordinates and a grid of receivers
|-
! scope="row" | rotate_bldg
| Boolean
| -
| False
| sets the rotation angles of each building as random variables
|-
! scope="row" | semi_random
| Boolean
| -
| False
| if true, the buildings are initially generated via random variables, but their parameters are locked afterwards
|-
! scope="row" | building_base_min
| real numeric
| meter
| 10
| minimum dimension of the base of the individual buildings
|-
! scope="row" | building_base_max
| real numeric
| meter
| 20
| maximum dimension of the base of the individual buildings
|-
! scope="row" | building_height_min
| real numeric
| meter
| 5
| minimum height of the individual buildings
|-
! scope="row" | building_height_max
| real numeric
| meter
| 20
| maximum height of the individual buildings
|-
! scope="row" | er
| real numeric
| -
| 4.4
| relative permittivity of building walls
|-
! scope="row" | sig
| real numeric
| S/m
| 1e-3
| conductivity of building walls
|-
! scope="row" | tx_h
| real numeric
| meter
| 10
| height of the default transmitter
|-
! scope="row" | rx_h
| real numeric
| meter
| 1
| height of the default receivers
|-
! scope="row" | rx_spacing
| real numeric
| meter
| 5
| spacing among the individual receivers
|}