Is longley-rice the reason it is taking ages to generate a coverage map?

조회 수: 6 (최근 30일)
Greetings,
I am working to generate a coverage map for a LoRaWan gateway installed on a water tower. As such, I have created what I believe to accurate params for two devices acting on the 915mHz fequency for this simulation.
g1 = txsite('Name', 'GW1',...
'Antenna', monopole,...
'AntennaAngle', 0,...
'AntennaHeight', (48),...
'TransmitterFrequency', 9.28e+09,...
'TransmitterPower', 2,...
'Latitude', 37.71705,...
'Longitude', -97.29048)
n1 = rxsite('Antenna', monopole,...
'AntennaAngle', 0,...
'AntennaHeight', (1.8288),...
'ReceiverSensitivity', -27,...
'SystemLoss', 0,...
'Name', 'Node1',...
'Latitude', 37.72107,...
'Longitude', -97.26081)
I defined a propagation model using longley-rice. And the only reason I can think such a thing is beneficial; according to my limited knowlege of this fantastic software. It should be able to account for terrain data to build a coverage map for the region which has fairly flat terrain (Wichita, KS).
pm = propagationModel('longley-rice','AntennaPolarization','vertical')
I get a warning on the right letting me know this will generate 78K+ triangles. When I run this section it takes ages. As a matter of fact it has been running for the last 45 minutes, still no results. I can hear the fans spooling up and slowing down. But nothing. The remainder of my code is as follows:
ss = sigstrength(n1,g1)
margin = abs(n1.ReceiverSensitivity - ss)
link(n1,g1)
coverage(g1, pm)
sinr(n1)

채택된 답변

Jacob Halbrooks
Jacob Halbrooks 2019년 9월 3일
The trouble with the code is a mismatch between the antenna dimensions and the transmitter frequency. The default design frequency for a monopole antenna is 75 MHz, and the software falls over when attempting to solve the antenna radiation pattern for a much higher frequency like 9.28 GHz. When I run the code as-is, I eventually get an "out of memory" error.
You can solve the issue by using the "design" function to set the dimensions of your antennas. For example, design both the tx and rx antennas for the transmitter frequency like this:
>> g1.Antenna = design(g1.Antenna,g1.TransmitterFrequency);
>> n1.Antenna = design(n1.Antenna,g1.TransmitterFrequency);
Now it should be a matter of seconds to generate a coverage map:
>> coverage(g1, pm)
  댓글 수: 5
Clayton Allen
Clayton Allen 2019년 9월 6일
The specs on the transmitter is actually stated to be 27db. So how can I make a command to automatically calculate this?
Cheers and thanks for the assistance. You have been amazing!
Clayton Allen
Clayton Allen 2019년 9월 6일
It turns out that my transmitter is indeed 2 watts per the spec sheet.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with Antenna Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by