Skip to main content

Python Simulator

This folder contains a standard-library Python version of the optical link-budget simulator. It follows the same scenario, hardware, atmospheric-loss, snapshot, continuous-jitter, and outage models as the MATLAB application.

Requirements

  • Python 3.10 or newer
  • Tkinter, which is included with the standard Python installers from python.org
  • Internet access when Live API weather is selected

No pip packages, virtual environment, MATLAB installation, or API key are required.

Run from a downloaded ZIP

  1. Download and extract the project ZIP.
  2. Open Terminal or Command Prompt in the extracted project folder.
  3. Run:
python3 python/run.py

On Windows, use this command if python3 is not recognized:

py python\run.py

Install from PyPI

The packaged application can be installed and launched with:

python3 -m pip install ogs-linkbudget-live
ogs-linkbudget

Features

  • Downlink, uplink, and inter-satellite links
  • User-selected worst-case elevation for ground-space links
  • Manual weather or live Open-Meteo conditions
  • Past Replay and Current Hold continuous weather timelines
  • Rayleigh and Rician randomized pointing jitter
  • Ideal no-weather/no-jitter reference margin
  • Dynamic margin, probability-density, and outage charts

Each continuous run creates a fresh random jitter sequence. No seed is requested from the user.

Interface

The Scenario Settings tab selects the link direction, conservative elevation, weather source, station location, simulation mode, weather timeline, pointing model, and duration.

Python Scenario Settings tab
Python scenario and continuous-simulation controls.

The Hardware Configuration tab defines transmitter power, wavelength, terminal apertures, jitter, and optional Rician boresight bias.

Python Hardware Configuration tab
Python optical hardware and pointing controls.

Continuous simulations display the randomized link-margin profile, the ideal no-weather/no-jitter reference, the 0 dB outage threshold, the margin probability density, and the calculated outage rate.

Python continuous simulation analytics
Python continuous link-margin and outage analytics.

Run the tests

From the project folder:

python3 -m unittest discover -s python/tests -t python

The test suite uses only local data and does not require an internet connection.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ogs_linkbudget_live-3.0.0.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ogs_linkbudget_live-3.0.0-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file ogs_linkbudget_live-3.0.0.tar.gz.

File metadata

  • Download URL: ogs_linkbudget_live-3.0.0.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for ogs_linkbudget_live-3.0.0.tar.gz
Algorithm Hash digest
SHA256 e0fc1a7bbd5fc40587955a8594ded45abca0073e5a0d201ab75bfa3cf968c651
MD5 baba4fd2440f9b656a456fe3690f863d
BLAKE2b-256 6bf55659e5760ce0f443d6cb59f6eea7b2fda83a2862c1f978b68353fb1f7708

See more details on using hashes here.

Provenance

The following attestation bundles were made for ogs_linkbudget_live-3.0.0.tar.gz:

Publisher: publish-to-pypi.yml on reptide/ogs-linkbudget-live

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ogs_linkbudget_live-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ogs_linkbudget_live-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f5e22894fca2b000b14696996bcc3aabcfc6b77fec0dee3dec0702fb96c3e59
MD5 56c16af30fe9572145bb64fab1f1ad6e
BLAKE2b-256 ff8f5a1c516c781707423422ccd1f1890d2f9c19f46eda607fbeaeb34196a64d

See more details on using hashes here.

Provenance

The following attestation bundles were made for ogs_linkbudget_live-3.0.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on reptide/ogs-linkbudget-live

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page