double mass_fr[500]
Mass flow rate [lbm/s or kg/s] per junction.
int log_trip_obj[500]
Logical trip object indices.
double sat_t[500]
Saturation temperature [F or K] per volume.
int n_hydroj
Number of active hydraulic junctions.
char carg3[100]
Argument 3: "-o" flag.
int var_trip_obj[500]
Variable trip object indices.
bool si_unit
true = SI units, false = British units
int carg3len
Length of argument 3 ("-o")
int carg2len
Length of argument 2 (input deck file path)
int hydro_j_obj[500]
Hydraulic junction object indices.
int n_heatstr
Number of active heat structures.
double vartrip_t[500]
Variable trip values (indexed by var_trip_obj)
char carg6[100]
Argument 6: restart file name.
int n_hydrov
Number of active hydraulic volumes.
bool cnewrst
true = first scenario (fresh start, not restarted)
double ctrl_var_val[500]
Control variable values (indexed by ctrl_var_obj)
bool sim_err
Simulation error occurred.
int carg0len
Length of argument 0 (executable name)
bool only_once
Execute crew actions only once per transient.
int cnbranch
Number of branches generated at current branching point.
bool terminateall
true = terminate all simulation (TH failure)
double liq_t[500]
Liquid temperature [F or K] per volume.
int hydro_v_cn[500]
Hydraulic volume card numbers (std::set by C++)
double inter_val[500]
Interactive variable values (indexed by interact_obj)
char th_es_des[255]
TH failure description message.
int des_length
Length of TH failure description std::string.
bool dopltwrt
true = generate XMGR5 plot file
double liq_vel[500]
Liquid velocity [ft/s or m/s] per junction.
long cncount
Current branch node ID (ncount)
int hydro_j_cn[500]
Hydraulic junction card numbers.
long cnumsno
Current scenario (sequence) number.
int n_vartrip
Number of active variable trips.
int carg5len
Length of argument 5 ("-r")
int heat_str_obj[10]
Heat structure object indices.
int ctrl_var_obj[500]
Control variable object indices.
int carg4len
Length of argument 4 (output file name)
int csnostop
Stop current scenario flag (std::set by Fortran)
char carg2[100]
Argument 2: input deck file path.
int hydro_v_obj[500]
Hydraulic volume RELAP5 object indices (std::set by Fortran)
double vap_t[500]
Vapor temperature [F or K] per volume.
char rst_name[80]
Restart node data file name.
bool runcrew
true = run with crew/IDAC modules, false = TH only
int tsimmode
Simulation mode: 0=Console, 1=NetClient, 2=NetServer.
int n_logtrip
Number of active logical trips.
bool gendataout
true = generate parameter text output file
int n_mesh[10]
Number of mesh points per heat structure.
char carg5[100]
Argument 5: "-r" flag.
double sys_pressure[500]
System pressure [psi or Pa] per volume.
int n_interact
Number of active interactive variables.
double logtrip_t[500]
Logical trip values (indexed by log_trip_obj)
double quality[500]
Steam quality per volume.
int heat_str_cn[10]
Heat structure card numbers.
int rstnamelen
Length of rst_name std::string.
int ctrl_var_cn[500]
Control variable card numbers.
int interact_obj[500]
Interactive variable object indices.
char carg1[100]
Argument 1: "-i" flag.
double flow_reg[500]
Flow regime indicator per volume.
char carg0[100]
Argument 0: executable name ("relap5")
int log_trip_cn[500]
Logical trip card numbers.
char carg4[100]
Argument 4: output file name.
double vap_vel[500]
Vapor velocity [ft/s or m/s] per junction.
int n_ctrl_var
Number of active control variables.
int carg6len
Length of argument 6 (restart file name)
double boron_d[500]
Boron concentration per volume.
int carg1len
Length of argument 1 ("-i")
int var_trip_cn[500]
Variable trip card numbers.
bool cgennode
true = generate branches at this point
double mesh_t[100]
Mesh point temperatures for heat structures.
double timesno
Current simulation time [s].
int interact_cn[500]
Interactive variable card numbers.