Skip to main content

osier: A justice oriented energy system optimization tool

Project description

osier

/ˈōZHər/
Open source multi-objective energy system framework

status Build Status Documentation Status Binder

Installation

Method 1: PyPI

osier is available through PyPI. It may be installed with

python -m pip install osier

or by cloning this repository and building from source:

git clone git@github.com:arfc/osier.git  # requires ssh-keys
# or
git clone https://github.com/arfc/osier.git
cd osier
# for a basic installation
pip install .
# (Windows/Linux) to also install the documentation dependencies
pip install .[doc]
# (MacOS)
pip install .'[doc]'

Method 2: Conda/Mamba Environment

Although osier is not yet available on conda-forge, you may have a more consistent experience by installing osier via a conda environment.

git clone git@github.com:arfc/osier.git  # requires ssh-keys
mamba env create  # mamba and conda are interchangeable, here
mamba activate osier-env

Documentation

The documentation for osier can be viewed here. You can also build the docs locally with:

cd osier/docs
make html
cd build/html
# to serve the documentation
python -m http.server
Users attempting a local install need to make sure that they have `pandoc` installed.
Please visit [`pandoc`'s documentation](https://pandoc.org/installing.html) for 
instructions.

Examples

The examples can be found in the docs/source/examples/ directory. Alternatively, users can run the notebooks and experiment with osier through the Binder app.

Binder

Tests

osier's tests can be run by executing pytest in the top-level directory of osier.

The test package assumes the user has `coin-or-cbc` installed as the default solver. For Windows machines,
this may require some additional steps to install the solver. [Here](https://stackoverflow.com/questions/58868054/how-to-install-coincbc-using-conda-in-windows) is a helpful place to start.

Contributing

Contributions to osier are welcome. For details on how to make bug reports, pull requests, and other information, check the contributing page.

Credits

Some of the documentation infrastructure was inspired by and borrowed from the watts documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

osier-0.4.2.tar.gz (40.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

osier-0.4.2-py3-none-any.whl (36.2 kB view details)

Uploaded Python 3

File details

Details for the file osier-0.4.2.tar.gz.

File metadata

  • Download URL: osier-0.4.2.tar.gz
  • Upload date:
  • Size: 40.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for osier-0.4.2.tar.gz
Algorithm Hash digest
SHA256 2a823b8f9a7ef9fa2edd8f5c912be180ade174e08583740087281a97ab553000
MD5 158b1271e3ef51bd42dee5ce811b9545
BLAKE2b-256 18c7e574e4386cbeecb226ef27c8514d572cd87125e8617274d44a809320fd1a

See more details on using hashes here.

File details

Details for the file osier-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: osier-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 36.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for osier-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 467065bc424f28d291df6913463eb98d2ff57c106bb1483d43696a4e4d33b353
MD5 ba63e79b87238e83ca4964095376946c
BLAKE2b-256 15280302c4141f3e4e3a08a9e9bb28575edc3664546a20263a2b81b5be18bf0b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page