Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# TAT-C Change Log

## Unreleased

Added:
- Optional field `communications` of space systems (`schemas.SpacecraftCommunications`: radio `Transmitter`s down to ground stations or across to relays, and how data is generated, `DataGeneration`), ground stations (`StationCommunications`: antennas and `Receiver`s), and relays (`RelayCommunications`: antennas and receivers of each relay satellite, and its feeder link to the ground), which constellations give their members. Transmitters and receivers take coarse parameters (EIRP or power and antenna, G/T or antenna and noise temperature, link modes or a Shannon modem) for link budgets, or only a rate when nothing more is known. Class `schemas.DataFlow` holds the options of data flow analyses.
- Coarse radio link budgets (`utils.compute_link_rate`): free-space path loss, clear-sky atmospheric loss scaled from zenith by elevation, and carrier to noise density, with the rate of the fastest link mode that closes with a margin (`compute_mode_rate`) or of a modem that follows the channel's capacity less a gap (`compute_shannon_rate`). Sourced nominal frequencies and zenith attenuations of the S, X, Ku, and Ka bands (`utils.get_band`), and the modes of DVB-S2 and common CCSDS codes at a symbol rate (`utils.get_link_modes`).
- Function `analysis.compute_data_flow`: the latencies of satellites' observations through the flow of their data, rather than timing alone. Each satellite generates data (`analysis.compute_generation`, at its communications' rate or its instruments' total data rate, while active), stores it (losing data while its storage is full), and sends it first in, first out over links to ground stations and relays at rates from link budgets (or a known rate, such as its resources' `downlink_rate`), scheduled cell by cell of a grid of time: each transmitter sends over one link at a time, ground stations and relay satellites receive over a limited number of antennas, and relay satellites forward at most their feeder rate. Links are released once storage empties (or at the end of their contacts). Data generated during a link is sent as it is generated, or, with `DataFlow(streaming=False)`, recorded and played back at the end of the contact, as on a scheduled pass. Its `DataFlowResult` gives the schedule of links, the storage of each satellite over time, a summary of volumes generated, delivered, and lost, and the utilization of each ground station and relay satellite. Functions `analysis.sample_link_geometry` and `compute_link_rates` give the distance, elevation, and rate of links through contacts on the grid of time.
- Argument `data_flow` of `analysis.evaluate_architecture` (and `Architecture.evaluate`): the downlinks of observations through the flow of data (`lost`, and the evaluation's `flow`), with satellites generating data only while active and sharing the antennas of ground stations and relays, so that leaving out or adding members (such as a relay) measures their value to latency and data loss. Contacts and observations are not analyzed again for members that differ only in their communications or resources.
- Argument `data_flow` of `tradespace.Observations`: studies of architectures with a data flow model, whose cached observations and contacts are shared by designs that differ only in communications or resources. The metrics of the phases of a mission with a data flow model are those within the data flow of all its planned satellites, which share antennas.
- Catalog spacecraft, relay systems, and ground networks give communications with the source of each value, which are not part of the digests of configurations: `Spacecraft.communications` (transmitters, which `SatelliteSystem.build` gives satellites), `SatelliteSystem.services` of relaying systems (antennas and receivers of each relay satellite, which `build_relay(service=...)` gives the relay), and `GroundNetwork.terminals` (antennas and receivers of each station, which `GroundNetwork.build` gives the stations).
- Sourced communications in the catalog: the transmitters of the stored mission data of the spacecraft of JPSS (NOAA-20 and NOAA-21), Landsat 8, Sentinel-1, -2, -3, -5P, and -6, Metop, Metop-SG A1, NISAR, SWOT, PACE, ICESat-2, SMAP, OCO-2, GCOM-W, EarthCARE, COSMIC-2, GOES-19, Himawari-9, and MTG-I1, and the crosslinks to TDRS of GPM, Terra, and TRMM; the single and multiple access services of TDRS (`build_relay(service="single_access")`); the 13 m antennas of NOAA's Fairbanks and Wallops stations; and a new catalog system `near_earth_network`: the antennas of NASA's Near Earth Network, NASA's own and those of KSAT, SSC, and SANSA (configurations `all`, `ksat`, `ssc`, and `nasa`), each with its position, G/T, and maximum rates. The systems page lists them.
- Example notebook `ComputeDataFlow`: the latency of a constellation's observations through the flow of its data, with link budgets of an X-band downlink to KSAT's antennas of the Near Earth Network, and the value of adding a TDRS relay with a Ka-band crosslink, with figures of storage, links, and latency distributions and an animation of the data flow.
- Validation notebook `ValidateLatencyNOAA20` tests the data flow of NOAA-20 (its cataloged instrument data rates and Ka-band playback) against the order and times its granules are created (data observed during contacts played back at their ends, without streaming), and its granule times are compared in the unit of its contacts (it failed with pandas 3).

## 3.8.0

Added architectures of observing platforms of every kind, with the ground stations and relays (such as TDRS) that receive their data and the windows in which members are active, evaluated together (`evaluate_architecture`) with the value of each member left out or candidate added, and as the designs, or a shared baseline, of trade studies (`ObservationStudy`). Added the nominal performance (ground sample distance and signal-to-noise ratio) and resources (mass, power, and data rate) of instruments and spacecraft, with sourced values in the catalog, and catalog systems of ground networks (NOAA's ground stations and NASA's Space Network). Added optional sample size grades to the validation standard (versions 8 to 11) for pushbroom, beam, geostationary, SAR, and scatterometer instruments, with sample size configurations of catalog entries, the resolutions of radars (`range_resolution` and `azimuth_resolution`), and the fixed grids of geostationary imagers (`ViewGeometry.SCAN_ALONG_FIRST`); catalog entries and systems can be listed by their tier for a use (`grade`). Fixed the longitude of `GeosynchronousOrbit` (off by up to about 0.04 deg), sample sizes of views away from their scan line, and latencies that missed a contact in progress. The default analysis of `tradespace.Observations` changed, so caches on disk of earlier studies are computed again, and every configuration of ABI, AHI, and FCI uses the inertial frame. Deprecated the field `stations` of `Architecture` (renamed `ground_stations`) and the lifetime distributions `Exponential`, `Weibull`, `Bathtub`, and `Piecewise` (renamed with the suffix `Lifetime`).
Expand Down
38 changes: 38 additions & 0 deletions docs/api_reference/analysis/data_flow.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
Data Flow
=========

The flow of data from satellites to the ground through ground stations and
relays: the data each satellite generates and stores, the links scheduled
through antennas at rates from link budgets, and the latency (or loss) of each
observation.

Compute Data Flow
-----------------
.. autofunction:: tatc.analysis.compute_data_flow

Analyze Data Flow
-----------------
.. autofunction:: tatc.analysis.analyze_data_flow

.. autoclass:: tatc.analysis.DataFlowResult
:members: find, satellites

Find Data Flow Downlinks
------------------------
.. autofunction:: tatc.analysis.find_data_flow_downlinks

Compute Generation
------------------
.. autofunction:: tatc.analysis.compute_generation

.. autofunction:: tatc.analysis.get_generation_rate

.. autofunction:: tatc.analysis.is_data_flow_modeled

Sample Link Geometry
--------------------
.. autofunction:: tatc.analysis.sample_link_geometry

Compute Link Rates
------------------
.. autofunction:: tatc.analysis.compute_link_rates
1 change: 1 addition & 0 deletions docs/api_reference/analysis/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Analysis functions simulate mission operation to compute key performance metrics
coincidence
feature_coverage
latency
data_flow
dop
ro_coverage
limb_coverage
Expand Down
23 changes: 23 additions & 0 deletions docs/api_reference/schemas/mission.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,26 @@ Relay
-----

.. autopydantic_model:: tatc.schemas.Relay

Communications
--------------

.. autopydantic_model:: tatc.schemas.SpacecraftCommunications

.. autopydantic_model:: tatc.schemas.StationCommunications

.. autopydantic_model:: tatc.schemas.RelayCommunications

.. autopydantic_model:: tatc.schemas.Transmitter
:members:

.. autopydantic_model:: tatc.schemas.Receiver
:members:

.. autopydantic_model:: tatc.schemas.LinkMode

.. autopydantic_model:: tatc.schemas.ShannonModem

.. autopydantic_model:: tatc.schemas.DataGeneration

.. autopydantic_model:: tatc.schemas.DataFlow
26 changes: 26 additions & 0 deletions docs/api_reference/utils/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,29 @@ Utility Functions
.. autofunction:: tatc.utils.compute_radar_footprint

.. autofunction:: tatc.utils.compute_radar_footprint_profile

.. autofunction:: tatc.utils.compute_link_rate

.. autofunction:: tatc.utils.compute_free_space_path_loss

.. autofunction:: tatc.utils.compute_antenna_gain

.. autofunction:: tatc.utils.compute_atmospheric_loss

.. autofunction:: tatc.utils.compute_carrier_to_noise_density

.. autofunction:: tatc.utils.compute_mode_rate

.. autofunction:: tatc.utils.compute_shannon_rate

.. autofunction:: tatc.utils.get_band

.. autofunction:: tatc.utils.get_link_modes

.. autofunction:: tatc.utils.get_eirp

.. autofunction:: tatc.utils.get_frequency

.. autofunction:: tatc.utils.get_g_over_t

.. autoclass:: tatc.utils.BandDefaults
Loading