Spacecraft Models Package 2.0
Spacecraft Models for DSim
|
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... | |
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.
dsim_value comm_link::handle_message | ( | const std::string & | sender_path, |
const std::string & | message_name, | ||
const dsim_value & | argument | ||
) |
Process incoming messages.
comm_link supports the following messages: 'comm_link_message' !
References antenna_receive_gain_dsim, antenna_temperature_dsim, boresight_dsim, channel_data_rate_dsim, guard_bits_dsim, message_incoming_dsim, parent_quaternion_dsim, receive_angle_dsim, and transmit_frequency_dsim.