Script - RADHAZ Safety Zone Using INIRC 88 Standard

This script generates a near field result that incorporates the calculated near fields and the INIRC 88 safety standards for occupational limits.

The normalised threshold as per INIRC 88

Each near field value is processed and normalised to the maximum field value that the standard allows for that frequency. A value of “1” corresponds to the field threshold according to the standard. A value higher than “1” is over the limit and a value lower than“1” is a safe zone.

-- This example illustrates how advanced calculations
-- can be performed to display radiation hazard zones.
-- The INIRC 88 standards are used.
nf = pf.NearField.GetDataSet("yagi.StandardConfiguration1.nf3D")
function calculateRADHAZThresholds(index, nf)
-- Get a handle on the indexed near field point
local nfPt = nf[index]
-- Set up the threshold according to the standards
-- Frequency in MHz
local freq = nfPt:AxisValue(pf.Enums.DataSetAxisEnum.Frequency)/1e6
local EfieldLimit = 3*math.sqrt(freq)
local HfieldLimit = 0.008*math.sqrt(freq)
-- SCALE THE ELECTRIC FIELD VALUES
-- Scale the values to indicate percentages. The percentage represents
-- the field value relative to the limit of the standard.
nfPt.EFieldComp1 = nfPt.EFieldComp1/(EfieldLimit)
nfPt.EFieldComp2 = nfPt.EFieldComp2/(EfieldLimit)
nfPt.EFieldComp3 = nfPt.EFieldComp3/(EfieldLimit)
-- SCALE THE MAGNETIC FIELD VALUES
-- Scale the values to indicate percentages. The percentage represents
-- the field value relative to the limit of the standard.
nfPt.HFieldComp1 = nfPt.HFieldComp1/(HfieldLimit)
nfPt.HFieldComp2 = nfPt.HFieldComp2/(HfieldLimit)
nfPt.HFieldComp3 = nfPt.HFieldComp3/(HfieldLimit)
end
pf.DataSet.ForAllValues(calculateRADHAZThresholds, nf)
-- Note that in essence, the values being returned are
-- no longer near fields. As such, interpret them
-- carefully in POSTFEKO.
return nf