/ˈōZHər/
Open source multi-objective energy system framework
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]'
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
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
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.
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.
Contributions to osier
are welcome. For details on how to make bug reports, pull requests, and other information, check the contributing page.
Some of the documentation infrastructure was inspired by and borrowed from the watts
documentation.