Python package for OSVE
Project description
Operations Simulation & Validation Engine (OSVE)
Introduction
OSVE is Python package that incorporates a C/C++ library to assist the
development and implementation of the science operations by the JUICE Science
Operations Center (SOC).
Its main functionality is to simulate and validate the S/C pointing timeline, instrument timeline and to perform operational constraint checks and assessment of Power and Data Volume resources.
AGM & EPS Libraries
OSVE's core includes the Experiment Planning System (EPS) and the Attitude
Generator Module (AGM) C/C++ software applications developed by TEC (ESTEC)
and PSS (ESAC) that have been used to implement the science planning and conduct
in-flight science operations for ESA's Venus Express, Mars Express, Rosetta,
Solar Orbiter, and BepiColombo missions.
Documentation
A detailed documentation is available with a thorough description of OSVE, the API documentation is also included and is automatically generated from the content of the docs directory and from the docstrings of the public signatures of the source code.
Additional documentation is available at the JUICE SOC Toolkit Help.
Building the Documentation
pip install sphinx
pip install sphinx sphinx_rtd_theme
cd docs
sphinx-build -b html source build
Installation
OSVE is available from the Python Package Index repository. Install it by running the following command:
pip install osve
Using the Library
After installing the library can be used with the Python Shell or with its CLI.
Python Shell
A basic test of the library contents can be done as follows:
from osve import osve
sim = osve.osve()
version = sim.get_app_version()
print(version)
Command line Interface
The package has a CLI entry point:
usage: osve [-h] -r ROOTPATH -s SESSIONFILE
JUICE Operations Simulation & Validation Engine (OSVE) command line interface
optional arguments:
-h, --help show this help message and exit
-r ROOTPATH, --RootPath ROOTPATH
Top level path of the scenario file_path to be used to resolve the relative paths
-s SESSIONFILE, --SessionFile SESSIONFILE
Location and name of the session file containing all the scenarios files
JUICE SOC Tools using OSVE
There are a number of JUICE SOC tools that make usage of OSVE. The most remarkable public ones are listed hereunder:
PTWrapperActs as a wrapper to simplify the usage of OSVE to simulate a Pointing Timeline and generate the Attitude as a SPICE CK to assist the Pointing Timeline Harmonisation of the Detailed Scenario process.juice-phsExploits and uses the OSVE capabilities to assist the Instrument Timeline Harmonisation of the Detailed Scenario process.
OSVE Session File
The OSVE Session File is a text file in JSON format intended to specify to OSVE the settings or parameters to use during initialisation, simulation and reporting steps.
The JSON file is structured with the following objects:
sessionConfigurationMain session object containing the specified OSVE settings.sourceDefines the source or the origin of the data used for this OSVE execution.simulationConfigurationDefines the simulation settings for the OSVE execution.attitudeSimulationConfigurationDefines the attitude simulation settings used by AGM during the OSVE execution. If not specified, OSVE will run the simulation without using AGM.kernelsListDefines SPICE kernels settings for being used by AGM during the OSVE execution.
instrumentSimulationConfigurationDefines the instrument simulation settings for being used by EPS during the OSVE execution. In not specified, OSVE will run the simulation without EPS.inputFilesDefines the input files for the OSVE execution.modellingConfigurationDefines the Experiment modelling files for being used by EPS.
outputFilesDefines the output files that OSVE will generate after the execution.loggingDefines the logging parameters of OSVE.
A template of the Session file with a description of each parameter is available at
session-file. In the JSON file keywords are mandatory unless specified as [OPTIONAL].
Some keywords are labeled as [NOT_USED], this just remarks that this keyword is not used by
OSVE itself but can be used for traceability purposes.
An example of a session file with all the available OSVE overlays is available at session-file-example. More examples of Session files are provided in the test directories. E.g.: Minor Moons test scenario.
OSVE C++/C Library
The C++/C library for which the current Python package works as a wrapper
for can also be directly used and linked with other applications. If this path is chosen it is recommended to inspect the source code of the Python Package to understand how to use it.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file osve-2.5.3-py3-none-any.whl.
File metadata
- Download URL: osve-2.5.3-py3-none-any.whl
- Upload date:
- Size: 31.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af8dbe44b6666912220fefe1eb519c2a88ac0d1bec452ff2a954d16ed9eee0b9
|
|
| MD5 |
dc4c15a6d1861db4ec0512c35a74753a
|
|
| BLAKE2b-256 |
6f9f6402e98925c5248a12e71bd1344db686dd400a5f6598a65aed37a462523f
|