Skip to content

Commit

Permalink
updates for 0.4.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
samgdotson committed Feb 6, 2025
1 parent 13f8dd3 commit 3c986d6
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 7 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.4.0] - 2025-02-06
This update introduces some big new features to `Osier`.

### Added
- `Osier` includes a new "hierarchical dispatch" model for electricity dispatch (PR #71).
- A new `nmga` module was added to facilitate "n-dimensional modeling-to-generate alternatives." (PR #72)
- Two new tutorials in the documentation
* "Constraint" tutorial - how to constrain an `Osier` model with objective functions.
* "MGA" tutorial - how to perform MGA with `Osier`'s `nmga` module.
- The "dispatch" tutorial demonstrates the hierarchical dispatch algorithm.

### Fixed
- Fixes an issue with GitHub actions that tried setting up a `conda` environment via Mambaforge (now deprecated).
- Version listed in documentation is now linked with `pyproject.toml`.

## [0.3.1] - 2024-10-03
### Fixed
- Migrates the `setup.py` to a `pyproject.toml` configuration file.
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ cd build/html
python -m http.server
```

```{note}
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,
Expand Down
6 changes: 5 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#
import os
import sys
import toml
sys.path.insert(0, os.path.abspath('../..'))


Expand All @@ -22,7 +23,10 @@
author = 'Samuel Dotson'

# The full version, including alpha/beta/rc tags
release = '0.3.1'
with open("../../pyproject.toml", 'r') as file:
pyproject = toml.load(file)

release = pyproject['project']['version']


# -- General configuration ---------------------------------------------------
Expand Down
4 changes: 0 additions & 4 deletions docs/source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
% You can adapt this file completely to your liking, but it should at least
% contain the root `toctree` directive

```{warning}
This package is in active development.
```

```{include} ../../README.md
:relative-images:
```
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name="osier"
version = "0.3.1"
version = "0.4.0"
description = "osier: A justice oriented energy system optimization tool"
readme = "README.md"
keywords = ["energy systems", "optimization", "multi-objective", "justice", "multi-criteria decision"]
Expand All @@ -27,7 +27,8 @@ dependencies = [
'pymoo',
'pyentrp',
'deap',
'pyomo'
'pyomo',
'toml'
]

authors = [
Expand Down

0 comments on commit 3c986d6

Please sign in to comment.