Tom Brown
bbf9ca2d9b
bug fix: naming of p_set when co2_national is True
...
Without this naming fix, the p_set is a NaN once added
2023-12-08 11:58:28 +01:00
Tom Brown
66178a5a27
solve_network: fix sign for country CO2 when bus0=atmosphere
...
So that DAC extracts CO2 rather than pumping into air; for p>0, link
withdraws from bus0, but injects into bus1/2/3, so you have to take
account of this sign difference-
2023-12-04 16:46:45 +01:00
Tom Brown
cea62de438
solve_network: quick fix so duals can be read from CO2 constrain
2023-12-04 16:46:11 +01:00
lisazeyen
3ff925e797
add load shedding for all energy carriers
2023-11-24 10:00:07 +01:00
lisazeyen
e8324b9c27
fix bug when oil copper plated
2023-11-24 09:58:24 +01:00
chrstphtrs
d9ec127f99
Add process emissions to country emissions constraint, fix snapshot weighting
2023-11-21 14:55:32 +01:00
chrstphtrs
82ac430fd9
fix spatial resolution for solid biomass links and naphtha oil loads under 'co2_spatial: true' flag
2023-11-08 09:58:02 +01:00
chrstphtrs
2ad9ca8f7b
add regionalised oil load for process emissions from naphtha as feedstock
2023-10-26 11:17:57 +02:00
chrstphtrs
e2b2eafbc1
add geographical resolution to oil and methanol for options['co2_budget_national'] to include all necessary links in national co2 budget constraints
2023-10-24 16:46:58 +02:00
chrstphtrs
7cb677d0e6
clean up function add_co2limit_country
2023-10-24 16:39:58 +02:00
chrstphtrs
a35f5479ae
add links instead of equal-and-opposite fuel/emissions load pairs for land transport oil (ICEs), naphtha for industry and kerosene for aviation (before summed as 'oil'), shipping oil, shipping methanol, agriculture machinery oil
2023-10-24 14:06:17 +02:00
chrstphtrs
9b9090c76c
add option for additional national carbon budget constraints
2023-10-18 16:59:49 +02:00
Fabian Neumann
7884392326
Merge pull request #748 from PyPSA/follow-up-637
...
follow-up to #637 : remove duplicate code and update tsam version
2023-10-18 10:27:29 +02:00
Fabian Neumann
df5b9e9943
Merge pull request #759 from ekatef/fix_retrofit
...
Update calculations of retrofit costs
2023-10-18 10:26:32 +02:00
pre-commit-ci[bot]
21148e3cc5
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-10-13 10:36:50 +00:00
Ekaterina
b0a95aefaa
Merge branch 'PyPSA:master' into fix_retrofit
2023-10-13 13:30:04 +03:00
ekatef
460fa00b28
Fix file name
2023-10-11 21:43:51 +03:00
Thomas Gilon
4c5ea9e207
Specify input files required to retrieve irena data
...
Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
2023-10-11 16:27:08 +02:00
Fabian Neumann
97a5be1e84
Merge branch 'master' into feature/retrieve-irena
2023-10-11 16:17:15 +02:00
Thomas Gilon
124177b6db
Add option for SMR CC
2023-10-11 14:32:47 +02:00
pre-commit-ci[bot]
230c1a327c
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-10-11 12:27:29 +00:00
Thomas Gilon
43e20a26e6
Add rule to update IRENA data for existing infrastructure
2023-10-11 14:26:04 +02:00
ekatef
fcef194566
Reference to a multiindex level by number instead of name
2023-10-11 12:29:38 +03:00
ekatef
7ad60cb7f9
Fix calculation of averages
2023-10-11 12:28:34 +03:00
ekatef
5ee9df000b
Make an argument of pd.concat to a list
2023-10-11 12:28:08 +03:00
ekatef
b51d908bfa
Fix computation of the mean
2023-10-11 12:27:31 +03:00
ekatef
5ec00c5d9d
Fix type definition for a call of difference function
2023-10-11 12:27:10 +03:00
ekatef
f825544c3b
Remove duplication in column names
2023-10-11 12:26:30 +03:00
ekatef
4294248518
Re-map country codes to account for "GB"
2023-10-11 12:26:10 +03:00
Fabian Neumann
7cb4742c75
Merge pull request #750 from PyPSA/sourcery/master
...
Sourcery refactored master branch
2023-10-08 17:52:45 +02:00
Fabian Neumann
2bab27e2f3
Merge pull request #718 from PyPSA/coke
...
add coal and coke demand for integrated steelworks
2023-10-08 11:58:48 +02:00
pre-commit-ci[bot]
f054180a62
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-10-08 09:20:59 +00:00
Sourcery AI
3c36c60bdd
'Refactored by Sourcery'
2023-10-08 09:20:36 +00:00
Fabian Neumann
679d09c170
follow-up to #637 : remove duplicate code and update tsam version
2023-10-08 11:10:09 +02:00
lisazeyen
1eed747bde
remove spelling mistakes
2023-10-05 12:03:06 +02:00
Fabian Hofmann
51a90b3433
Merge branch 'master' into multi-horizon
2023-10-05 10:59:14 +02:00
Fabian
f5fb307f89
fix type, expand codespell ignore list
2023-10-04 17:31:46 +02:00
lisazeyen
08f1a0f313
remove comments for newer data version
2023-09-30 08:22:41 +02:00
lisazeyen
22fe2448a4
Update scripts/solve_network.py
...
Co-authored-by: Fabian Hofmann <fab.hof@gmx.de>
2023-09-30 08:14:54 +02:00
lisazeyen
21d1109853
Merge branch 'master' into multi-horizon
2023-09-29 08:40:05 +02:00
ekatef
ce8b89d1e2
Fix structure of the grouped dataframe
2023-09-27 14:41:00 +03:00
ekatef
89d140cd7a
Fix a column name in buildings data
2023-09-27 12:51:38 +03:00
ekatef
36fe57938c
Replace pandas.append()
2023-09-27 12:47:23 +03:00
Fabian Neumann
5006bc4877
build_biomass_potentials: link to planning_horizons wildcard, interpolate missing years
2023-09-26 15:12:39 +02:00
euronion
02bffdbd06
Fix bug preventing inclusion of custom_powerplants ( #732 )
2023-09-05 17:21:11 +02:00
pre-commit-ci[bot]
3187081ec0
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-08-31 07:56:07 +00:00
lisazeyen
457a9e23e7
fixes CI perfect
2023-08-31 09:55:38 +02:00
lisazeyen
c0152c25a4
first fixes for CI
2023-08-30 15:57:47 +02:00
pre-commit-ci[bot]
64cbfd673c
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-08-30 12:33:27 +00:00
lisazeyen
c278a3159f
add benchmark back
2023-08-30 14:32:57 +02:00