Tom Brown
8982147706
Convert code to use PyPSA nomopyomo branch; only works for LV=1.0
...
Will extend to LV > 1.0 soon.
2019-11-27 18:34:53 +01:00
Fabian
e59d2c4162
scripts/* revise imports
2019-11-14 17:50:24 +01:00
Fabian Neumann
7cd3b8a42b
solve: undo update line parameter
2019-11-09 13:23:01 +01:00
Fabian Neumann
998b13dc3a
solve: update line parameters if not iterating
2019-11-09 13:16:31 +01:00
Fabian Neumann
bf12d25879
Merge pull request #51 from fneum/solve_network
...
Add `extra_functionality` and `extra_postprocessing` to solve_network()
2019-11-06 11:38:15 +01:00
Fabian Neumann
4d9b02ea12
solve_network: add snapshots as required argument
2019-11-06 11:33:57 +01:00
Fabian Neumann
0fef13ee86
resolve merge conflicts
2019-10-24 16:22:57 +02:00
Fabian Neumann
0e5886081e
move rules to own pages and adapt image paths
2019-08-14 15:36:46 +02:00
Fabian Neumann
63f2e1cd79
description of solve_network
2019-08-14 11:07:52 +02:00
Fabian Neumann
f16a107aea
result sample
2019-08-14 10:35:41 +02:00
Fabian Neumann
0b130b35ef
link rule references to their documentation
2019-08-13 17:52:33 +02:00
Fabian Neumann
3a94d4f5ef
add seealso from module description to config documentatoin
2019-08-13 10:03:46 +02:00
Fabian Neumann
4d3d898430
remove trialed sphinx-bibtex and describe wildcards
2019-08-12 23:48:16 +02:00
Fabian Neumann
89d89deec0
further improve documentation
2019-08-12 19:01:53 +02:00
Fabian Neumann
a5d9bc9c7c
add input/output descriptions (WIP)
2019-08-11 22:34:18 +02:00
Fabian Neumann
67cf28b593
fill in relevant settings sections
2019-08-11 13:17:36 +02:00
Fabian Neumann
1bded0ab9b
add rule section headers
2019-08-11 11:40:47 +02:00
Jonas Hoersch
fb0d44f64e
Add a summary sentence for each rule taken from scripts
2019-08-08 15:07:08 +02:00
Tom Brown
8d68146e7c
Switch to BDEW-based weekday/end space heating demand profiles
...
These are different for residential and services demand.
Also include Snakefile in config files copied for each run.
Use gurobi settings from gurobi support for speed.
Commented out settings for testing randomness for noise.
2019-08-07 19:08:06 +02:00
Tom Brown
32af25df62
Backup config files before solve_network rather than after
...
For debugging cases where solving failed.
2019-07-20 10:55:23 +02:00
Tom Brown
ddca9afcc7
Give all loads a carrier; rename heat buses; fix district h losses
...
Heat buses renamed to:
rural (for low-density areas where district heating not possible)
urban decentral (for high-density areas without district heating and
individual heating technologies) (used to be called "urban")
urban central (for high-density areas with district heating) (used to
be called "central")
District heating losses applied only to urban central.
2019-07-16 16:00:21 +02:00
Fabian Neumann
2979b89291
Merge remote-tracking branch 'upstream/master' into solve_network
2019-06-18 13:48:52 +02:00
Fabian Neumann
dc1feadcba
generalize solve_network
...
* skip_iterating flag: solve network only once without updating impedances
* extra_functionality parameter: add function to modify pyomo model
* extra_functionality args: function arguments for extra_functionality
* extra_postprocessing: add function for postprocessing steps depending on n.model
2019-06-18 13:24:29 +02:00
Jeroen Peters
97985e3c52
Fix by changing po.Constraint.Skip into pypsa.opt.Constraint.Skip
2019-06-18 13:18:59 +02:00
Jonas Hörsch
ac32f2cad6
Fix typo introduced in previous commit
2019-06-18 13:18:59 +02:00
Jonas Hörsch
2f728b33c8
solve_network: Move country/carrier constraints to opts as CCL
2019-06-18 13:18:59 +02:00
Jonas Hörsch
d7fcbbba7b
solve_network: Backwards compatibility
...
Make sure not providing a csv-file with capacity limits does not break.
2019-06-18 13:18:59 +02:00
Jeroen Peters
a2c736e2bf
Include config handle
2019-06-18 13:18:59 +02:00
Jeroen Peters
c065cad811
Fix missing code
2019-06-18 13:18:59 +02:00
Jeroen Peters
f68f4c4205
solve_network.py: add minmax constraint per country
2019-06-18 13:18:59 +02:00
Tom Brown
cfe44ce702
Copy solve_network.py and *_summary.py from pypsa-eur sector branch
2019-04-18 11:39:17 +02:00
Jonas Hoersch
7f3f096ba6
Fix model for country selections without DC links ( fixes #5 )
2019-02-13 19:03:57 +01:00
Jonas Hoersch
8c9e650feb
fixup! trace_solve_network: Save intermediate line capacities
2019-02-06 11:48:59 +01:00
Jonas Hoersch
5dfeb6efbc
trace_solve_network: Save intermediate line capacities
2019-02-04 18:32:56 +01:00
Jonas Hoersch
9715c9d42b
fixup! solve_network: Extract line limit duals and radically refactor
2019-02-03 15:44:40 +01:00
Jonas Hoersch
a069bef380
solve_network: Extract line limit duals and radically refactor
...
remove all persistent solver features, rebuild the model every time
2019-02-03 14:18:05 +01:00
Jonas Hoersch
dde0d91168
Include an optional total line cost constraint
...
elec_s_37_lc1.25_... adds a constraint on the total line cost for an extension
by a 25%, compare with elec_s_37_lv1.25_... for the line volume limit.
`ll` is an acronym for line limit.
2019-02-03 13:50:05 +01:00
Jonas Hörsch
0b60159575
solve_network: Fix numeric instabilities
...
Measure load shedding in kW and remove the eps_storage_constraint
2018-10-22 23:20:51 +02:00
Jonas Hörsch
2372bb156d
Prepare Snakefile and scripts for other solvers
2018-09-14 11:22:13 +02:00
Jonas Hörsch
ca70cab40d
solve_network: Only zero lines below 100MW
...
There are 6 links between 250 MW and 500 MW, which are deleted otherwise!
2018-03-14 15:49:15 +01:00
Jonas Hörsch
4bde9417dc
Finish solve_operations_network
2018-03-13 10:47:47 +01:00
Jonas Hörsch
e27db0f462
solve_network: Add noise to line and link capital costs
2018-03-09 15:41:46 +01:00
Jonas Hörsch
44d2d950e2
solve_network: Suppress logging noise from pypsa.pf
2018-03-09 15:39:53 +01:00
Jonas Hörsch
8e4f030ec8
solve_network: Fix updating line parameters
2018-03-02 16:20:52 +01:00
Jonas Hörsch
eaef066a89
solve_network: Move memory_logger to vresutils.benchmark
2018-03-02 14:13:12 +01:00
Jonas Hörsch
825c2342fc
solve_network: Kill subprocess in log_memory in the case of an exception
2018-02-19 10:13:48 +01:00
Jonas Hörsch
8d70766e72
{prepare,solve}_network: Don't add a line volume limit for lv1.0
...
lv1.0 signifies lines being non-extendable!
2018-02-19 10:11:58 +01:00
Jonas Hörsch
cb5681df18
Fix cluster use and memory requirements
2018-02-10 17:19:46 +01:00
Jonas Hörsch
6a613ea483
build_powerplants: Separate loading of power plant list into new rule
2018-02-10 17:16:20 +01:00
Jonas Hörsch
3cb57db043
solve_network: Clean up
2018-02-01 12:42:56 +01:00
Jonas Hörsch
b7a1a090f1
Use MockSnakemake and logging.basicConfig everywhere
2018-02-01 12:42:11 +01:00
Jonas Hörsch
2b05c79e94
Fix solve_network
2018-01-30 23:09:06 +01:00
Jonas Hoersch
a867e245b3
Electricity network, Clustering and Solving
2018-01-29 22:28:33 +01:00
Jonas Hoersch
5f4dc833b8
scripts: Add first version of base_network and solve_network scripts
2017-12-18 20:31:27 +01:00