Spacecraft Models Package 2.0
Spacecraft Models for DSim
Public Member Functions | Protected Attributes | List of all members
comm_link Class Reference

Geometric intersatellite link model based on S/N ratio. More...

#include <comm_link.h>

Inherits dsim_model.

Public Member Functions

 comm_link (dsim_model_setup *setup)
 Constructor.
 
void initialization_complete ()
 Finish initialization.
 
void initialize_data ()
 Initialize outlets and output variables.
 
void initialize_timestep ()
 Computation done prior to beginning of timestep.
 
void pre_calculate ()
 Computation done prior to numerical integration.
 
void post_calculate ()
 Computation done after numerical integration.
 
dsim_value handle_message (const std::string &sender_path, const std::string &message_name, const dsim_value &argument)
 Process incoming messages. More...
 

Protected Attributes

dsim_variable parent_quaternion_dsim
 Parent quaternion.
 
dsim_variable parent_position_dsim
 Parent position.
 
dsim_variable position_dsim
 Vehicle position.
 
dsim_variable power_transmit_dsim
 Transmit power.
 
dsim_variable power_receive_dsim
 Receive power (W)
 
dsim_variable antenna_receive_gain_dsim
 Receive antenna gain (db)
 
dsim_variable antenna_transmit_gain_dsim
 Transmit power (W)
 
dsim_variable power_receive_saturation_dsim
 Receive power saturation (W)
 
dsim_variable transmit_frequency_dsim
 Transmit frequency (GHz)
 
dsim_variable transmit_angle_dsim
 Transmit angle.
 
dsim_variable receive_angle_dsim
 Receive angle.
 
dsim_variable transmit_dsim
 Transmit.
 
dsim_variable boresight_dsim
 Boresight.
 
dsim_variable message_outgoing_dsim
 Message outgoing - a matrix.
 
dsim_variable message_incoming_dsim
 Message incoming - a matrix.
 
dsim_variable feed_loss_dsim
 Feed loss (db)
 
dsim_variable guard_bits_dsim
 Guard bits - number of bits that can be wrong.
 
dsim_variable antenna_temperature_dsim
 Antenna temperature in deg-K.
 
dsim_variable channel_data_rate_dsim
 Channel rate in bits per second.
 

Detailed Description

Geometric intersatellite link model based on S/N ratio.

Geometric intersatellite link model based on S/N ratio.

You need to enter the antenna gain in db, feeder loss in db the transmit power and the angle of the antenna. Defaults are for an omni antenna with a 1.76 db gain. You pass a message to the model and it sends it to any other comm_link model to which it is attached using the target mechanism. You also input the number of guard or error bits. The model does a link analysis and computes the bit error rate which is used to compute the number of bad bits based on the size of the message an a normal probability distribution function. If the number of bad bits exceeds the number of guard bits you get an empty matrix as your message.

Member Function Documentation

◆ handle_message()

dsim_value comm_link::handle_message ( const std::string &  sender_path,
const std::string &  message_name,
const dsim_value &  argument 
)

The documentation for this class was generated from the following files: