Fabian Neumann
b04a55a248
merge former countries hydro profiles
2022-07-20 15:03:48 +02:00
Julio Pascual
ce3b193a88
Update add_electricity.py
2022-07-04 18:42:22 +02:00
Fabian
67ac464b6a
add_electricity: use conventional_inputs from snakemake.input for attach_conventional_generators
2022-06-28 16:33:46 +02:00
Fabian Hofmann
82013fd081
Update scripts/add_electricity.py
...
Co-authored-by: Martha Frysztacki <martha.frysztacki@kit.edu>
2022-06-28 13:16:55 +02:00
Fabian
9d997fbd79
generalize conventional attr handling through config
2022-06-28 10:14:26 +02:00
Fabian Hofmann
8349e85252
Apply suggestions from code review
...
Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
2022-06-27 11:48:45 +02:00
Fabian
3dbd8d1492
add_electricity: fix read_csv
2022-06-24 18:31:39 +02:00
Fabian
2c5643a5f8
add_electricity: fix conventional config
2022-06-23 16:36:22 +02:00
Fabian
441d7d56f9
fix eafs and conventional setttings
2022-06-23 16:04:49 +02:00
Fabian Hofmann
db78f9cd2a
Update scripts/add_electricity.py
...
Co-authored-by: Martha Frysztacki <martha.frysztacki@kit.edu>
2022-06-23 15:54:22 +02:00
Fabian Neumann
173ab7b318
add_electricity: make drop_leap_year own function
2022-06-16 09:00:33 +02:00
Fabian Neumann
6713317bbe
add_electricity: fix missing variable assignment
2022-06-16 08:46:47 +02:00
Fabian Neumann
ec4a45b46b
add weather_year wildcard to mock_snakemake objects
2022-06-15 15:03:17 +02:00
Fabian Neumann
e9b3cb7558
add_electricity: remove unused load data handling
2022-06-15 14:02:19 +02:00
Fabian Neumann
4a44c45ace
add option to cut Feb 29 in leap years
2022-06-15 13:51:56 +02:00
Fabian Neumann
9a37fe6572
merge master
2022-06-15 09:22:51 +02:00
Fabian
1c0975181e
add_electricity: fix missing config key
2022-06-10 11:23:35 +02:00
Fabian
13992125bd
cluster_network: adjust generator strategy for new columns
2022-06-10 11:23:26 +02:00
Fabian
c68aa028ff
add_electricity: fix missing config key
2022-06-10 00:36:07 +02:00
Fabian
f45803ff10
add_electricity: fix missing backwards compat and warnings
2022-06-09 23:40:32 +02:00
Fabian
76cd0751b4
Merge branch 'eu-energy-security' of github.com:PyPSA/pypsa-eur into eu-energy-security
2022-06-09 20:36:35 +02:00
Fabian
0ec3a8638b
add_electricity & config:
...
- refactor attachment of conventional carriers
- refactor scaling of renewable carriers
2022-06-09 20:31:50 +02:00
Fabian
8b855f0478
add_elecitricity: scale only missing renewable capacities from OPSD
2022-06-07 15:17:49 +02:00
Fabian Hofmann
619b471f72
Merge branch 'master' into eu-energy-security
2022-06-07 10:05:11 +02:00
Fabian Neumann
49f1c0f629
Merge pull request #348 from PyPSA/annuity
...
add_electricity: remove vresutils.costdata.annuity dependency
2022-04-15 18:36:37 +02:00
Fabian Neumann
4712bfc893
fix nuclear EAF processing code
2022-04-08 19:55:40 +02:00
euronion
c412a61013
Add country-specific EAF restriction for NPPs. ( #361 )
...
* Add country-specific EAF restriction for NPPs.
Based on historic figures from IAEA.
* Update release_notes.rst
2022-04-08 15:41:23 +02:00
Fabian
f878faac73
add_electricity: allow estimate_renewable_capacities to be commented out
2022-04-05 08:02:44 +02:00
Fabian Neumann
ade22bf4f0
add existing wind and solar capacities based on IRENASTATS
2022-04-04 19:03:09 +02:00
Fabian Neumann
c54ddab4a3
remove unused simple_hvdc_costs
2022-03-24 14:47:00 +01:00
Fabian Neumann
52b0d29fae
merge master
2022-02-18 10:24:26 +01:00
martacki
6cdf3a2879
use snakemake keywords directly without extracting them beforehand
2022-01-24 19:48:26 +01:00
martacki
f28a088ea3
arguments in function calls instead of kwarg-style
2022-01-14 11:30:15 +01:00
Martha Frysztacki
7067d924cc
Merge branch 'master' into snakemake_dependencies_in_functions
2022-01-14 11:05:54 +01:00
martacki
deac9f32e7
move snakemake keys (input, output, config, ...) to own variables
2022-01-14 11:05:15 +01:00
Fabian Neumann
72e277a007
update environment and address deprecations ( #291 )
...
* update environment and address deprecations
* check pandas<1.3
* limit snakemake due to ascii encoding error, address review comments
* remove version restriction on snakemake
2022-01-14 07:43:21 +00:00
Fabian
acd7122aad
add_electricity: revert changes in add_nice_carrier_names
2022-01-11 09:58:59 +01:00
Fabian
66f2d36f0d
add_electricity: revise code and make it leaner
2022-01-11 09:38:34 +01:00
Fabian Neumann
646c5011af
Merge branch 'master' into snakemake_dependencies_in_functions
2021-11-10 09:46:57 +01:00
Fabian Neumann
2e02af8b4b
change license
2021-09-14 16:37:41 +02:00
martacki
dfb929f2cf
remove snakemake dependencies in functions, use as kwarg instead
2021-09-14 16:34:02 +02:00
Fabian Neumann
4cc5e49ca8
Adapt to new snapshot weightings ( #259 )
...
* for now use n.snapshot_weightings.generators
* require pypsa master; use .objective for Nyears
* implement suggestions from code review
* add release note
2021-08-06 13:43:12 +00:00
martacki
b10317ee3c
fix p_nom_min values for extendable carriers with positive p_nom
2021-06-30 21:07:38 +02:00
Fabian Neumann
70078d03b2
add unresolved merge conflict to be addressed
2021-04-27 16:14:52 +02:00
Fabian Neumann
efdfad97a3
address FutureWarning re set operations on pd.Index ( #238 )
2021-04-27 07:51:46 +02:00
Koen van Greevenbroek
9048af482f
Add a check to fix KeyError ( #220 ) ( #228 )
...
In some cases, in networks with DC links, a non-existing column would
be referenced in an empty Dataframe. This commit adds a check for this
case.
Co-authored-by: Koen van Greevenbroek <koen@vesoldo.com>
2021-03-10 18:16:09 +01:00
Fabian Neumann
08674a6cda
Release v0.3 ( #213 )
...
* release_notes: order for release
* doc: fix smaller typos and tidy up
* config: bump version
* doc: fix line references
* doc: bump confpy version
* envs: update fixed versions yaml
* Snakefile: simplify all_elec to all
2020-12-05 17:54:50 +01:00
FabianHofmann
3fa5bbad1c
Opsd renewable ppls ( #212 )
...
* fix clustering of offwind-ac and offwind-dc in sites option
* add release nodes
* attach renewable assets by location (lat and lon) from OPSD register to network
* adapt default config to changes
* undo changes from a differen PR in cluster_network.py
* undo changes from a different PR, add release notes for this PR
* correct release notes
* add comments for relevant settings in add_electricity.py
* adjust configtable for electricity to OPSD renewable option and add estimate_renewable_capacities_from_capacitiy_stats
* reset cluster_network to HEAD
* add_electricity: Capacity is float
* config: add GB to OPSD_VRE_countries
* review and modify implementation
* update release notes
* Update envs/environment.yaml
Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
Co-authored-by: martha.frysztacki <eb5194@iai-esm003.iai.kit.edu>
Co-authored-by: eb5194 <martha.frysztacki@kit.edu>
Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
2020-12-03 23:13:41 +01:00
Fabian Neumann
2fc1ea0255
some refactoring and code cleaning ( #190 )
...
* some refactoring and code cleaning
* execute pre-commit
* pre-commit: limit large files
* add license to .pre-commit
* add pre-commit to env
* solve: tidy memory logger
* travis: add conda list for easier debugging
* undo config test/tutorial without plotting, rm matplotlibrc, .licenses
* remove {networks} wildcard
* unadd pre-commit config
* add release notes
* restore REUSE compliance
* fix docs environment python version
* env: remove gurobi from dependencies
* fix unclean merge block
* fix elif to if
* lighter rtd style
* lighter rtd style II
2020-12-03 19:50:53 +01:00
FabianHofmann
9792069ab3
Update load processing ( #211 )
...
* build_load_data
* Add documentation
* updating load data import
* Update Config files
* Update load.csv
* Update add_electricity.py
* change log file name
* Update scripts/add_electricity.py
Co-authored-by: FabianHofmann <hofmann@fias.uni-frankfurt.de>
* Update scripts/build_load_data.py
Co-authored-by: FabianHofmann <hofmann@fias.uni-frankfurt.de>
* Update scripts/build_load_data.py
Co-authored-by: FabianHofmann <hofmann@fias.uni-frankfurt.de>
* Update scripts/build_load_data.py
Co-authored-by: FabianHofmann <hofmann@fias.uni-frankfurt.de>
* Update build_load_data.py
* Update build_load_data.py
* Update scripts/build_load_data.py
Co-authored-by: FabianHofmann <hofmann@fias.uni-frankfurt.de>
* update gap handling in build_load_data
* Update build_load_data.py
* Update config.test1.yaml
* update test.config
* Update config.tutorial.yaml
* update load csv function for load data
* Update build_load_data.py
* Update config.test1.yaml
* Update add_electricity.py
* Update build_load_data.py
* Added error messages if load data contains gaps after modifications
* general adjustments:
- reduce data source to only entsoe statistics
- sanitize code
- adjust logging messages
- adjust daocstrings
* update Snakefile config and docs
* update release notes
rename build_load -> build_load_data in config
* small follow up
* - reintroduce choice between powerstatistics and transparency
- remove load_ timeseries from databundle
- always build load_data
- reinsert scaling factor in config
- fix url to 2019 version
* update doc: configtable, release notes
update config.yaml
* follow up
Co-authored-by: Jan Frederick <jan.frederick.unnewehr@inatech.uni-freiburg.de>
Co-authored-by: JanFrederickUnnewehr <50404069+JanFrederickUnnewehr@users.noreply.github.com>
2020-12-03 12:49:04 +01:00