public class CustomVehicle extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DRY_SC
Static string dry mass spacecraft.
|
Constructor and Description |
---|
CustomVehicle(fr.cnes.sirius.patrius.assembly.properties.MassProperty dryMassProperty,
CustomAerodynamicProperties aerodynamicProperties,
CustomRadiativeProperties radiativeProperties,
ArrayList<CustomEngine> enginesList,
ArrayList<CustomFuelTank> fuelTankList)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
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() |
public static final String DRY_SC
public CustomVehicle(fr.cnes.sirius.patrius.assembly.properties.MassProperty dryMassProperty, CustomAerodynamicProperties aerodynamicProperties, CustomRadiativeProperties radiativeProperties, ArrayList<CustomEngine> enginesList, ArrayList<CustomFuelTank> fuelTankList)
dryMassProperty
- mass property for dry massaerodynamicProperties
- aerodynamic properties; it may be null if no aerodynamic properties are requiredradiativeProperties
- radiative properties; it may be null if no radiative properties are requiredenginesList
- list of engines (propulsive properties); it may be null if no engines list is requiredfuelTankList
- list of tanks; it may be null if no fuel tanks are requiredpublic fr.cnes.sirius.patrius.assembly.Assembly getAssembly(org.orekit.frames.Frame propagationFrame)
propagationFrame
- the propagation framepublic fr.cnes.sirius.patrius.assembly.Assembly getAssembly(double massMultiplicativeFactor, double aeroSurfMultiplicativeFactor, double radSurfMultiplicativeFactor, org.orekit.frames.Frame propagationFrame)
massMultiplicativeFactor
- total mass multiplicative factor (ergols mass are not changed, only dry mass)aeroSurfMultiplicativeFactor
- aerodynamic surface multiplicative factorradSurfMultiplicativeFactor
- radiative surfaces multiplicative factor (applied to all radiative surfaces)propagationFrame
- propagation framepublic ArrayList<CustomEngine> getEnginesList()
public ArrayList<CustomFuelTank> getTanksList()
public double getDryMass()
public double getErgolsMass()
public double getTotalMass()
public fr.cnes.sirius.patrius.assembly.properties.MassProperty getMassProperty()
public CustomAerodynamicProperties getAerodynamicProperties()
public CustomRadiativeProperties getRadiativeProperties()
public CustomEngine searchForEngine(String name)
name
- name of the enginepublic CustomFuelTank searchForTank(String name)
name
- name of the tankpublic void setDryMass(double dryMass) throws org.orekit.errors.OrekitException
dryMass
- the new dry massorg.orekit.errors.OrekitException
- orekit exceptionpublic void setListEngines(ArrayList<CustomEngine> listEngines)
listEngines
- the listEngines to setpublic void setListTanks(ArrayList<CustomFuelTank> listTanks)
listTanks
- the listTanks to setCopyright © 2017. All rights reserved.