diff --git a/.bumpversion.cfg b/.bumpversion.cfg index eb5ee6e..ccb0786 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 2.0.3 +current_version = 2.0.4 commit = True tag = True diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 3a05302..b748d3b 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -23,4 +23,4 @@ jobs: uses: docker/build-push-action@v5 with: push: true - tags: wingechr/ptx-boa:2.0.3 + tags: wingechr/ptx-boa:2.0.4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 0af280c..e46b5e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ - fix bug regarding snapshot weightings ([#548](https://github.com/agoenergy/ptx-boa/pull/549)) +## 2.0.4 (2024-09-11) + +- Disable Green Iron cost calculations for maintenance +- add possiblity to define parameter space in offline optimization script + ## 2.0.3 (2024-07-15) - upgrade pypsa requirements to 0.28 diff --git a/Dockerfile b/Dockerfile index ea683ba..1334738 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM python:3.10-slim -LABEL version="2.0.3" +LABEL version="2.0.4" RUN apt-get update RUN apt-get install -y git diff --git a/README.md b/README.md index 00d0fa0..368d245 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ scp -r ptxboa2:ptx-boa_offline_optimization/optimization_cache/* . # connect to server ssh ptxboa # pull latest image from dockerhub -VERSION=2.0.3 +VERSION=2.0.4 docker pull wingechr/ptx-boa:$VERSION # stop and delete the currently running container "app" docker stop app diff --git a/app/sidebar.py b/app/sidebar.py index 0c6502b..2097951 100644 --- a/app/sidebar.py +++ b/app/sidebar.py @@ -95,7 +95,6 @@ def main_settings(api): "Product:", [ "Ammonia", - "Green Iron", "Hydrogen", "LOHC", "Methane", diff --git a/app/tab_info.py b/app/tab_info.py index 0753c96..5868c65 100644 --- a/app/tab_info.py +++ b/app/tab_info.py @@ -4,7 +4,7 @@ from app.ptxboa_functions import read_markdown_file -__version__ = "2.0.3" +__version__ = "2.0.4" def content_info(): diff --git a/ptxboa_streamlit.py b/ptxboa_streamlit.py index e596cc5..7777c26 100644 --- a/ptxboa_streamlit.py +++ b/ptxboa_streamlit.py @@ -6,7 +6,7 @@ >>> streamlit run ptxboa_streamlit.py """ -__version__ = "2.0.3" +__version__ = "2.0.4" import logging @@ -91,6 +91,12 @@ st.title("PtX Business Opportunity Analyser") +with st.container(): + st.warning( + "**Info:** The calculation of costs for producing Green Iron" + " is currently under revision and will be released in the coming days." + ) + with st.container(): if st.session_state["edit_input_data"]: st.info("Data editing mode **ON**")