fr.cnes.genopus.nonWidget.vehicle
Class CustomVehicle

java.lang.Object
  extended by fr.cnes.genopus.nonWidget.vehicle.CustomVehicle

public class CustomVehicle
extends Object

Class containing vehicle data.

Author:
sumelzi

Field Summary
static String DRY_SC
          Static string dry mass spacecraft.
 
Constructor Summary
CustomVehicle(fr.cnes.sirius.patrius.assembly.properties.MassProperty dryMassProperty, CustomAerodynamicProperties aerodynamicProperties, CustomRadiativeProperties radiativeProperties, ArrayList<CustomEngine> enginesList, ArrayList<CustomFuelTank> fuelTankList)
          Creates a new instance.
 
Method Summary
 CustomAerodynamicProperties getAerodynamicProperties()
          Get aerodynamic properties.
 fr.cnes.sirius.patrius.assembly.Assembly getAssembly(double massMultiplicativeFactor, double aeroSurfMultiplicativeFactor, double radSurfMultiplicativeFactor, org.orekit.frames.Frame propagationFrame)
          Get the vehicle assembly applying multiplicative factors.
 fr.cnes.sirius.patrius.assembly.Assembly getAssembly(org.orekit.frames.Frame propagationFrame)
          Get the vehicle assembly without dispersions factors.
 double getDryMass()
          Get vehicle dry mass.
 ArrayList<CustomEngine> getEnginesList()
          Get list of engines.
 double getErgolsMass()
          Get ergol mass.
 fr.cnes.sirius.patrius.assembly.properties.MassProperty getMassProperty()
          Get mass property.
 CustomRadiativeProperties getRadiativeProperties()
          Get radiative properties.
 ArrayList<CustomFuelTank> getTanksList()
          Get list of tanks.
 double getTotalMass()
          Get total mass.
 CustomEngine searchForEngine(String name)
          Public method to search the engine object corresponding to the specified name.
 CustomFuelTank searchForTank(String name)
          Public method to search the tank object corresponding to the specified name.
 void setDryMass(double dryMass)
          Set dry mass.
 void setListEngines(ArrayList<CustomEngine> listEngines)
          Set list of engines.
 void setListTanks(ArrayList<CustomFuelTank> listTanks)
          Set list of fuel tanks.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DRY_SC

public static final String DRY_SC
Static string dry mass spacecraft.

See Also:
Constant Field Values
Constructor Detail

CustomVehicle

public CustomVehicle(fr.cnes.sirius.patrius.assembly.properties.MassProperty dryMassProperty,
                     CustomAerodynamicProperties aerodynamicProperties,
                     CustomRadiativeProperties radiativeProperties,
                     ArrayList<CustomEngine> enginesList,
                     ArrayList<CustomFuelTank> fuelTankList)
Creates a new instance.

Parameters:
dryMassProperty - mass property for dry mass
aerodynamicProperties - aerodynamic properties; it may be null if no aerodynamic properties are required
radiativeProperties - radiative properties; it may be null if no radiative properties are required
enginesList - list of engines (propulsive properties); it may be null if no engines list is required
fuelTankList - list of tanks; it may be null if no fuel tanks are required
Method Detail

getAssembly

public fr.cnes.sirius.patrius.assembly.Assembly getAssembly(org.orekit.frames.Frame propagationFrame)
                                                     throws NonWidgetException
Get the vehicle assembly without dispersions factors.

Parameters:
propagationFrame - the propagation frame
Returns:
the assembly
Throws:
NonWidgetException - if mass property or one of the fuel tanks has negative mass

getAssembly

public fr.cnes.sirius.patrius.assembly.Assembly getAssembly(double massMultiplicativeFactor,
                                                            double aeroSurfMultiplicativeFactor,
                                                            double radSurfMultiplicativeFactor,
                                                            org.orekit.frames.Frame propagationFrame)
                                                     throws NonWidgetException
Get the vehicle assembly applying multiplicative factors.

Parameters:
massMultiplicativeFactor - total mass multiplicative factor (ergols mass are not changed, only dry mass)
aeroSurfMultiplicativeFactor - aerodynamic surface multiplicative factor
radSurfMultiplicativeFactor - radiative surfaces multiplicative factor (applied to all radiative surfaces)
propagationFrame - propagation frame
Returns:
the assembly the assembly
Throws:
NonWidgetException - if mass property or one of the fuel tanks has negative mass

getEnginesList

public ArrayList<CustomEngine> getEnginesList()
Get list of engines. It returns null if list of engines was not given.

Returns:
the list of engines

getTanksList

public ArrayList<CustomFuelTank> getTanksList()
Get list of tanks. It returns null if list of tanks was not given.

Returns:
the list of tanks

getDryMass

public double getDryMass()
Get vehicle dry mass.

Returns:
the dry mass

getErgolsMass

public double getErgolsMass()
Get ergol mass.

Returns:
the ergols mass

getTotalMass

public double getTotalMass()
Get total mass.

Returns:
the total mass

getMassProperty

public fr.cnes.sirius.patrius.assembly.properties.MassProperty getMassProperty()
Get mass property.

Returns:
the mass property (null if it was not given)

getAerodynamicProperties

public CustomAerodynamicProperties getAerodynamicProperties()
Get aerodynamic properties.

Returns:
the aerodynamicProperties (null if they were not given)

getRadiativeProperties

public CustomRadiativeProperties getRadiativeProperties()
Get radiative properties.

Returns:
the radiativeProperties (null if they where not given)

searchForEngine

public CustomEngine searchForEngine(String name)
Public method to search the engine object corresponding to the specified name.

Parameters:
name - name of the engine
Returns:
engine object

searchForTank

public CustomFuelTank searchForTank(String name)
Public method to search the tank object corresponding to the specified name.

Parameters:
name - name of the tank
Returns:
tank object

setDryMass

public void setDryMass(double dryMass)
                throws org.orekit.errors.OrekitException
Set dry mass.

Parameters:
dryMass - the new dry mass
Throws:
org.orekit.errors.OrekitException - orekit exception

setListEngines

public void setListEngines(ArrayList<CustomEngine> listEngines)
Set list of engines.

Parameters:
listEngines - the listEngines to set

setListTanks

public void setListTanks(ArrayList<CustomFuelTank> listTanks)
Set list of fuel tanks.

Parameters:
listTanks - the listTanks to set

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2017. All rights reserved.