Thread Subject: Interpolation wind speed

Subject: Interpolation wind speed

From: Tobias

Date: 21 Jan, 2010 13:33:04

Message: 1 of 5

Hi,

I have got the data for several wind measuring stations containing latitude, longitude and wind speed data series (x,y,z).
x(lat) y(lon) z(speed)
67.55 3.22 12.2
                     12.5
                     14.2
and so on...

Now I want to interpolate the wind speed from the 2 or 3 closest wind measuring stations to the latitude and longitude of a wind farm to get the wind speed used to calculate the power production. The problem is that neither the coordinates of the measuring stations nor the ones for the wind farms are equaly distrubuted so the normal interpolation (interp2) is not working. Has anybody got an idea how I can solve this problem?

Thanks in advance!

Subject: Interpolation wind speed

From: Rune Allnor

Date: 21 Jan, 2010 13:40:57

Message: 2 of 5

On 21 Jan, 14:33, "Tobias " <tobias.aig...@elkraft.ntnu.no> wrote:
> Hi,
>
> I have got the data for several wind measuring stations containing latitude, longitude and wind speed data series (x,y,z).
> x(lat)   y(lon)   z(speed)
> 67.55   3.22    12.2
>                      12.5
>                      14.2
> and so on...
>
> Now I want to interpolate the wind speed from the 2 or 3 closest wind measuring stations to the latitude and longitude of a wind farm to get the wind speed used to calculate the power production. The problem is that neither the coordinates of the measuring stations nor the ones for the wind farms are equaly distrubuted so the normal interpolation (interp2) is not working.  Has anybody got an idea how I can solve this problem?

The idea is straight-forward:

1) Triangulate the (lat,long) positions
2) Plot a triangulated surface of wind vs position
3) Pick the interpolated wind data as the height
   of the surface at the desired positions

The implementation might be cumbersome, though.
If you already know 3 measurements that surround the
desired position, use the same algorithm with the
known data. It's simple geometry, deriving the equation
for a plane from the coordinates of three points known
to be in the plane. You did that kind of thing in High
School or thereabouts.

Rune

Subject: Interpolation wind speed

From: Wolfgang Schwanghart

Date: 21 Jan, 2010 13:44:05

Message: 3 of 5

Hi Tobias,

doc griddata

Best regards,
Wolfgang

"Tobias " <tobias.aigner@elkraft.ntnu.no> wrote in message <hj9l2g$h4f$1@fred.mathworks.com>...
> Hi,
>
> I have got the data for several wind measuring stations containing latitude, longitude and wind speed data series (x,y,z).
> x(lat) y(lon) z(speed)
> 67.55 3.22 12.2
> 12.5
> 14.2
> and so on...
>
> Now I want to interpolate the wind speed from the 2 or 3 closest wind measuring stations to the latitude and longitude of a wind farm to get the wind speed used to calculate the power production. The problem is that neither the coordinates of the measuring stations nor the ones for the wind farms are equaly distrubuted so the normal interpolation (interp2) is not working. Has anybody got an idea how I can solve this problem?
>
> Thanks in advance!

Subject: Interpolation wind speed

From: Luigi Giaccari

Date: 25 Jan, 2010 16:19:04

Message: 4 of 5

"Tobias " <tobias.aigner@elkraft.ntnu.no> wrote in message <hj9l2g$h4f$1@fred.mathworks.com>...
> Hi,
>
> I have got the data for several wind measuring stations containing latitude, longitude and wind speed data series (x,y,z).
> x(lat) y(lon) z(speed)
> 67.55 3.22 12.2
> 12.5
> 14.2
> and so on...
>
> Now I want to interpolate the wind speed from the 2 or 3 closest wind measuring stations to the latitude and longitude of a wind farm to get the wind speed used to calculate the power production. The problem is that neither the coordinates of the measuring stations nor the ones for the wind farms are equaly distrubuted so the normal interpolation (interp2) is not working. Has anybody got an idea how I can solve this problem?
>
> Thanks in advance!

http://www.advancedmcode.org/how-to-plot-a-coloured-surface-from-3d-scatter.html

http://www.advancedmcode.org/surface-recostruction-from-scattered-points-cloud-mycrustopen.html

http://www.advancedmcode.org/surface-recostruction-from-scattered-points-cloud-mycrust-robust.html



http://www.advancedmcode.org

Subject: Interpolation wind speed

From: Alvaro Canivell

Date: 9 Feb, 2010 09:50:19

Message: 5 of 5

Hi Tobias

I agree with the rest, best thing is to use:

If you have v = f(x,y,z):

- meshgrid: generate a grid in 3D 'xgrid, ygrid, zgrid' where you will evaluate the interpolation
- griddata3: interpolates the data to evaluate the function value 'v' on the new grid 'xgrid, ygrid, zgrid'

'doc griddata3' gives you a nice example in fact

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com