Skip to content

Term Conversions (SimConstants.h) ​

Introduction ​

ADS-IDAC uses integer codes internally to represent states, roles, goals, strategies, action types, and many other concepts. Using integers rather than strings improves memory efficiency and runtime performance across the large number of sequence branches generated during a dynamic simulation. The constants live in src/ADSIDAC/Global/SimConstants.h as enum class types and sim:: namespace constants (the header TermConversions.h only includes SimConstants.h).

Use integer values in input files

Input files must use the integer values (e.g., 3043), not the symbolic names. The symbolic names exist only in the C++ source and are not recognized as text strings by the input parsers.

Symbol column

The Symbol column below shows the V… names that the 2009 manual uses, for cross-referencing. The code uses the sim:: names in SimConstants.h (e.g., sim::State::Normal); rows without a V… name show the sim:: name. The integer values on this page are those of the code.


Consequence Codes ​

These codes describe the final outcome of a simulation sequence.

IntegerSymbolMeaning
-1VNOKBNo knowledge base (base value)
0VCONS_SUCCEEDSequence succeeded
1VTIME_TRUNCATEDSequence ended at maximum simulation time
2VPROBABILITY_TRUNCATEDSequence terminated — probability below truncation threshold
3VTH_FAILThermal-hydraulic failure (RELAP5 crashed)
4VCREW_FAILCrew failure
5VNON_RESPONSE_ACTIONNon-response action (VSTOP)
6VSG_OVERFEDSteam generator overfed
7VADS_SIM_ERRADS simulation error
8VENDSEQ_ALARMEnd-sequence alarm (A_ENDSEQ_) activated

RELAP5 Channel Type Codes ​

Used internally to identify the type of RELAP5 component associated with a communication channel.

IntegerSymbolMeaning
1VHYDRAULIC_VOLUMEHydraulic volume
2VHYDRAULIC_JUNCTIONHydraulic junction
3VVARIABLE_TRIPVariable trip
4VLOGICAL_TRIPLogical trip
5VINTERACTIVE_VARIABLEInteractive variable (bidirectional)
6VCONTROL_VARIABLEControl variable
7VHEAT_STRUCTUREHeat structure

Display Type Codes ​

Used to specify how a RELAP5 channel value is displayed or evaluated on the ADS-IDAC control panel.

IntegerSymbolMeaning
1VDISPLAY_PARAMETER_VALUEDisplay a numeric parameter value
2VDISPLAY_COMPONENT_STATEDisplay a component state
3VCONTROL_STATEDisplay a control state
4VCONTROL_VALUEDisplay a control value
5VALARM_COMPONENTAlarm based on component state
6VALARM_PARAMETERAlarm based on parameter value
7VALARM_TWO_PARAMETER_DIFFERENCEAlarm based on difference between two parameters
8VDISPLAY_HEAT_STRUCTUREDisplay heat structure temperature
9VDISPLAY_PARAMETER_TRENDDisplay parameter trend
10DisplayType::SupportSystemStateDisplay a support system state (driven by the support-system reliability module)

Communication Type Codes ​

IntegerSymbolMeaning
1VALARM_STATEAlarm state
2VCOMPONENT_STATEComponent state
3VPARAMETER_VALUEParameter value
4VPARAMETER_TRENDParameter trend (increasing, decreasing, stable)
5VPARAMETER_STATEParameter state (too high, too low, high, low)
6VPARAMETER_DIFFERENCEDifference between two parameters
7VCONTROL_COMMANDControl command
8VCONTROL_REPORTControl report
9Comm::SupportSystemStateSupport system state

State Codes (3000–3040) ​

IntegerSymbolMeaning
3000VBASE / VFALSEBase value / false
3001VTRUETrue
3002VYESYes
3003VNONo
3004VCHECKEDChecked
3005VUN_CHECKEDUnchecked
3006VGTGreater than
3007VGEGreater than or equal
3008VEQEqual
3009VLELess than or equal
3010VLTLess than
3011VDECREASINGDecreasing
3012VINCREASINGIncreasing
3013VSTABLEStable
3014VBYPASSBypass
3015Source::AgOperatorInformation-source tag: action by operator (AG_OPERATOR)
3016Source::PrPanelInformation-source tag: perceived from panel (PR_PANEL)
3017Source::PrOperatorInformation-source tag: perceived from operator (PR_OPERATOR)
3018Source::PrPlantInformation-source tag: perceived from plant (PR_PLANT)
3019VNORMALNormal
3020VFAILEDFailed
3021VSUCCEEDSucceed
3022VONOn (component state — triggers SystemReliability events)
3023VOFFOff
3024VRELIABILITYReliability
3025VPANELPanel
3026VPLANTPlant
3027VACTIVATEDActivated
3028VSKIPSkip
3029VSTANDBYStandby
3030VOPERATEOperate
3031VCONTROLControl
3032VBETWEENBetween
3033VAUTOAuto
3034VRESETReset
3035VNEWNew
3036VFAILED_PFailed (permanent)

Agent / Role Codes (3037–3042) ​

IntegerSymbolMeaning
3037VODM_ASKOperator decision maker — ask
3038VODM_COMOperator decision maker — command
3039VODM_ADVConsultant advice
3040VOAT_SENDAction taker sends information
3041VOCT_ADVConsultant's advice
3042VOATOperator action taker
3043VODMOperator decision maker
3044VOCTOperator consultant

Goal Codes (3045–3050) ​

IntegerSymbolMeaning
3045VNONENo goal
3046VGNOPGoal of normal operation
3047VGTSGoal of trouble shooting
3048VGMGSMGoal of maintaining global safety margins
3049VGMONGoal of monitoring abnormal conditions
3050VGMESMGoal of maintaining equipment safety margins

Strategy Codes (3051–3058) ​

IntegerSymbolMeaning
3051VSGFRCSubgoal: find root cause
3052VSGDAPSubgoal: decide action package
3053VSGPASubgoal: performing an action
3054VSWMStrategy: wait and monitor
3055VSDMStrategy: direct matching
3056VSLRStrategy: limited reasoning
3057VSIRStrategy: instinctive response (printed as SPR in output files)
3058VSIDRStrategy: inductive and deductive reasoning

Action Type Codes (3059–3088) ​

IntegerSymbolMeaning
3059VSFPStrategy: follow procedure
3060VSTEStrategy: trial and error
3061VSAAStrategy: ask advice
3062VSFIStrategy: follow instruction
3063VSRTAReport taken action
3064VSRPIReport perceived information
3065VSGAGiving advice
3066VSGCStrategy: give command (ODM)
3067VSAIAsk information (ODM)
3068VGOALGoal
3069VSUBGOALSubgoal
3070VSTRATEGYStrategy
3071VDIAGNOSISDiagnosis
3072VACTIONOBJECTIVEAction task / objective
3073VACTIONPACKAction package
3074VACTIONAction
3075VACTIONCCheck command
3076VACTIONACAction command
3077VACTIONADirect action
3078VCONFIRMCExpectation check (when subgoal is decide action package)
3079VACTIONIOAT sends info to ODM
3080VACTIONIAOCT gives advice to ODM
3081VPROCESSINGProcessing (for index)
3082VPROCESSING_AProcessing and data downloaded
3083VLOCALELocal equipment problem
3084VLOCALPLocal parameter problem
3085VGLOBALGlobal problem
3086VREPLACEInformation merge type: replace
3087VCOMBINEInformation merge type: combine
3088VNOCHANGEInformation merge type: no change

Procedure Type Codes (3089–3116) ​

IntegerSymbolMeaning
3089VINTERRUPTEDInterrupted
3090VWAITINGWaiting
3091VOLDINFOOld information
3092VPROCEDURE_XFRFlag for transfer between mental and paper procedures
3093VSELFSelf
3094VTRANSIENTTransient
3095VBRANCHBranch
3096VESEmergency stop
3097VDONEDone
3098VOPENOpen
3099VCLOSEClose
3100VEXPECT_CONTROLExpected control
3101VDIAALARMDiagnostic alarm
3102VDIACOMPDiagnostic component
3103VDIAPARDiagnostic parameter
3104VDIACOMBINEDiagnostic combination
3105VFAIL_TO_STARTFail to start
3106VFAIL_TO_RUNFail to run
3107VFAIL_TO_OPENFail to open
3108VFAIL_TO_CLOSEFail to close
3109VVERIFYVerify
3110VPROCEDUREProcedure
3111VPROPORTIONALProportional
3112VADDITIVEAdditive
3113VSLEADVAdvise
3114VSPECIALSpecial
3115VTRIPTrip
3116VSTOPStop (non-response action — terminates sequence)

Component Threshold Codes (3117–3139) ​

IntegerSymbolMeaning
3117VTRPVLVTrip valve
3118VSRVVLVService valve
3119VTERMINATE_IMATerminate IMA
3120VGREATER_THEN_ONGreater than ON threshold
3121VSMALLER_THEN_ONSmaller than ON threshold
3122VGREATER_THEN_OPENGreater than OPEN threshold
3123VSMALLER_THEN_OPENSmaller than OPEN threshold
3124VUNKNOWNUnknown
3125VMENTALMental
3126VACTIVEActive
3127VPAUSEPause
3128VPROCEDURE_TRANSFERProcedure transfer
3129VINFO_GATHER_MODEInformation gather mode
3130VMENTAL_BELIEFMental belief
3131VRECOVERYRecovery
3132VGREATER_THEN_OFFGreater than OFF threshold
3133VSMALLER_THEN_OFFSmaller than OFF threshold
3134VGREATER_THEN_CLOSEGreater than CLOSE threshold
3135VSMALLER_THEN_CLOSESmaller than CLOSE threshold
3136VOAT_SCANOperator action taker: scan parameters
3137VODM_SCANOperator decision maker: scan parameters
3138VOCT_SCANOperator consultant: scan parameters
3139VPARAMETER_CONTROLSet action control value to parameter value

Scan and Procedure Category Codes (3140–3165) ​

IntegerSymbolMeaning
3140VPARAMETER_SCANParameter scan
3141Branch::FtPlantFault-tree plant event (printed as FT_PLANT in output files)
3151VNOPNormal operating procedure
3152VAOPAbnormal operating procedure
3153VEOPEmergency operating procedure
3154VFRGFunctional recovery guideline procedure
3155VECAEmergency contingency action
3156VMENTAL_PROCEDUREMental procedure step
3161VOBJECTIVE_RELATEDObjective-related action procedure step
3162VPREREQUISITE_ACTIONPrerequisite-related procedure action step
3163VMONITORING_STEPMonitoring procedure step
3164VVERIFICATION_STEPVerification procedure step
3165VDIAGNOSIS_STEPDiagnosis/decision-related procedure step

ADS-IDAC Engine Documentation