Skip to content

Decreasing json file size#155

Merged
FBumann merged 1 commit intonext/patchfrom
feature/file-size
Feb 3, 2025
Merged

Decreasing json file size#155
FBumann merged 1 commit intonext/patchfrom
feature/file-size

Conversation

@FBumann
Copy link
Copy Markdown
Member

@FBumann FBumann commented Jan 31, 2025

Add a condition, wether to write a "human-readable" json file with indents or not, depending on the expected file size (length of the time series)

…dents or not, depending on the expected file size (length of the time series)
@FBumann FBumann marked this pull request as ready for review February 3, 2025 12:15
@FBumann FBumann merged commit 0544af2 into next/patch Feb 3, 2025
@FBumann FBumann deleted the feature/file-size branch February 3, 2025 12:15
FBumann added a commit that referenced this pull request Feb 23, 2025
* structure.py: bugfix in normalized_center_of_mass()

* remove resolve() from Paths (#150)

* Improving linopy

* Improve linopy

* Add highs solver to linopy

* Feature/to json (#152)

* Add functions to save infos about the modeled flow system to json

* Make str conversion depend on new function to remove dedundancy

* Add compact infos about FlowSystem to .yaml

* ruff issues and formating

* BUGFIX in copy_and_convert_datatypes()

* Temporary commit

* Add a condition, wether to write a "human-readable" json file with indents or not, depending on the expected file size (length of the time series) (#155)

* Add scipy version requirement to prevent issues with highspy

* Move pyomo import into class

* Adding linopy in comments, removing cvxpy

* Keeping pyomo as the default

* Revert "Temporary commit"

This reverts commit 093c6b0.

* ruff format

* Move linopy dependencies

* Add tests for linopy

* Moving from unittest to pytest with fixtures - Step 1

* Moving from unittest to pytest with fixtures - Step 2

* Transfering all test_functional.py to pytest with fixtures

* ruff format

* add linopy to dev requirements

* add gurobipy to dev requirements

* Write the solver lof to a file with linopy

---------

Co-authored-by: baumbude <baumbude@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant