You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the just-in-time (JIT) compilation of Julia, the instantiation of the `EnergyModelsGUI` window takes some time (but reopening the window will take less time).
4
+
This also includes interactive features in the GUI (creating the first plot is a lot slower than creating subsequent plots).
5
+
6
+
That being said, it is possible to boost startup time by turning of redundant features.
7
+
One can for example plot sub-areas only on demand (which for large system significantly reduces setup of the `GUI`) through
8
+
9
+
```julia
10
+
gui =GUI(case; pre_plot_sub_components =false)
11
+
```
12
+
13
+
If there is no need to use the background map when using `EnergyModelsGeography` one can skip the usage of `GeoMakie` (this will also increase performance)
14
+
15
+
```julia
16
+
gui =GUI(case; use_geomakie =false)
17
+
```
18
+
19
+
If the user do not see any usage of the `DataInspector` tool provided by `Makie` (which enables information of plot objects upon hovering with the mouse) one could use the `enable_data_inspector` toogle to further improve performance
20
+
21
+
```julia
22
+
gui =GUI(case; enable_data_inspector =false)
23
+
```
24
+
25
+
It is also possible to use a simplified plotting of the `Link`s/`Transmission`s using the `simplified_connection_plotting` which improves performance slightly.
26
+
This option is however more motivated by simplified visuals.
27
+
One can also use `simplify_all_levels` to have this simplified plotting on all levels (not just the top level).
The GUI enables user defined background maps in `.geojson` format through the `GUI` constructor parameter `String::map_boundary_file`. One could for example download NUTS boundaries as GeoJSON from [datahub.io](https://datahub.io/core/geo-nuts-administrative-boundaries), save this file at a desired location and use this file path as `map_boundary_file`.
4
+
5
+
Downloading [NUTS2](https://r2.datahub.io/clt98mkvt000ql70811z8xj6l/main/raw/data/NUTS_RG_60M_2024_4326_LEVL_2.geojson), one can with a EMX-case variable `case`
0 commit comments