スクリプト – NRPB 89標準によるRADHAZ安全領域

このスクリプトは、近傍界の計算値とNRPB 89安全標準を使用して近傍界の評価結果を生成します。

NRPB 89による正規化しきい値

各近傍界の値は、その周波数のFieldに対してこの標準で認められている最大値で正規化されます。この値が“1”であれば、この標準によるFieldのしきい値に相当します。この値が“1”より大きければ限度値を超えており、“1”より小さければ安全領域にあります。

-- This example illustrates how advanced calculations
-- can be performed to display radiation hazard zones.
-- The NRPB 89 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 GHz
local freq = nfPt:AxisValue(pf.Enums.DataSetAxisEnum.Frequency)/1e9
local EfieldLimit = 97.1*math.sqrt(freq)
local HfieldLimit = 0.258*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