Tom Brown
2278d67687
Add wave with default minimum costs
2020-01-11 09:11:09 +01:00
Tom Brown
9ed2cbffa8
Update code to PyPSA 0.16.1
2020-01-10 18:13:01 +01:00
Tom Brown
0e5dcbbce4
Fix clash of names in creation of candidate network for H2
...
Sometimes Lines and Links have same name, so need MultiIndex to avoid
a clash of names.
2019-12-26 10:21:22 +00:00
Tom Brown
9a5ae01a92
Adjust code to use version 0.16.0 of PyPSA for nomopyomo framework
2019-12-26 10:19:26 +00:00
Tom Brown
ca15750b48
Catch process emissions from feedstock for industry demand script
2019-12-19 17:49:45 +01:00
Tom Brown
ba52bbf5d4
Merge branch 'process'
2019-12-19 14:04:04 +01:00
Tom Brown
180846945f
Fix bug in ordering of MultiIndex in make_summary.py
...
df.loc[idx[a,b,some_list],label] does NOT preserve the ordering of
some_list, but sorts it instead. Therefore the pattern:
df.loc[idx[a,b,s.index],label] = s.values
was mismatching the index and values.
2019-12-19 11:40:17 +01:00
Tom Brown
eb2fa1b24e
Adjust plotting for new CCS scheme
2019-12-19 11:39:38 +01:00
Tom Brown
c525e2a6ae
Install package dependencies nomopyomo branch PyPSA and gurobipy
...
Inelegant - installed by hand in solve_network.py.
Should replace with environment.yaml.
2019-12-19 11:38:43 +01:00
Tom Brown
52581466b6
Account for chemical industry process emissions more carefully
...
Remove emissions from hydrogen production for ammonia (since H2 now
comes from electrolysis).
Allow process emissions from petrochemical production to be captured
(the carbon is not necessarily fossil, but could come from CCU).
2019-12-18 09:45:14 +01:00
Tom Brown
105aeba215
Merge branch 'nomopyomo'
2019-12-13 18:07:06 +01:00
Tom Brown
41f7f44dcf
Make CCS optional for SMR and industry process emissions
2019-12-13 18:06:38 +01:00
Tom Brown
49a68bdd35
Separate CHP gas/solid biomass, with/without CCS
...
Also fix CHP p_nom_ratio constraint, and battery charger/discharger
constraint.
2019-12-12 15:03:51 +01:00
Tom Brown
ec9b447949
make_summary: Account for multi-links in supply* summaries
2019-12-06 17:40:20 +01:00
Tom Brown
80642ae9af
Fix post-processing to read nomopyomo nc; fix MultiIndex issue
...
With new pandas:
pd.Index([])|pd.MultiIndex(...)
returns a pd.Index, not a pd.MultiIndex, so just reversed:
pd.MultiIndex(...)|pd.Index([])
This returns a pd.MultiIndex.
2019-12-06 16:56:33 +01:00
Tom Brown
066f1b0bb5
Fix solve_network.py to use nomopyomo for LV > 1.0
2019-12-06 16:55:28 +01:00
martavp
f6d407cc24
Add files via upload
...
describe biomass
2019-12-04 16:38:19 +01:00
martavp
5038faa020
Delete build_biomass_potentials.py
...
describe biomass
2019-12-04 16:37:50 +01:00
Tom Brown
51aa25aace
Clarify origin of industry assumptions
2019-11-27 20:28:19 +01:00
Tom Brown
6cbd3384e4
Merge branch 'master' of github.com:nworbmot/pypsa-eur-sec
2019-11-27 18:36:01 +01:00
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
Tom Brown
3fac944e5b
191108: Include a correctly-costed H2 network
...
Offers same topology to optimisation for H2 grid as that of HVAC and
HVDC grid.
2019-11-26 18:00:45 +01:00
Tom Brown
a3b703fb08
Merge pull request #41 from nworbmot/industry_constants_to_yaml
...
Industry constants to yaml
2019-10-21 17:53:58 +02:00
martavp
5251ee5e56
Add files via upload
...
Read industry constants from config.yaml
2019-10-07 16:21:14 +02:00
martavp
cfdd5e599b
Add files via upload
...
Add constants to config.yaml
2019-10-07 16:20:07 +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
019e2f3f25
Split heat demand into residential and services with diff profiles
...
All urban central (i.e. district heating) is aggregated to the same
profile and bus.
The code is now written to cycle over each heating sector to add
demand and supply technologies, only changing what is necessary to
change, rather than just copying chunks of code and modifying
parameters there. This should make it easier to get an overview of
what's going on.
2019-08-07 11:33:29 +02:00
Tom Brown
eebac1bfa3
Deduct electric heating from electricity load profile
...
Otherwise it is double-counted in both the heating and the electricity
load profiles. This removes 454 TWh/a from electricity.
2019-08-01 16:16:05 +02:00
Tom Brown
d3a0f7e67d
Diff intraday heat profiles for (res, services) x (water, space)
...
These are specified in data/heat_load_profile.csv.
The resulting heat_demand df has MultiIndex columns, where the first
level is ["sector use"], and the second level level is nodes.
2019-08-01 15:43:04 +02:00
Tom Brown
72b7ea0997
Allow space heating to be linearly reduced (without cost so far)
2019-07-31 14:22:33 +02:00
Tom Brown
886b7c5f48
Include micro-CHP using PEMFC
2019-07-28 13:10:21 +02:00
Tom Brown
318444e3a4
Include new industry technologies for plotting colours
2019-07-21 12:11:40 +02:00
Tom Brown
7e37dbbd03
Include multi-link outputs in energy balance
2019-07-21 12:11:05 +02:00
Tom Brown
ae1ea81520
Copper plate biogas and solid biomass
...
Because there was insufficient solid biomass in 3-4 countries to
supply industry for it locally, and we need to account for transport
of solid biomass.
Should be replaced by transport cost links between countries.
2019-07-21 12:09:18 +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
232425ac61
Add Energy Balances 2018 to data bundle (used for industry demand)
2019-07-19 12:56:38 +02:00
Tom Brown
03670c1ab3
Simplify industry load-link-bus to avoid numerical problems
...
Gurobi had numerical problems solving the system.
Trivial load-link-bus combinations to manage CO2 have been replaced
with simple loads.
2019-07-19 12:10:22 +02:00
Tom Brown
06cb526fef
Re-integrate industry, aviation and shipping into model
...
Following plan by Marta and Kun
2019-07-19 10:21:12 +02:00
Tom Brown
990ab035c3
Include light-rail and high-speed-rail in "electricity rail"
...
This then conforms with JRC IDEES totals
2019-07-19 10:19:21 +02:00
Tom Brown
7509d61348
Split industrial demand across nodes by population
2019-07-18 15:55:58 +02:00
Tom Brown
b132193f7f
Read in more sector detail for road, rail, aviation and navigation
2019-07-18 15:38:37 +02:00
Tom Brown
f3b6027cd5
Incorporate Marta and Kun's scripts to build industry demand
...
By country and by energy source.
2019-07-18 11:40:38 +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
Tom Brown
6cc676d6cf
190516: Try removing H2 network too
2019-07-12 08:51:25 +02:00
Tom Brown
ae3059f676
Add "central" option to remove electricity grid (HVAC, HVDC, B2B)
2019-05-16 16:08:16 +02:00
Tom Brown
8394dca22c
Rule to save a copy of important config files after each run
2019-05-16 09:39:03 +02:00
Tom Brown
9ad0eb01e2
Use waste heat from FT and fuel cells in district heating
2019-05-14 11:49:32 +02:00
Tom Brown
c723291ac4
Save solve logs separately for each run
2019-05-13 18:37:11 +02:00
Tom Brown
77bef57c60
Automatic plotting of network maps with costs per node
2019-05-13 17:09:26 +02:00
Tom Brown
52a02bd979
Compute cfs; compute nodal costs, capacities, cfs; fix prices
2019-05-13 16:48:29 +02:00