-
Posts
67 -
Joined
-
Last visited
Rogier's Achievements
-
-
There is ways to do that, but I guess the first question is whether you really need a map this big? Usually a distance of about 20 km from yours turbines/mast is more than enough and anything more will not have a significant effect on the flow modelling results, but will make the computations significantly slower.
-
Cross-points in exported roughness Wasp map-QGIS Wasp scripting
Rogier replied to Truong Sinh's topic in Map Editor
I tried to open your map, but I can see you have used 50 m resolution, so it takes hours to open in the map editor. I would recommend just using the default 100 m resolution, because it will be much faster to open and it will likely make very small differences only for WAsP, which is anyway simplifying the roughness map afterwards. I couldn't detect any errors in the map editor though, see below. Maybe make sure you use the latests version of the map editor and the QGIS plugin? -
Cross-points in exported roughness Wasp map-QGIS Wasp scripting
Rogier replied to Truong Sinh's topic in Map Editor
Yes we recommend always checking with the map editor, but in principle there should be no errors. Could you share your map? Sometimes errors can be solved with "snap geometries to layer" in qgis. -
I see, this is a simple bug that I fixed now. The new version will be available soon. This can be when you use the polygonize script in QGIS or other tools. Those scripts don't insert extra nodes where several polygons meet. You can insert those by searching for the script "Snap geometries to layer" and running that. You can also install windkit and use the script poly2lines: https://docs.wasp.dk/windkit/io/topo_autogen/windkit.map_conversion.poly2lines.html
-
Hi Doha, the papers you mention are indeed the right references. This paragraph in the paper 1 you mention probably explains it best: The original zooming grid is just a grid where the grid cells increase in size further away from the site: The roughness lengths in these cells are then multiplied with a exponentially weighted distance. From those transformed cell values the most significant ones are found with a simple algorithm where you just loop over all roughness changes until you have explained enough of the initial variance in all transformed roughness changes in a certain sector.
-
Translating observed wind speeds to turbine locations in bulk
Rogier replied to Heather's topic in WAsP Engineering
Hi Heather, it is not possible yet to do what you describe but we are planning to develop it some time in the future. You can get part of the model chain by applying the speedups but the geostrophic drag law part is currently always converting to histograms (time-independent). If it is just about automating the process you could look at the pywasp or windkit (https://docs.wasp.dk/pywasp/ https://docs.wasp.dk/windkit/) where there is functions to convert from time series to histograms (https://docs.wasp.dk/windkit/io/wc_autogen/windkit.binned_wind_climate.bwc_from_timeseries.html). -
Adediran Ademola started following Rogier
-
I think you can just add the gaps as you want, the significance algorithm is quite robust. Regarding roughness for forest I would for sure not use a standard roughness of 0.5 m. That is generally too low in Europe, where a typical forest has h>10. The rule with z0=h*0.1 will give you usually a much better estimation. The displacement height is automatically calculated since WAsP Release 2022-A-1, if you specifiy them in a .gml file (you can use treeheight *(2/3), see paper I linked before). There is a video about using displacement heights and creating a GML file here: https://panopto.dtu.dk/Panopto/Pages/Viewer.aspx?id=0394a399-d5c2-4a71-9954-b0d800dbcb7f
-
WAsP CFD (I guess you are talking about the cfdres files) only calculates speedup factors from the terrain. There is no way to get from those files to a wrg file because that format also needs to know the wind distribution (e.g. frequency that the wind is blowing from a certain wind direction sector), which is not present in the cfdres files. So to get from those to the wind resource at 112 m, you will just need to run WAsP itself. That means it does all the steps in the generalization and downscaling of WAsP, using log profile, geostrophic drag law and stability effects. You can read more about those vertical and horizontal extrapolation steps in the European wind atlas and some more recent papers describing the stability model: https://backend.orbit.dtu.dk/ws/portalfiles/portal/112135732/European_Wind_Atlas.pdf https://link.springer.com/article/10.1007/s10546-023-00803-3
-
These are some good questions and the exact behaviour depends also on WAsP version, as the roughness model has had some changes (mostly version Release 2022-A-1 as described here: https://www.wasp.dk/download/wasp12_releasenotes) If you are using WAsP from that version onwards it generates a zooming grid as a first step of processing a vector map. This is called spider grid analysis in this paper: https://wes.copernicus.org/articles/6/1379/2021/wes-6-1379-2021.html you can read more about how it works. It is probably most useful to look at Fig 2 there, which shows the spider grid analysis with the roughness lengths in all cells (2b) and the reduced number of roughness changes that is indeed 10 as you describe (2c). This is just to say that if there is a very small gap between polygons it will be aggregated anyway within a cell and it will not necessarily count as a change, because first a log averaged z0 weighted by landcover class areas in a cell is calculated. I copy the relevant part about the roughness reduction algorithm from this paper: https://wes.copernicus.org/articles/3/353/2018/wes-3-353-2018.pdf So in summary the both the distance to the roughness change and the change itself are important for the algorithm that selects the most significant roughness changes. It does not filter from the site outwards and stops when it has found 10 as you seem to think. It looks at all roughness cells simultaneously and also takes into account the distance to change. To some extent it can be problematic to have high-resolution maps of forested sites, because the few pixels with low roughness will lower the aggregated roughness quite a lot for WAsP (see Fig. 8 of the last mentioned paper), while in reality these pixels might even increase the effective roughness of a area due to additional form drag. For those cases it might make sense to use a higher roughness length then you would expect to alleviate this problem. But this is a different issue from which you are talking about, I think.
-
WAsP scripting plugin is now available in QGIS
Rogier replied to Rogier's topic in News and announcements
Hi Shehan, I opened your files and couldn't see anything special about them. But I am on holiday and don't have the map editor on this computer. My only recommendation is to update your map editor versio, because there was numerous problems with that version of the map editor. I can look at it when I come back from holiday or otherwise write to the wasp support (see wasp.dk) if it is a urgent issue. -
WAsP scripting plugin is now available in QGIS
Rogier replied to Rogier's topic in News and announcements
I tried to make a map for the same coordinates as you and I get more or less the same output but without errors. The spatial index warning you can ignore, this only has an impact on the speed, which is fast anyway. Can you share the intermediate layer that you get in QGIS? I.e. the "ESA-CCI landcover polygons" and "roughness lines" (right click, "Export > Save features as" and then save as .gpkg. And maybe you can also share your QGIS version (see "Help > About") and the map editor version? I am using QGIS v3.34.2. sadas.map -
You can see that in this code: https://docs.wasp.dk/windkit/_modules/windkit/weibull_wind_climate.html#weibull_combined It is getting the sector weighted first and third moments and does the weibull fitting with the method `_fit_k_sumlogm`
-
Creating good roughness and elevation maps is important for microscale flow modelling for wind resource and siting assessment. The WAsP scripting plugin can help with this and is now available for installation via the official QGIS plugin channel. You can just go the Plugins > Manage and install plugins and search for "WAsP scripting". The plugin contains scripts for: Downloading elevation data Downloading landcover data Convert landcover polygons to roughness or landcover lines as required by WAsP Creating hand digitized landcover polygon maps Saving the elevation, roughness or landcover lines as WAsP .map/.gml files Video solutions for different work flows are available in this playlist It contains a general introduction to QGIS for WAsP applications and some more specific video tutorials on the different workflows for which the scripts can be used and some pitfalls to be aware of when using these scripts. Specific tutorials Importing an elevation map from the GWA warehousee creating a hand-digitized landcover map using google earth satellite data Import a landcover map from the CORINE database