This Xcos block plots access diagram of ground station to satellite visibility.
This Xcos block plots access diagram of ground station to satellite visibility. It can be configured to plot multiple access channels on a single time axis. Number of channels is determined by the size of the names vector provided in block properties dialog. For each items present in this vector a single input channel is created. Channels are assigned in the same order as in vector counting from the top. Satellite is considered visible if the value passed to corresponding input is greater than 0. Additional input at the bottom is reserved for the time information used for labels on x axis. Time can be provided as any 1x1 real value or 6x1 date format. In case of date format time signal values are checked for validity according to following rules:
Input N: 1x1 double (if input > 0 satellite is considered visible by the ground station)
Input N + 1: 1x1 double (for various time formeats) or 6x1 for calendar format[year,month,day, hour, minte,second]
Accept inherited events(0/1) - if "0" block will have event input, if "1" it will refresh on inputs change
Names - row vector of strings listing access channel names to be displayed
Colors - trow vector of strings listing access channel colors to be displayed. Vcotr must be of the same size as Names, and values have to be valid colors accepted by SciLab color() function.
Accept inherited events(0/1) = 1
Names = ["Corou" "KSC"]
Colors = ["blue" "green"]
This example can be found under: {Aerospace Toolbox}/help/en_US/plot_visibility.zcos
macros/PLOT_VISIBILITY.sci
macros/AB_plot_visibility.sci
CelestLab - CelestLab aerospace library
color() - Function used to process user input of color parameters
PLOT_GROUNDTRACK - Aerospace Blockset block able to plot ground track of Earth's satellite.
STATION_VISIBILITY - Aerospace Blockset block calculating access between ground station and satellite.
TIMEFRAME_CONVERSION- Aerospace Blockset block that can be used to convert between different time frames.