Offshore Oil and Gas Field Energy System Operational Optimisation (OOGESO)
Project description
Offshore Oil and Gas Energy System Operational Optimisation Model (oogeso)
Python module for modelling and analysing the energy system of offshore oil and gas fields, with renewable energy and storage integration.
Part of the Low Emission Centre (SP5).
Getting started
Pypi distribution to come. See local installation below.
Local installation
Prerequisite: Poetry
Clone or download the code and install it as a python package. I.e. navigate to the folder with the MANIFEST.in file and type:
Install as a package for normal use:
poetry install
Install dependencies for local development
poetry install --no-root
--no-root to not install the package itself, only the dependencies.poetry shell
poetry run pytests tests
Local development in Docker
Alternatively you can run and develop the code using docker and the Dockerfile in the root folder.
User guide
The online user guide gives more information about how to specify input data and run a simulation case.
There is also a (not always up-to-date) manual with more information and explanations about the modelling concepts and model elements:
Examples
Check out the examples:
- [Simple test case](examples/test case2.ipynb?viewer=nbviewer)
- Test oil and gas platform
GitHub Actions Pipelines
3 pipelines are defined.
- Build: Building and testing on multiple OS and python versions. Triggered on any push to GitHub.
- Release: Create release based on tags starting on v*.
- Publish: Publish package to PyPi.
Contribute
You are welcome to contribute to the improvement of the code.
- Use Issues to describe and track needed improvements and bug fixes
- Use branches to avoid messing things up -- but don't veer too far away from the trunk (master branch)
Contact
Harald G Svendsen
SINTEF Energy Research
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.