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.
| Integer | Symbol | Meaning |
|---|---|---|
| -1 | VNOKB | No knowledge base (base value) |
| 0 | VCONS_SUCCEED | Sequence succeeded |
| 1 | VTIME_TRUNCATED | Sequence ended at maximum simulation time |
| 2 | VPROBABILITY_TRUNCATED | Sequence terminated — probability below truncation threshold |
| 3 | VTH_FAIL | Thermal-hydraulic failure (RELAP5 crashed) |
| 4 | VCREW_FAIL | Crew failure |
| 5 | VNON_RESPONSE_ACTION | Non-response action (VSTOP) |
| 6 | VSG_OVERFED | Steam generator overfed |
| 7 | VADS_SIM_ERR | ADS simulation error |
| 8 | VENDSEQ_ALARM | End-sequence alarm (A_ENDSEQ_) activated |
RELAP5 Channel Type Codes
Used internally to identify the type of RELAP5 component associated with a communication channel.
| Integer | Symbol | Meaning |
|---|---|---|
| 1 | VHYDRAULIC_VOLUME | Hydraulic volume |
| 2 | VHYDRAULIC_JUNCTION | Hydraulic junction |
| 3 | VVARIABLE_TRIP | Variable trip |
| 4 | VLOGICAL_TRIP | Logical trip |
| 5 | VINTERACTIVE_VARIABLE | Interactive variable (bidirectional) |
| 6 | VCONTROL_VARIABLE | Control variable |
| 7 | VHEAT_STRUCTURE | Heat structure |
Display Type Codes
Used to specify how a RELAP5 channel value is displayed or evaluated on the ADS-IDAC control panel.
| Integer | Symbol | Meaning |
|---|---|---|
| 1 | VDISPLAY_PARAMETER_VALUE | Display a numeric parameter value |
| 2 | VDISPLAY_COMPONENT_STATE | Display a component state |
| 3 | VCONTROL_STATE | Display a control state |
| 4 | VCONTROL_VALUE | Display a control value |
| 5 | VALARM_COMPONENT | Alarm based on component state |
| 6 | VALARM_PARAMETER | Alarm based on parameter value |
| 7 | VALARM_TWO_PARAMETER_DIFFERENCE | Alarm based on difference between two parameters |
| 8 | VDISPLAY_HEAT_STRUCTURE | Display heat structure temperature |
| 9 | VDISPLAY_PARAMETER_TREND | Display parameter trend |
| 10 | DisplayType::SupportSystemState | Display a support system state (driven by the support-system reliability module) |
Communication Type Codes
| Integer | Symbol | Meaning |
|---|---|---|
| 1 | VALARM_STATE | Alarm state |
| 2 | VCOMPONENT_STATE | Component state |
| 3 | VPARAMETER_VALUE | Parameter value |
| 4 | VPARAMETER_TREND | Parameter trend (increasing, decreasing, stable) |
| 5 | VPARAMETER_STATE | Parameter state (too high, too low, high, low) |
| 6 | VPARAMETER_DIFFERENCE | Difference between two parameters |
| 7 | VCONTROL_COMMAND | Control command |
| 8 | VCONTROL_REPORT | Control report |
| 9 | Comm::SupportSystemState | Support system state |
State Codes (3000–3040)
| Integer | Symbol | Meaning |
|---|---|---|
| 3000 | VBASE / VFALSE | Base value / false |
| 3001 | VTRUE | True |
| 3002 | VYES | Yes |
| 3003 | VNO | No |
| 3004 | VCHECKED | Checked |
| 3005 | VUN_CHECKED | Unchecked |
| 3006 | VGT | Greater than |
| 3007 | VGE | Greater than or equal |
| 3008 | VEQ | Equal |
| 3009 | VLE | Less than or equal |
| 3010 | VLT | Less than |
| 3011 | VDECREASING | Decreasing |
| 3012 | VINCREASING | Increasing |
| 3013 | VSTABLE | Stable |
| 3014 | VBYPASS | Bypass |
| 3015 | Source::AgOperator | Information-source tag: action by operator (AG_OPERATOR) |
| 3016 | Source::PrPanel | Information-source tag: perceived from panel (PR_PANEL) |
| 3017 | Source::PrOperator | Information-source tag: perceived from operator (PR_OPERATOR) |
| 3018 | Source::PrPlant | Information-source tag: perceived from plant (PR_PLANT) |
| 3019 | VNORMAL | Normal |
| 3020 | VFAILED | Failed |
| 3021 | VSUCCEED | Succeed |
| 3022 | VON | On (component state — triggers SystemReliability events) |
| 3023 | VOFF | Off |
| 3024 | VRELIABILITY | Reliability |
| 3025 | VPANEL | Panel |
| 3026 | VPLANT | Plant |
| 3027 | VACTIVATED | Activated |
| 3028 | VSKIP | Skip |
| 3029 | VSTANDBY | Standby |
| 3030 | VOPERATE | Operate |
| 3031 | VCONTROL | Control |
| 3032 | VBETWEEN | Between |
| 3033 | VAUTO | Auto |
| 3034 | VRESET | Reset |
| 3035 | VNEW | New |
| 3036 | VFAILED_P | Failed (permanent) |
Agent / Role Codes (3037–3042)
| Integer | Symbol | Meaning |
|---|---|---|
| 3037 | VODM_ASK | Operator decision maker — ask |
| 3038 | VODM_COM | Operator decision maker — command |
| 3039 | VODM_ADV | Consultant advice |
| 3040 | VOAT_SEND | Action taker sends information |
| 3041 | VOCT_ADV | Consultant's advice |
| 3042 | VOAT | Operator action taker |
| 3043 | VODM | Operator decision maker |
| 3044 | VOCT | Operator consultant |
Goal Codes (3045–3050)
| Integer | Symbol | Meaning |
|---|---|---|
| 3045 | VNONE | No goal |
| 3046 | VGNOP | Goal of normal operation |
| 3047 | VGTS | Goal of trouble shooting |
| 3048 | VGMGSM | Goal of maintaining global safety margins |
| 3049 | VGMON | Goal of monitoring abnormal conditions |
| 3050 | VGMESM | Goal of maintaining equipment safety margins |
Strategy Codes (3051–3058)
| Integer | Symbol | Meaning |
|---|---|---|
| 3051 | VSGFRC | Subgoal: find root cause |
| 3052 | VSGDAP | Subgoal: decide action package |
| 3053 | VSGPA | Subgoal: performing an action |
| 3054 | VSWM | Strategy: wait and monitor |
| 3055 | VSDM | Strategy: direct matching |
| 3056 | VSLR | Strategy: limited reasoning |
| 3057 | VSIR | Strategy: instinctive response (printed as SPR in output files) |
| 3058 | VSIDR | Strategy: inductive and deductive reasoning |
Action Type Codes (3059–3088)
| Integer | Symbol | Meaning |
|---|---|---|
| 3059 | VSFP | Strategy: follow procedure |
| 3060 | VSTE | Strategy: trial and error |
| 3061 | VSAA | Strategy: ask advice |
| 3062 | VSFI | Strategy: follow instruction |
| 3063 | VSRTA | Report taken action |
| 3064 | VSRPI | Report perceived information |
| 3065 | VSGA | Giving advice |
| 3066 | VSGC | Strategy: give command (ODM) |
| 3067 | VSAI | Ask information (ODM) |
| 3068 | VGOAL | Goal |
| 3069 | VSUBGOAL | Subgoal |
| 3070 | VSTRATEGY | Strategy |
| 3071 | VDIAGNOSIS | Diagnosis |
| 3072 | VACTIONOBJECTIVE | Action task / objective |
| 3073 | VACTIONPACK | Action package |
| 3074 | VACTION | Action |
| 3075 | VACTIONC | Check command |
| 3076 | VACTIONAC | Action command |
| 3077 | VACTIONA | Direct action |
| 3078 | VCONFIRMC | Expectation check (when subgoal is decide action package) |
| 3079 | VACTIONI | OAT sends info to ODM |
| 3080 | VACTIONIA | OCT gives advice to ODM |
| 3081 | VPROCESSING | Processing (for index) |
| 3082 | VPROCESSING_A | Processing and data downloaded |
| 3083 | VLOCALE | Local equipment problem |
| 3084 | VLOCALP | Local parameter problem |
| 3085 | VGLOBAL | Global problem |
| 3086 | VREPLACE | Information merge type: replace |
| 3087 | VCOMBINE | Information merge type: combine |
| 3088 | VNOCHANGE | Information merge type: no change |
Procedure Type Codes (3089–3116)
| Integer | Symbol | Meaning |
|---|---|---|
| 3089 | VINTERRUPTED | Interrupted |
| 3090 | VWAITING | Waiting |
| 3091 | VOLDINFO | Old information |
| 3092 | VPROCEDURE_XFR | Flag for transfer between mental and paper procedures |
| 3093 | VSELF | Self |
| 3094 | VTRANSIENT | Transient |
| 3095 | VBRANCH | Branch |
| 3096 | VES | Emergency stop |
| 3097 | VDONE | Done |
| 3098 | VOPEN | Open |
| 3099 | VCLOSE | Close |
| 3100 | VEXPECT_CONTROL | Expected control |
| 3101 | VDIAALARM | Diagnostic alarm |
| 3102 | VDIACOMP | Diagnostic component |
| 3103 | VDIAPAR | Diagnostic parameter |
| 3104 | VDIACOMBINE | Diagnostic combination |
| 3105 | VFAIL_TO_START | Fail to start |
| 3106 | VFAIL_TO_RUN | Fail to run |
| 3107 | VFAIL_TO_OPEN | Fail to open |
| 3108 | VFAIL_TO_CLOSE | Fail to close |
| 3109 | VVERIFY | Verify |
| 3110 | VPROCEDURE | Procedure |
| 3111 | VPROPORTIONAL | Proportional |
| 3112 | VADDITIVE | Additive |
| 3113 | VSLEADV | Advise |
| 3114 | VSPECIAL | Special |
| 3115 | VTRIP | Trip |
| 3116 | VSTOP | Stop (non-response action — terminates sequence) |
Component Threshold Codes (3117–3139)
| Integer | Symbol | Meaning |
|---|---|---|
| 3117 | VTRPVLV | Trip valve |
| 3118 | VSRVVLV | Service valve |
| 3119 | VTERMINATE_IMA | Terminate IMA |
| 3120 | VGREATER_THEN_ON | Greater than ON threshold |
| 3121 | VSMALLER_THEN_ON | Smaller than ON threshold |
| 3122 | VGREATER_THEN_OPEN | Greater than OPEN threshold |
| 3123 | VSMALLER_THEN_OPEN | Smaller than OPEN threshold |
| 3124 | VUNKNOWN | Unknown |
| 3125 | VMENTAL | Mental |
| 3126 | VACTIVE | Active |
| 3127 | VPAUSE | Pause |
| 3128 | VPROCEDURE_TRANSFER | Procedure transfer |
| 3129 | VINFO_GATHER_MODE | Information gather mode |
| 3130 | VMENTAL_BELIEF | Mental belief |
| 3131 | VRECOVERY | Recovery |
| 3132 | VGREATER_THEN_OFF | Greater than OFF threshold |
| 3133 | VSMALLER_THEN_OFF | Smaller than OFF threshold |
| 3134 | VGREATER_THEN_CLOSE | Greater than CLOSE threshold |
| 3135 | VSMALLER_THEN_CLOSE | Smaller than CLOSE threshold |
| 3136 | VOAT_SCAN | Operator action taker: scan parameters |
| 3137 | VODM_SCAN | Operator decision maker: scan parameters |
| 3138 | VOCT_SCAN | Operator consultant: scan parameters |
| 3139 | VPARAMETER_CONTROL | Set action control value to parameter value |
Scan and Procedure Category Codes (3140–3165)
| Integer | Symbol | Meaning |
|---|---|---|
| 3140 | VPARAMETER_SCAN | Parameter scan |
| 3141 | Branch::FtPlant | Fault-tree plant event (printed as FT_PLANT in output files) |
| 3151 | VNOP | Normal operating procedure |
| 3152 | VAOP | Abnormal operating procedure |
| 3153 | VEOP | Emergency operating procedure |
| 3154 | VFRG | Functional recovery guideline procedure |
| 3155 | VECA | Emergency contingency action |
| 3156 | VMENTAL_PROCEDURE | Mental procedure step |
| 3161 | VOBJECTIVE_RELATED | Objective-related action procedure step |
| 3162 | VPREREQUISITE_ACTION | Prerequisite-related procedure action step |
| 3163 | VMONITORING_STEP | Monitoring procedure step |
| 3164 | VVERIFICATION_STEP | Verification procedure step |
| 3165 | VDIAGNOSIS_STEP | Diagnosis/decision-related procedure step |