BSK_MultiSatMasters

class BSK_MultiSatMasters.BSKSim(numberSpacecraft, relativeNavigation=False, fswRate=0.1, dynRate=0.1, envRate=0.1, relNavRate=0.1)[source]

Bases: SimBaseClass

Main bskSim simulation class

Parameters:
  • numberSpacecraft (int) – number of spacecraft

  • relativeNavigation (bool) – whether the chief is the barycenter of the spacecraft formation

  • fswRate (float) – [s] FSW update rate

  • dynRate (float) – [s] dynamics update rate

  • envRate (float) – [s] environment update rate

  • relNavRate (float) – [s] relative navigation update rate

property DynModels

Return the configured dynamics models.

Raises:

RuntimeError – If dynamics models have not been added.

property EnvModel

Return the configured environment model.

Raises:

RuntimeError – If an environment model has not been added.

property FSWModels

Return the configured flight software models.

Raises:

RuntimeError – If flight software models have not been added.

get_DynModel()[source]

Return the configured dynamics models.

Raises:

RuntimeError – If dynamics models have not been added.

get_EnvModel()[source]

Return the configured environment model.

Raises:

RuntimeError – If an environment model has not been added.

get_FswModel()[source]

Return the configured flight software models.

Raises:

RuntimeError – If flight software models have not been added.

set_DynModel(dynModel)[source]

Construct and store the dynamics models.

Parameters:

dynModel – Modules containing the BSKDynamicModels class.

Raises:

RuntimeError – If the environment is missing or dynamics setup was already attempted.

set_EnvModel(envModel)[source]

Construct and store the environment model.

Parameters:

envModel – Module containing the BSKEnvironmentModel class.

Raises:

RuntimeError – If environment setup has already been attempted.

set_FswModel(fswModel)[source]

Construct and store the flight software models.

Parameters:

fswModel – Modules containing the BSKFswModels class.

Raises:

RuntimeError – If dynamics is missing or FSW setup was already attempted.