Commit Graph

2520 Commits

Author SHA1 Message Date
Fabian Neumann
7f7ad55c31 pre-commit setup: fix spelling exceptions 2023-03-06 09:21:50 +01:00
Fabian Neumann
aab7bfae44 exclude snakefmt, special spellings from pre-commit 2023-03-06 09:20:52 +01:00
Fabian Neumann
570aebdc4b apply pre-commit 2023-03-06 09:07:45 +01:00
Fabian Neumann
b2295278f3
Merge branch 'master' into ci-config 2023-03-05 16:01:57 +01:00
Fabian Neumann
2633b255eb
Merge pull request #479 from PyPSA/cluster-m
cluster option 'm' only aggregates conventional carriers not excluded
2023-03-05 15:13:33 +01:00
pre-commit-ci[bot]
36003c9627 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-03-05 14:12:39 +00:00
Fabian Neumann
8837ba6a5f allow false for max_depth 2023-03-05 15:12:20 +01:00
Fabian Neumann
6d98edb320
Merge pull request #314 from PyPSA/loggin-replace-print
Replacing print statement with logging
2023-03-05 15:07:10 +01:00
lisazeyen
01e267b417
add link to highs solver settings 2023-03-03 09:55:42 +01:00
lisazeyen
29c1475d57
Merge pull request #318 from PyPSA/highs-settings
add highs solver options
2023-03-02 15:08:45 +01:00
lisazeyen
2ad5eb7e09 add highs solver options 2023-03-02 14:20:52 +01:00
virio-andreyana
0985aa17b3
fix SettingwithCopyWarning in plot_network.py
Fix SettingwithCopyWarning in plot_network.py by using pandas clip and replace.
2023-03-01 12:35:51 +01:00
virio-andreyana
f75cec93d6
lower log level in plot_summary.py and fix warning
reduce the level of "Dropping technology energy balance smaller than {snakemake.config['plotting']['energy_threshold']/10} {units}" and "Total energy balance for {v} of {round(df.sum()[0],2)} {units}" from INFO-> DEBUG. 

Extra warning fix
Add `plt.cla()` in the `for k, v in balances.items()` and take out fig, ax = plt.subplots(figsize=(12,8)) from that for loop to fix RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
2023-03-01 12:29:36 +01:00
virio-andreyana
379ed0da93 Sentence capitalized 2023-02-24 14:42:51 +01:00
virio-andreyana
d237e60b25 Replacing print statement with logging 2023-02-23 10:30:32 +01:00
Fabian Hofmann
f21f0ea146
Merge pull request #313 from PyPSA/ci-config
ci: reduce duplications of test/config.*.yaml
2023-02-22 21:56:28 +01:00
Fabian Neumann
46936e9813 ci: reduce duplications of test/config.*.yaml 2023-02-22 19:39:28 +01:00
Fabian Neumann
67d878d1d7 allow disabling max_depth through config overwrite 2023-02-22 19:28:07 +01:00
Fabian Neumann
4e75d6c644 fix path to test config 2023-02-22 19:20:28 +01:00
Fabian Neumann
e74e5d9864
Merge pull request #312 from PyPSA/myopic-p_nom_max
myopic: adjust p_nom_max if existing larger
2023-02-22 19:14:20 +01:00
Fabian Neumann
708cdb8916 ci: reduce duplications of test/config.test1.yaml 2023-02-22 19:13:03 +01:00
Fabian Neumann
8512129f2c
Merge branch 'master' into cluster-m 2023-02-22 18:57:21 +01:00
Fabian Neumann
846049770e cluster option 'm' only aggregates conventional carriers not excluded 2023-02-22 18:55:05 +01:00
lisazeyen
332936bcec adjust p_nom_max if existing larger 2023-02-22 17:44:05 +01:00
Fabian Neumann
e28e106c96
Merge pull request #478 from PyPSA/tqdm-display
replace progressbar by tqdm
2023-02-22 15:25:48 +01:00
Fabian
3642d5c834 build_renewable_profiles: remove progressbar import 2023-02-22 15:07:57 +01:00
Fabian
ef07ad0b97 ci: revert python buffer 2023-02-22 15:01:49 +01:00
pre-commit-ci[bot]
b134a395b4 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-02-22 13:40:37 +00:00
Fabian
44bb81af46 helpers: undo position fixing in tqdm 2023-02-22 14:40:02 +01:00
Fabian
ef047c20fa ci: flush python terminal output 2023-02-22 14:39:28 +01:00
pre-commit-ci[bot]
64745e7ec2 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-02-22 13:21:28 +00:00
Fabian
825d3e84d2 replace progressbar by tqdm 2023-02-22 14:20:18 +01:00
Fabian Neumann
17152902cd
Merge pull request #311 from PyPSA/shipping-fuel-years
add shipping shares for different years
2023-02-22 13:50:36 +01:00
Fabian Hofmann
acb2569866
Merge pull request #310 from PyPSA/area-calculation-wo-vresutils
build_population_layouts: replace vresutils area calculation
2023-02-22 13:49:19 +01:00
lisazeyen
bbeb7af1a8 add shipping shares for different years 2023-02-22 13:26:29 +01:00
Fabian
dad7d2050e build_population_layouts: replace vresutils area calculation 2023-02-22 13:26:17 +01:00
Fabian Hofmann
4b4990e432
Merge pull request #309 from PyPSA/fix-minor-warnings
Fixing some warnings in biomass_potentials, gas_input_locations and population_layouts
2023-02-22 13:13:16 +01:00
virio-andreyana
e80cab63ca
Update build_biomass_potentials.py
Maybe something in the middle? swiss is a list, while pop was a panda series.
2023-02-22 13:00:06 +01:00
virio-andreyana
74d31c4554 fixing some warnings in build_biomass_potentials.py, build_gas_input_locations.py, scripts/build_population_layouts.py 2023-02-22 12:17:30 +01:00
Fabian Hofmann
8215510f09
Merge pull request #282 from PyPSA/ci-review
Transition to `linopy` implementation
2023-02-22 09:18:29 +01:00
Fabian Hofmann
2d5b832e66
Merge pull request #307 from PyPSA/read-excel-mute-follow-up
mute excel reading with context manager
2023-02-22 07:24:25 +01:00
Fabian
19c35f8a6a use muting of excel read with context manager 2023-02-21 23:20:02 +01:00
Fabian
7e87044424 solve_network: warn if network is not optimal 2023-02-21 21:58:42 +01:00
Fabian
8bf6238785 Merge branch 'master' into ci-review 2023-02-21 17:57:27 +01:00
Fabian Hofmann
ced2e17bf4
Merge pull request #306 from PyPSA/hide-subprocess-output
Hide uninformative text caused by subprocess outputs
2023-02-21 17:37:14 +01:00
Fabian Neumann
ec4191fa51
Merge pull request #477 from PyPSA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2023-02-21 09:49:15 +01:00
pre-commit-ci[bot]
7b4480f597
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/PyCQA/docformatter: v1.6.0.rc1 → v1.5.1](https://github.com/PyCQA/docformatter/compare/v1.6.0.rc1...v1.5.1)
- [github.com/macisamuele/language-formatters-pre-commit-hooks: v2.6.0 → v2.7.0](https://github.com/macisamuele/language-formatters-pre-commit-hooks/compare/v2.6.0...v2.7.0)
2023-02-20 21:27:10 +00:00
virio-andreyana
f276b130bd Hide uninformative text caused by subprocess outputs 2023-02-18 13:47:34 +01:00
Fabian Neumann
26a26b5b78 Merge branch 'master' of github.com:pypsa/pypsa-eur-sec 2023-02-16 21:38:58 +01:00
Fabian Neumann
df1bba0817 remove gitter 2023-02-16 21:38:30 +01:00