Skip to content

Commit f3f6b57

Browse files
committed
case study macro and data
1 parent d040f62 commit f3f6b57

39 files changed

+163
-3
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
.Ruserdata
55

66
/.quarto/
7+
Oeiras2024/

_quarto.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ website:
2424
style: docked
2525
search: true
2626
contents:
27-
- macro.qmd
28-
- micro.qmd
27+
# - macro.qmd
2928
- casestudy.qmd
29+
- micro.qmd
3030
- section: Software
3131
href: software.qmd
3232
contents:

casestudy.qmd

+160-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,163 @@
11
---
2-
title: "Case Study"
2+
title: "Case Study Macro"
33
author: "R Félix"
44
---
5+
6+
# Data
7+
8+
Please download the VISUM project file (`.ver`) with the base data that you will need.
9+
10+
## Road Network
11+
12+
We are using a road network exported from OpenStreetMap.
13+
14+
We already imported that network to this project as follows:
15+
16+
Select only Urban Road Network (to keep the principal roads)
17+
18+
![](images/import_osm.PNG){width="572"}
19+
20+
![](images/clipboard-37336422.png)
21+
22+
Network before cleaning process (imported from OSM)
23+
24+
### Check network integrity
25+
26+
![](images/clipboard-3808614396.png){width="319"}
27+
28+
Start by these ones (General, and links not connected to the network)
29+
30+
![](images/clipboard-2361827747.png)
31+
32+
*ignore warnings*
33+
34+
set to active the ones you want to have a look.
35+
Delete if needed (`DEL` button)
36+
37+
![](images/clipboard-2775584904.png)
38+
39+
## Zones
40+
41+
These are the zones to consider
42+
43+
![](images/clipboard-1301163512.png)
44+
45+
##
46+
47+
![With zones from census 21 (aggregation of sub-sections)](images/clipboard-3818747415.png)
48+
49+
We already added the external zones (rest of the world) and the associated connectors to the road network.
50+
51+
![](images/clipboard-1712052008.png)
52+
53+
With external connectors now
54+
55+
## OD Matrix
56+
57+
Create an OD matrix
58+
59+
![![](images/clipboard-1930862873.png)](images/clipboard-3868299757.png)
60+
61+
And copy-paste data from excel
62+
63+
![](images/clipboard-26627273.png)
64+
65+
Now you have your OD matrix with data for your HA Group
66+
67+
![](images/clipboard-1424626828.png)
68+
69+
# Procedures
70+
71+
After creating all Zones' Connectors
72+
73+
![](images/clipboard-2686935511.png)
74+
75+
Create PrT[^1] assignment
76+
77+
[^1]: Private Transport
78+
79+
![](images/clipboard-4248181563.png)
80+
81+
And then you need to explicit where the data comes from (your matrix).
82+
Go to menu: Demand Demand Data
83+
84+
![](images/clipboard-768515232.png)
85+
86+
![](images/clipboard-428810323.png)
87+
88+
Select **your matrix**.
89+
90+
::: callout-tip
91+
It is a good practice to add a *Delete assignment results* in the beginning of your procedure sequence.
92+
:::
93+
94+
![](images/clipboard-2432550039.png)
95+
96+
Then run
97+
98+
![](images/clipboard-469912596.png)
99+
100+
# Other things you can do
101+
102+
## Create a link
103+
104+
![](images/clipboard-3247333808.png)
105+
106+
I will first check the characteristics of the previous link that I'm connecting to, by double-click the link in the editor, and see the details.
107+
The Quick View panel also shows some of its information.
108+
109+
![](images/clipboard-1068049222.png)
110+
111+
This is a Type no `50`.
112+
113+
Create a link by connecting both nodes.
114+
115+
![](images/clipboard-1812728369.png)
116+
117+
When creating a link, a window will popup to define some of the link parameters.
118+
In this case I will also make it a type 50 link.
119+
120+
![](images/clipboard-3053698979.png)
121+
122+
![](images/clipboard-832922992.png)
123+
124+
Clicking 2 times in the new link, you can change some of the parameters.
125+
It will highlight the ones that are not mirrored to the opposite direction - you should also transfer the new modifications.
126+
127+
![](images/clipboard-3757390393.png)
128+
129+
To make realistic links, activate background map before proceeding.
130+
131+
![](images/clipboard-3137847083.png)
132+
133+
Verify if the link is well connected with [Check network integrity], or estimating a [shortest path] between zones (with connectors).
134+
135+
## Shortest path
136+
137+
![](images/clipboard-2105325129.png){width="351"}
138+
139+
Click on 2 zones and run.
140+
141+
![](images/clipboard-2328021961.png){width="530"}
142+
143+
See the opposite direction
144+
145+
![](images/clipboard-2862225576.png)
146+
147+
Reset for a new one.
148+
149+
## Selection
150+
151+
![](images/clipboard-1558298406.png)
152+
153+
## Labels
154+
155+
Change the zone label to name:
156+
157+
![![](images/clipboard-3732879755.png)](images/clipboard-3116914154.png)
158+
159+
The same if you want to remove the symbol representation of links
160+
161+
![](images/clipboard-3764395377.png)
162+
163+
You can save these visualization as a **Graphic parameter file**, so you can shift between one or more, depending on the assessment you are doing.

data/Alfragide2024_HA.ver

454 KB
Binary file not shown.

data/Alfragide_Matrix_G2.xlsx

50.6 KB
Binary file not shown.

images/clipboard-1068049222.png

93.1 KB
Loading

images/clipboard-1301163512.png

556 KB
Loading

images/clipboard-1424626828.png

89 KB
Loading

images/clipboard-1558298406.png

25.5 KB
Loading

images/clipboard-1712052008.png

313 KB
Loading

images/clipboard-1812728369.png

7.03 KB
Loading

images/clipboard-1930862873.png

15.5 KB
Loading

images/clipboard-2105325129.png

14.7 KB
Loading

images/clipboard-2240259198.png

86.6 KB
Loading

images/clipboard-2328021961.png

70.8 KB
Loading

images/clipboard-2361827747.png

36.4 KB
Loading

images/clipboard-2432550039.png

8.21 KB
Loading

images/clipboard-26627273.png

160 KB
Loading

images/clipboard-2686935511.png

15.4 KB
Loading

images/clipboard-2775584904.png

14.9 KB
Loading

images/clipboard-2862225576.png

53.5 KB
Loading

images/clipboard-3053698979.png

20.3 KB
Loading

images/clipboard-3116914154.png

9.8 KB
Loading

images/clipboard-3137847083.png

8.19 KB
Loading

images/clipboard-3247333808.png

62.1 KB
Loading

images/clipboard-3732879755.png

33.1 KB
Loading

images/clipboard-37336422.png

175 KB
Loading

images/clipboard-3757390393.png

16.3 KB
Loading

images/clipboard-3764395377.png

61.4 KB
Loading

images/clipboard-3808614396.png

17.3 KB
Loading

images/clipboard-3818747415.png

1.13 MB
Loading

images/clipboard-3868299757.png

10.9 KB
Loading

images/clipboard-4248181563.png

10.2 KB
Loading

images/clipboard-428810323.png

25 KB
Loading

images/clipboard-469912596.png

10.2 KB
Loading

images/clipboard-641557400.png

70.4 KB
Loading

images/clipboard-768515232.png

30.4 KB
Loading

images/clipboard-832922992.png

9.42 KB
Loading

images/import_osm.PNG

34.2 KB
Loading

0 commit comments

Comments
 (0)