-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
47 lines (43 loc) · 1.5 KB
/
pyproject.toml
File metadata and controls
47 lines (43 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[project]
name = "bems-cosimos"
version = "1.0.0"
author = "Jens Engel"
description = "Repository containing various implementations of a building energy management system (BEMS) for the Honda facility in Offenbach. Basis for PhD Thesis doi:10.26083/tuprints-00030032"
readme = "README.md"
requires-python = ">=3.11,<3.12"
# the python and package versions here reflect what I used to produce my PhD results
# they are not strict. from other experiments, python 3.12 works just fine, as do newer versions of cvxpy and gurobipy
# the only issue that I did encounter was with more recent versions of xgboost, when loading stored regressors.
# I simply pickled the xgboost regressors, which is kinda a big no no, since compatibility between versions is not
# guaranteed. instead, xgboost has its own API for this, which I did not use, same for torch/lightning.
# in retrospect, not the smartest move.
dependencies = [
"control==0.9.4",
"cosimos",
"cvxpy==1.4.1",
"filterpy>=1.4.5",
"fmpy==0.3.19",
"gurobipy>=11,<12",
"lightning>=2.5.2",
"matplotlib>=3.10.5",
"pyyaml>=6.0.2",
"scikit-learn==1.3.2",
"torch==2.2",
"tqdm>=4.67.1",
"xgboost==2.0.2",
"scipy<1.14",
"gurobipy>=11,<12",
"casadi>=3.7.1",
"seaborn>=0.13.2",
]
[tool.ruff]
line-length = 120
[tool.ruff.format]
[tool.ruff.lint]
select = ["E"]
ignore = ["E722"]
fixable = ["ALL"]
unfixable = []
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.uv.sources]
cosimos = { path = "../../cosimos" }