/ 간이스프링클러설비의 화재안전기준(nfsc 103a) 9조 (간이헤드) 6호
Check(NFSC503A_9_0_6){
IF !CS THEN KS
}
CS{
DBSH = getObjectDistance(Head.One, Head.One)
getObjectdistance(Ceiling.Surface, Beam.BottomSurface) > 55cm
getObjectdistance(Beam.BottomSideSurface, SimpleSprinkler.Head) <= DBSH/2
}
KS{
Beam myBeam{
isInstalled(Beam, SpecificFireFightingBuilding) = TRUE
}
DCH = getObjectInterval(Head, myBeam)
Head myHead{
getObjectDistance(Head, myBeam) = DCH
}
IF getElementDistance(myHead.Deflector.Center, Beam) < 0.75m THEN getObjectVerticalLocation(myHead.Deflector, Beam.BottomSurface) < 0
ELSE IF getElementDistance(myHead.Deflector.Center, Beam) >= 0.75m
OR getElementDistance(myHead.Deflector.Center, Beam) < 1m THEN getObjectVerticalLocation(myHead.Deflector, Beam.BottomSurface) < 0
getElementDistance(myHead.Deflector, Beam.BottomSurface) < 0.1m
ELSE IF getElementDistance(myHead.Deflector.Center, Beam) >= 1m
OR getElementDistance(myHead.Deflector.Center, Beam) < 1.5m THEN getObjectVerticalLocation(myHead.Deflector, Beam.BottomSurface) < 0
getElementDistance(myHead.Deflector, Beam.BottomSurface) < 0.15m
ELSE IF getElementDistance(myHead.Deflector.Center, Beam) >= 1.5m
THEN getObjectVerticalLocation(myHead.Deflector, Beam.BottomSurface) < 0
getElementDistance(myHead.Deflector, Beam.BottomSurface) < 0.3m
}
|
Python Code 변환 예정
|