You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: add windows installer
* fix: use python unbuffered on windows
* fix: install git into windows environment
* fix: windows installer needs to locate binaries first
* feat: add shell script for building windows installer
* fix: Speed up uninstalling by batch removing directories first
* fix: gitignore installer build artifacts
* fix: small fixes to windows installer
* fix(installer): clean up wording slightly
* feat: bundle repository into windows installer
* fix: make sure no spaces are in repository directory
* feat: add gh workflow to build and attach the windows installer to releases
* Add documentation and release notes
* Update pixi.lock
* Updates README.md
* fix: remove pixi from installer name
* fix: add INSTDIR to PATH
* fix: install snakemake from open-tyndp channel
* feat: make pixi environment install optional
* fix: add version constraints
* fix: update snakemake-minimal to 9.14.5+opentyndp.1
* fix: compatibility of build_gas_* rules with pyogrio >=0.12.0
pyogrio >=0.12.0 returns JSON fields directly as dicts/lists, so that loading them again
as json fails.
refer to https://github.com/geopandas/pyogrio/releases/tag/v0.12.0 .
* fix: apply suggestions from thomas
* Apply suggestion from Thomas on windows-installer Readme
* fix(docs): fix installation heading levels
* fix typo
* Update pixi.toml
* doc: add installer in the documentation
* chore: solve merge conflicts
---------
Co-authored-by: Thomas Gilon <thomas.gilon@openenergytransition.org>
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,7 @@ The back-casting of the 2024 TYNDP cycle involves developing new features based
51
51
- Added the TOOT reference and project network preparation for CBA (see PRs [#199](https://github.com/open-energy-transition/open-tyndp/pull/199), [#211](https://github.com/open-energy-transition/open-tyndp/pull/211)).
52
52
- Added weekly rolling horizon optimization for CBA networks (see PR [#217](https://github.com/open-energy-transition/open-tyndp/pull/217)).
53
53
- Introduced calculation of B1 indicator in the CBA based on changes in total system costs (see PR [#186](https://github.com/open-energy-transition/open-tyndp/pull/186)).
54
+
- Added automated Windows installer for easy setup on Windows systems (see PR [#333](https://github.com/open-energy-transition/open-tyndp/pull/333)).
54
55
55
56
56
57
@@ -122,6 +123,12 @@ While multiple TYNDP features are already introduced to the Open-TYNDP model, th
122
123
123
124
## 1. Installation
124
125
126
+
### Option A: Windows Installer (Recommended for Windows)
127
+
128
+
For Windows users, download the latest installer (e.g., `open-tyndp-0.4.0-pixi-Windows-x86_64.exe`) from the [releases page](https://github.com/open-energy-transition/open-tyndp/releases) and run it. The installer automatically sets up everything you need, including pixi, the repository, and the conda environment. See `utils/windows-installer/README.md` for details.
Copy file name to clipboardExpand all lines: doc/index.rst
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,7 @@ The back-casting of the 2024 TYNDP cycle involves developing new features based
98
98
- Added the TOOT reference and project network preparation for CBA (see PRs `#199 <https://github.com/open-energy-transition/open-tyndp/pull/199>`__, `#211 <https://github.com/open-energy-transition/open-tyndp/pull/211>`__).
99
99
- Added weekly rolling horizon optimization for CBA networks (see PR `#217 <https://github.com/open-energy-transition/open-tyndp/pull/217>`__).
100
100
- Introduced calculation of B1 indicator in the CBA based on changes in total system costs (see PR `#186 <https://github.com/open-energy-transition/open-tyndp/pull/186>`__).
101
+
- Added automated Windows installer for easy setup on Windows systems (see PR `#333 <https://github.com/open-energy-transition/open-tyndp/pull/333>`__).
For Windows users, the easiest way to install Open-TYNDP is using the automated installer. Download the latest installer executable (e.g., ``open-tyndp-0.4.0-pixi-Windows-x86_64.exe``) from the `GitHub releases page <https://github.com/open-energy-transition/open-tyndp/releases>`__ and run it.
22
+
23
+
The installer will:
24
+
25
+
1. Install pixi package manager to ``%LOCALAPPDATA%\open-tyndp``
26
+
2. Extract the repository files to your chosen installation directory
27
+
3. Set up the conda environment automatically via ``pixi install``
28
+
4. Create Start Menu shortcuts for easy access:
29
+
30
+
- **Open-TYNDP PowerShell** - Launch PowerShell with environment activated
For more details about the installer, see ``utils/windows-installer/README.md`` in the repository.
34
+
35
+
.. note::
36
+
If you prefer manual installation or need more control over the setup process, follow the instructions below for cloning the repository and installing dependencies manually.
37
+
38
+
39
+
.. _manual_installation
40
+
41
+
Option B: Manual installation (All Platforms)
42
+
=============================================
43
+
16
44
.. _clone_repo:
17
45
18
46
Clone the Repository
19
-
====================
47
+
--------------------
20
48
21
49
First of all, clone the `Open-TYNDP repository <https://github.com/open-energy-transition/open-tyndp>`__ using the version control system ``git`` in the command line.
22
50
@@ -28,10 +56,10 @@ First of all, clone the `Open-TYNDP repository <https://github.com/open-energy-t
28
56
.. _deps:
29
57
30
58
Install Python Dependencies
31
-
===============================
59
+
---------------------------
32
60
33
61
Preferred method: ``pixi``
34
-
--------------------------
62
+
~~~~~~~~~~~~~~~~~~~~~~~~~~
35
63
36
64
PyPSA-Eur, and consequently Open-TYNDP, relies on a set of other Python packages to function.
37
65
We manage these using `pixi <https://pixi.sh/latest/>`_.
@@ -49,7 +77,7 @@ Once pixi is installed, you can activate the project environment for your operat
49
77
We don't currently support linux operating systems using ARM processors since certain packages, such as ``PySCIPOpt``, require being built from source.
50
78
51
79
Legacy method: ``conda``
52
-
------------------------
80
+
~~~~~~~~~~~~~~~~~~~~~~~~
53
81
54
82
If you cannot access ``pixi`` on your machine, you can also install using `conda <https://docs.conda.io/projects/conda/en/stable/user-guide/install/index.html>`_ (or ``mamba``/``micromamba``).
55
83
To do so, we highly recommend you install from one of our platform-specific environment files:
@@ -87,7 +115,7 @@ If you are having difficulties with the above files, you can also install direct
87
115
88
116
89
117
Install a Solver
90
-
================
118
+
----------------
91
119
92
120
PyPSA passes the PyPSA-Eur network model to an external solver for performing the optimisation.
Copy file name to clipboardExpand all lines: doc/release_notes.rst
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ Release Notes
11
11
Upcoming Open-TYNDP Release
12
12
================
13
13
14
+
* Added automated Windows installer for easy setup on Windows systems (https://github.com/open-energy-transition/open-tyndp/pull/333). The installer bundles pixi, the repository, and sets up the conda environment automatically. Installer executables are automatically built and attached to GitHub releases. See ``utils/windows-installer/`` for details.
15
+
14
16
* Docs: Add innovation roadmap comparison, mapping existing or new developments in PyPSA-Eur and Open TYNDP to desired features for TYNDP 2026 (https://github.com/open-energy-transition/open-tyndp/pull/341)
15
17
16
18
* Fix Windows compatibility issues and make other minor improvements (https://github.com/open-energy-transition/open-tyndp/pull/357).
0 commit comments