rf_link_budget
Calculate maximum allowable path loss and cell radius for radio links. Size cell coverage, compare frequency bands, or verify a proposed link closes under chosen propagation models.
Instructions
Calculate maximum allowable path loss and the resulting cell radius.
Works out EIRP, the loss budget available to the link, and how far that reaches under the chosen propagation model. Use it to size cell coverage, compare frequency bands, or check whether a proposed link closes.
Reports a warning when parameters fall outside the model's published validity range -- an empirical model used out of range still returns a confident number, and nothing else will catch that.
This is a statistical model over an idealised environment, not a specific path: it answers "how far does this radio reach here?", not "does this exact link clear that ridge?". For the ground between two points, use terrain_profile. For what is already transmitting nearby, use rf_towers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Propagation model. free_space: theoretical minimum, any frequency. two_ray: flat rural ground reflection. hata: 150-1500 MHz. cost231_hata: 1500-2000 MHz. | cost231_hata |
| losses_db | No | Feeder, connector and body losses in dB. | |
| environment | No | Clutter type; sets the metro correction and default fade margin. | urban |
| rx_gain_dbi | No | Receive antenna gain in dBi. | |
| rx_height_m | No | Receive antenna height above ground. | |
| tx_gain_dbi | No | Transmit antenna gain in dBi. | |
| tx_height_m | No | Transmit antenna height above ground. | |
| tx_power_dbm | No | Transmit power in dBm. | |
| frequency_mhz | No | Carrier frequency in MHz. | |
| shadow_margin_db | No | Shadow-fading margin in dB. Defaults to a typical value for the environment. | |
| rx_sensitivity_dbm | No | Receiver sensitivity in dBm. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| model | Yes | ||
| inputs | Yes | ||
| eirp_dbm | Yes | ||
| warnings | No | ||
| environment | Yes | ||
| cell_area_km2 | Yes | ||
| cell_radius_km | Yes | ||
| shadow_margin_db | Yes | ||
| max_allowable_path_loss_db | Yes | ||
| max_path_loss_with_margin_db | Yes |