Applicable versions | NetSim Standard | NetSim Pro |
Go to IEEE802_11_Phy.c file inside IEEE802_11 project and Comment the function
propagation_calculate_fadingloss(propagationHandle, packet->nTransmitterId, ifid, pstruEventDetails->nDeviceId, pstruEventDetails->nInterfaceId);
and write your own fading model
The shadowing model is built-in with the path loss model. So the way to modify this is to set NIL shadowing in the UI. And to code the shadow model after the fading model.
In essence, the received power will first change because of fading power and then because of shadowing power. So the code would look something like -
dFadingPower = fn_my_fading_model();
dShadowPower = fn_my_shadow_model();
dReceivedPower -= dFadingPower+dShadowPower;