Class Antenna
- Namespace
- NominalSystems.Classes
- Assembly
- NominalSystems.Classes.dll
The antenna is able to handle a connection between two objects, which could be a combination of spacecraft and ground station. Antenna use data and can be connected to power sources. They implement telemetry interfaces and can communicate via packets.
public class Antenna : PhysicalComponent, IGroundStationAttachment, IPowerAttachment
- Inheritance
-
Antenna
- Implements
- Derived
- Inherited Members
Constructors
Antenna()
public Antenna()
Fields
AntennaGain
[dB] Transmitter antenna Gain
[EditableVariable("dB", false, "", "")]
public double AntennaGain
Field Value
DivergenceAngle
[rad] Divergence angle of the transmitter
[EditableVariable("rad", 0, 6.283185307179586, false, "", "")]
public double DivergenceAngle
Field Value
ModelType
Analysis type for the antenna dish
[EditableVariable("-", true, "", "")]
public AnalysisModelType ModelType
Field Value
OpticalLoss
[dB] Transmitter Optical Loss
[EditableVariable("dB", false, "", "")]
public double OpticalLoss
Field Value
PointingLoss
[dB] Transmitter pointing loss
[EditableVariable("dB", false, "", "")]
public double PointingLoss
Field Value
Power
[dBm] Power of the transmission
[EditableVariable("dBm", false, "", "")]
public double Power
Field Value
Properties
Bandwidth
[Hz] The bandwidth of the targeted frequency
[EditableVariable("Hz", 0, false, "", "")]
public double Bandwidth { get; set; }
Property Value
Frequency
[Hz] The targeted frequency for the antenna
[EditableVariable("Hz", 0, false, "", "")]
public double Frequency { get; set; }
Property Value
IsTransmitter
[-] A flag for if the antenna is a transmitter or receiver
public virtual bool IsTransmitter { get; protected set; }
Property Value
Links
[-] Stores the current links added by the data subsystem
public List<LinkBlock> Links { get; }
Property Value
NumConnections
Returns the number of connections that are currently valid on the antenna
[EditableVariable("-", true, "", "")]
public int NumConnections { get; }
Property Value
NumLinks
Returns the number of valid links that the antenna have connected
[EditableVariable("-", true, "", "")]
public int NumLinks { get; }
Property Value
TransmissionType
[-] The Antenna Transmission type used for this system
[EditableVariable("-", false, "", "")]
public TransmissionType TransmissionType { get; set; }
Property Value
Methods
ConfigureEMLookupTable(string)
Configures a lookup table and initialises the model type depending if the lookup table is valid.
public override bool ConfigureEMLookupTable(string filename)
Parameters
filename
stringThe full path name (or local file) of the filename to use as a lookup table.
Returns
- bool
A successful lookup table flag
DisableEMLookupTable()
Disables the EM Lookup Table
public override void DisableEMLookupTable()
GetLoadedRFPattern(double, double, double, bool)
Gets the currently loaded RF pattern and returns the data in degrees as an array from 0 to 360.
public double[] GetLoadedRFPattern(double from, double to, double increment, bool useFloor = true)
Parameters
from
double[deg] The starting angle to search (inclusive)
to
double[deg] The final angle to search (inclusive)
increment
double[deg] The increment between angles
useFloor
boolA flag whether to add the floor of the value
Returns
- double[]
The RF pattern array from 0 to 360
OnBegin(double)
Called when the 'Component' is beginning
protected override void OnBegin(double time)
Parameters
time
doublecurrent time (seconds)
OnFinish(double)
Called when the 'Component' is finishing
protected override void OnFinish(double time)
Parameters
time
doublecurrent time (seconds)
UpdatePointingloss(double)
Updates the pointing loss of the antenna based on the angle of the component.
public void UpdatePointingloss(double angle)
Parameters
angle
double[deg] The angle to calculate the pointing loss to