Skip to content

Commit

Permalink
Implemented longer time horizon
Browse files Browse the repository at this point in the history
  • Loading branch information
keesvanginkel committed Aug 20, 2020
1 parent 226e7ce commit 6e2b29d
Show file tree
Hide file tree
Showing 93 changed files with 11,899 additions and 2,398 deletions.
12 changes: 12 additions & 0 deletions .idea/Urban-SETP.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

85 changes: 85 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
1 change: 1 addition & 0 deletions Drawings/Mechanisms_deliverable.dio

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Drawings/XLRM.dio
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<mxGraphModel dx="953" dy="793" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" background="#ffffff"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;jettySize=auto;orthogonalLoop=1;" parent="1" source="2" target="11" edge="1"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="13" value="Socio-economic&lt;div&gt;tipping points&lt;/div&gt;" style="text;html=1;resizable=0;points=[];align=center;verticalAlign=middle;labelBackgroundColor=#ffffff;" parent="12" vertex="1" connectable="0"><mxGeometry x="0.2978" y="2" relative="1" as="geometry"><mxPoint x="-17" y="2" as="offset"/></mxGeometry></mxCell><mxCell id="2" value="&lt;b&gt;R&lt;/b&gt;&lt;div&gt;model relations&lt;/div&gt;" style="whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1"><mxGeometry x="400" y="280" width="90" height="90" as="geometry"/></mxCell><mxCell id="4" value="&lt;div&gt;&lt;b&gt;X&lt;/b&gt;&lt;/div&gt;Externalities" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"><mxGeometry x="110" y="315" width="70" height="20" as="geometry"/></mxCell><mxCell id="5" value="" style="endArrow=classic;html=1;entryX=0;entryY=0.5;" parent="1" source="4" target="2" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="150" y="430" as="sourcePoint"/><mxPoint x="200" y="380" as="targetPoint"/></mxGeometry></mxCell><mxCell id="6" value="Sea level rise (Antarctic instability, RCP)&lt;div&gt;&lt;br&gt;&lt;div&gt;Storm surge heights&lt;/div&gt;&lt;/div&gt;" style="text;html=1;resizable=0;points=[];align=center;verticalAlign=middle;labelBackgroundColor=none;" parent="5" vertex="1" connectable="0"><mxGeometry x="0.2281" y="-3" relative="1" as="geometry"><mxPoint x="-33" y="-5" as="offset"/></mxGeometry></mxCell><mxCell id="10" value="Mayors (4 management strategies)" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;jettySize=auto;orthogonalLoop=1;" parent="1" source="9" target="2" edge="1"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="9" value="&lt;div&gt;&lt;b&gt;L&lt;/b&gt;&lt;/div&gt;Policy levers" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"><mxGeometry x="425" y="160" width="40" height="40" as="geometry"/></mxCell><mxCell id="11" value="&lt;div&gt;&lt;b&gt;M&lt;/b&gt;&lt;/div&gt;Evaluation metrics" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"><mxGeometry x="640" y="305" width="70" height="40" as="geometry"/></mxCell></root></mxGraphModel>
<mxGraphModel grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" background="#ffffff"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;jettySize=auto;orthogonalLoop=1;" parent="1" source="2" target="11" edge="1"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="13" value="Trust indicator" style="text;html=1;resizable=0;points=[];align=center;verticalAlign=middle;labelBackgroundColor=#ffffff;" parent="12" vertex="1" connectable="0"><mxGeometry x="0.2978" y="2" relative="1" as="geometry"><mxPoint x="-17" y="2" as="offset"/></mxGeometry></mxCell><mxCell id="2" value="&lt;b&gt;R&lt;/b&gt;&lt;div&gt;model relations&lt;/div&gt;" style="whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1"><mxGeometry x="400" y="280" width="90" height="90" as="geometry"/></mxCell><mxCell id="4" value="&lt;div&gt;&lt;b&gt;X&lt;/b&gt;&lt;/div&gt;Externalities" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"><mxGeometry x="110" y="315" width="70" height="20" as="geometry"/></mxCell><mxCell id="5" value="" style="endArrow=classic;html=1;entryX=0;entryY=0.5;" parent="1" source="4" target="2" edge="1"><mxGeometry width="50" height="50" relative="1" as="geometry"><mxPoint x="150" y="430" as="sourcePoint"/><mxPoint x="200" y="380" as="targetPoint"/></mxGeometry></mxCell><mxCell id="6" value="Sea level rise (Antarctic instability, RCP)&lt;div&gt;&lt;br&gt;&lt;div&gt;Storm surge heights&lt;/div&gt;&lt;/div&gt;" style="text;html=1;resizable=0;points=[];align=center;verticalAlign=middle;labelBackgroundColor=none;" parent="5" vertex="1" connectable="0"><mxGeometry x="0.2281" y="-3" relative="1" as="geometry"><mxPoint x="-33" y="-5" as="offset"/></mxGeometry></mxCell><mxCell id="10" value="Mayors (4 management strategies)" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;jettySize=auto;orthogonalLoop=1;" parent="1" source="9" target="2" edge="1"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="9" value="&lt;div&gt;&lt;b&gt;L&lt;/b&gt;&lt;/div&gt;Policy levers" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"><mxGeometry x="425" y="160" width="40" height="40" as="geometry"/></mxCell><mxCell id="11" value="&lt;div&gt;&lt;b&gt;M&lt;/b&gt;&lt;/div&gt;&lt;div&gt;SETP evaluation Metrics&lt;/div&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"><mxGeometry x="640" y="305" width="160" height="40" as="geometry"/></mxCell></root></mxGraphModel>
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 4,
"metadata": {},
"outputs": [
{
Expand All @@ -23,7 +23,7 @@
"Text(0, 0.5, 'Storm surge height (m)')"
]
},
"execution_count": 1,
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
},
Expand All @@ -43,11 +43,11 @@
"source": [
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"from classes import SurgeSeries\n",
"import os\n",
"import csv\n",
"from math import exp, log\n",
"\n",
"#from classes import SurgeSeries\n",
"#STORM SURGE LEVELS AT HOEK VAN HOLLAND (ASSUMED TO BE INDEPENDENT OF SEA LEVEL RISE)\n",
"#Very roughly taken from Sterl et al. (2009)\n",
"RP = [1/5, 1/2,1 , 2, 5,10,25 ,100,1000,10000]\n",
Expand All @@ -60,7 +60,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 6,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -76,7 +76,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 8,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -106,10 +106,10 @@
" \n",
" return SurgeSeries\n",
"\n",
"for number in range(0,10):\n",
"for number in range(0,20):\n",
" name = str(number)\n",
" csv_path = os.path.join(\"SurgeSeries\",name + \".csv\")\n",
" draw_gumbel(2021,2120,mu,beta,csv_path=csv_path)"
" csv_path = os.path.join(\"SurgeHeight\",name + \".csv\")\n",
" draw_gumbel(2021,2300,mu,beta,csv_path=csv_path)"
]
},
{
Expand Down
175 changes: 137 additions & 38 deletions Rotterdam.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 6e2b29d

Please sign in to comment.