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

Models a simple communications link. More...

#include <radiator.h>

Inherits dsim_model.

Public Member Functions

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 output.
 
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 input.
 
dsim_variable boresight_dsim
 Boresight.
 
dsim_variable message_outgoing_dsim
 Message outgoing input - a matrix.
 
dsim_variable message_incoming_dsim
 Message incoming output - 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

Models a simple communications link.

This models the transmission of data via a communications link. If the gain is sufficent then the message will be received. Determines if a message is received based on the computed bit error rate.

Member Function Documentation

◆ handle_message()

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

Process incoming messages.

radiator supports the following messages: 'radiator_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.


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