Skip to content

Commit 87a3ff0

Browse files
authored
Feature/rename to flixopt (#208)
* rename package to flixopt * update .yaml and pyproject * Using FlixOpt as the name in text and flixopt everywhere else * Using FlixOpt as the name in text and flixopt everywhere else
1 parent e53b047 commit 87a3ff0

50 files changed

Lines changed: 141 additions & 143 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/python-app.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
(sleep 30 && pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ $PACKAGE_NAME) || \
100100
(sleep 60 && pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ $PACKAGE_NAME)
101101
# Basic import test
102-
python -c "import flixOpt; print('Installation successful!')"
102+
python -c "import flixopt; print('Installation successful!')"
103103
104104
publish-pypi:
105105
name: Publish to PyPI
@@ -144,4 +144,4 @@ jobs:
144144
# Install from PyPI
145145
pip install $PACKAGE_NAME
146146
# Basic import test
147-
python -c "import flixOpt; print('PyPI installation successful!')"
147+
python -c "import flixopt; print('PyPI installation successful!')"

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# flixOpt: Energy and Material Flow Optimization Framework
1+
# FlixOpt: Energy and Material Flow Optimization Framework
22

33
[![📚 Documentation](https://img.shields.io/badge/📚_docs-online-brightgreen.svg)](https://flixopt.github.io/flixopt/)
44
[![CI](https://github.com/flixOpt/flixopt/actions/workflows/python-app.yaml/badge.svg)](https://github.com/flixOpt/flixopt/actions/workflows/python-app.yaml)
@@ -18,7 +18,7 @@
1818

1919
**flixopt** provides a user-friendly interface with options for advanced users.
2020

21-
It was originally developed by [TU Dresden](https://github.com/gewv-tu-dresden) as part of the SMARTBIOGRID project, funded by the German Federal Ministry for Economic Affairs and Energy (FKZ: 03KB159B). Building on the Matlab-based flixOptMat framework (developed in the FAKS project), flixOpt also incorporates concepts from [oemof/solph](https://github.com/oemof/oemof-solph).
21+
It was originally developed by [TU Dresden](https://github.com/gewv-tu-dresden) as part of the SMARTBIOGRID project, funded by the German Federal Ministry for Economic Affairs and Energy (FKZ: 03KB159B). Building on the Matlab-based flixOptMat framework (developed in the FAKS project), FlixOpt also incorporates concepts from [oemof/solph](https://github.com/oemof/oemof-solph).
2222

2323
---
2424

@@ -50,11 +50,11 @@ It was originally developed by [TU Dresden](https://github.com/gewv-tu-dresden)
5050

5151
## 📦 Installation
5252

53-
Install flixOpt via pip.
53+
Install FlixOpt via pip.
5454
`pip install flixopt`
5555
With [HiGHS](https://github.com/ERGO-Code/HiGHS?tab=readme-ov-file) included out of the box, flixopt is ready to use..
5656

57-
We recommend installing flixOpt with all dependencies, which enables additional features like interactive network visualizations ([pyvis](https://github.com/WestHealth/pyvis)) and time series aggregation ([tsam](https://github.com/FZJ-IEK3-VSA/tsam)).
57+
We recommend installing FlixOpt with all dependencies, which enables additional features like interactive network visualizations ([pyvis](https://github.com/WestHealth/pyvis)) and time series aggregation ([tsam](https://github.com/FZJ-IEK3-VSA/tsam)).
5858
`pip install "flixopt[full]"`
5959

6060
---
@@ -67,7 +67,7 @@ The documentation is available at [https://flixopt.github.io/flixopt/](https://f
6767

6868
## 🛠️ Solver Integration
6969

70-
By default, flixOpt uses the open-source solver [HiGHS](https://highs.dev/) which is installed by default. However, it is compatible with additional solvers such as:
70+
By default, FlixOpt uses the open-source solver [HiGHS](https://highs.dev/) which is installed by default. However, it is compatible with additional solvers such as:
7171

7272
- [Gurobi](https://www.gurobi.com/)
7373
- [CBC](https://github.com/coin-or/Cbc)
@@ -80,7 +80,7 @@ For detailed licensing and installation instructions, refer to the respective so
8080

8181
## 📖 Citation
8282

83-
If you use flixOpt in your research or project, please cite the following:
83+
If you use FlixOpt in your research or project, please cite the following:
8484

8585
- **Main Citation:** [DOI:10.18086/eurosun.2022.04.07](https://doi.org/10.18086/eurosun.2022.04.07)
8686
- **Short Overview:** [DOI:10.13140/RG.2.2.14948.24969](https://doi.org/10.13140/RG.2.2.14948.24969)

docs/contribute.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ We warmly welcome contributions from the community! This guide will help you get
88
3. Run `pytest` and `ruff check .` to ensure your code passes all tests
99

1010
## Documentation
11-
flixOpt uses [mkdocs](https://www.mkdocs.org/) to generate documentation. To preview the documentation locally, run `mkdocs serve` in the root directory.
11+
FlixOpt uses [mkdocs](https://www.mkdocs.org/) to generate documentation. To preview the documentation locally, run `mkdocs serve` in the root directory.
1212

1313
## Helpful Commands
1414
- `mkdocs serve` to preview the documentation locally. Navigate to `http://127.0.0.1:8000/` to view the documentation.
@@ -28,7 +28,7 @@ flixOpt uses [mkdocs](https://www.mkdocs.org/) to generate documentation. To pre
2828
- Ensure 100% test coverage for new code
2929

3030
## Branches
31-
As we start to think flixOpt in **Releases**, we decided to introduce multiple **dev**-branches instead of only one:
31+
As we start to think FlixOpt in **Releases**, we decided to introduce multiple **dev**-branches instead of only one:
3232
Following the **Semantic Versioning** guidelines, we introduced:
3333
- `next/patch`: This is where all pull requests for the next patch release (1.0.x) go.
3434
- `next/minor`: This is where all pull requests for the next minor release (1.x.0) go.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Calculation Mode comparison
2-
**Note:** This example relies on time series data. You can find it in the `examples` folder of the flixOpt repository.
2+
**Note:** This example relies on time series data. You can find it in the `examples` folder of the FlixOpt repository.
33
```python
44
{! ../examples/03_Calculation_types/example_calculation_types.py !}
55
```

docs/examples/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Examples
22

3-
Here you can find a collection of examples that demonstrate how to use flixOpt.
3+
Here you can find a collection of examples that demonstrate how to use FlixOpt.
44

55
We work on improving this gallery. If you have something to share, please contact us!

docs/faq/contribute.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ We warmly welcome contributions from the community! This guide will help you get
88
3. Run `pytest` and `ruff check .` to ensure your code passes all tests
99

1010
## Documentation
11-
flixOpt uses [mkdocs](https://www.mkdocs.org/) to generate documentation. To preview the documentation locally, run `mkdocs serve` in the root directory.
11+
FlixOpt uses [mkdocs](https://www.mkdocs.org/) to generate documentation. To preview the documentation locally, run `mkdocs serve` in the root directory.
1212

1313
## Helpful Commands
1414
- `mkdocs serve` to preview the documentation locally. Navigate to `http://127.0.0.1:8000/` to view the documentation.
@@ -28,7 +28,7 @@ flixOpt uses [mkdocs](https://www.mkdocs.org/) to generate documentation. To pre
2828
- Ensure 100% test coverage for new code
2929

3030
## Branches
31-
As we start to think flixOpt in **Releases**, we decided to introduce multiple **dev**-branches instead of only one:
31+
As we start to think FlixOpt in **Releases**, we decided to introduce multiple **dev**-branches instead of only one:
3232
Following the **Semantic Versioning** guidelines, we introduced:
3333
- `next/patch`: This is where all pull requests for the next patch release (1.0.x) go.
3434
- `next/minor`: This is where all pull requests for the next minor release (1.x.0) go.

docs/getting-started.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Getting Started with flixOpt
1+
# Getting Started with FlixOpt
22

3-
This guide will help you install flixOpt, understand its basic concepts, and run your first optimization model.
3+
This guide will help you install FlixOpt, understand its basic concepts, and run your first optimization model.
44

55
## Installation
66

77
### Basic Installation
88

9-
Install flixOpt directly into your environment using pip:
9+
Install FlixOpt directly into your environment using pip:
1010

1111
```bash
1212
pip install flixopt
@@ -24,19 +24,19 @@ pip install "flixopt[full]""
2424
2525
## Basic Workflow
2626
27-
Working with flixOpt follows a general pattern:
27+
Working with FlixOpt follows a general pattern:
2828
29-
1. **Create a [`FlowSystem`][flixOpt.flow_system.FlowSystem]** with a time series
30-
2. **Define [`Effects`][flixOpt.effects.Effect]** (costs, emissions, etc.)
31-
3. **Define [`Buses`][flixOpt.elements.Bus]** as connection points in your system
32-
4. **Add [`Components`][flixOpt.components]** like converters, storage, sources/sinks with their Flows
33-
5. **Run [`Calculations`][flixOpt.calculation]** to optimize your system
34-
6. **Analyze [`Results`][flixOpt.results]** using built-in or external visualization tools
29+
1. **Create a [`FlowSystem`][flixopt.flow_system.FlowSystem]** with a time series
30+
2. **Define [`Effects`][flixopt.effects.Effect]** (costs, emissions, etc.)
31+
3. **Define [`Buses`][flixopt.elements.Bus]** as connection points in your system
32+
4. **Add [`Components`][flixopt.components]** like converters, storage, sources/sinks with their Flows
33+
5. **Run [`Calculations`][flixopt.calculation]** to optimize your system
34+
6. **Analyze [`Results`][flixopt.results]** using built-in or external visualization tools
3535
3636
## Next Steps
3737
38-
Now that you've installed flixOpt and understand the basic workflow, you can:
38+
Now that you've installed FlixOpt and understand the basic workflow, you can:
3939
40-
- Learn about the [core concepts of flixOpt](user-guide/index.md)
40+
- Learn about the [core concepts of FlixOpt](user-guide/index.md)
4141
- Explore some [examples](examples/)
4242
- Check the [API reference](api-reference/index.md) for detailed documentation

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ FlixOpt is designed as a general-purpose optimization framework to get your mode
2121
- **Results File I/O**: Built to analyze results independent of running the optimization.
2222

2323
<figure markdown>
24-
![flixOpt Conceptual Usage](./images/architecture_flixOpt.png)
25-
<figcaption>Conceptual Usage and IO operations of flixOpt</figcaption>
24+
![FlixOpt Conceptual Usage](./images/architecture_flixOpt.png)
25+
<figcaption>Conceptual Usage and IO operations of FlixOpt</figcaption>
2626
</figure>
2727

2828
## Installation

docs/release-notes/v2.0.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ This access doesn't change if you save and load the results to a file or use the
5656

5757
## 📚 Documentation
5858

59-
- Imporved documentation of the flixOpt API and mathematical formulations
59+
- Improved documentation of the FlixOpt API and mathematical formulations
6060
- **Google Style Docstrings**: Updated all docstrings to Google style format
6161

6262
## 🔄 Dependencies

docs/user-guide/Mathematical Notation/Effects, Penalty & Objective.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
## Effects
2-
[`Effects`][flixOpt.effects.Effect] are used to allocate things like costs, emissions, or other "effects" occuring in the system.
2+
[`Effects`][flixopt.effects.Effect] are used to allocate things like costs, emissions, or other "effects" occuring in the system.
33
These arise from so called **Shares**, which originate from **Elements** like [Flows](Flow.md).
44

55
**Example:**
66

7-
[`Flows`][flixOpt.elements.Flow] have an attribute called `effects_per_flow_hour`, defining the effect amount of per flow hour.
7+
[`Flows`][flixopt.elements.Flow] have an attribute called `effects_per_flow_hour`, defining the effect amount of per flow hour.
88
Assiziated effects could be:
99
- costs - given in [€/kWh]...
1010
- ...or emissions - given in [kg/kWh].
@@ -98,7 +98,7 @@ $$
9898

9999
## Penalty
100100

101-
Additionally to the user defined [Effects](#effects), a Penalty $\Phi$ is part of every flixOpt Model.
101+
Additionally to the user defined [Effects](#effects), a Penalty $\Phi$ is part of every FlixOpt Model.
102102
Its used to prevent unsolvable problems and simplify troubleshooting.
103103
Shares to the penalty can originate from every Element and are constructed similarly to
104104
$\eqref{Share_invest}$ and $\eqref{Share_operation}$.
@@ -117,7 +117,7 @@ At the moment, penalties only occur in [Buses](#buses)
117117

118118
## Objective
119119

120-
The optimization objective of a flixOpt Model is defined as $\eqref{eq:Objective}$
120+
The optimization objective of a FlixOpt Model is defined as $\eqref{eq:Objective}$
121121
$$ \label{eq:Objective}
122122
\min(E_{\Omega} + \Phi)
123123
$$

0 commit comments

Comments
 (0)