make_out_objs.m
SYNTAX: make_out_objs
PURPOSE: make output object files using both plasma_output.m and
plasma_output2.m
INPUT:
tokamak
ichooseq
shotnum = shot number to generate model from
tmodel = time of equilibrium to generate model from (ms)
outflag = flag to determine which set(s) of output objects to generate
0 = none
1 = run plasma_output, save results
2 = run plasma_output2, save results
3 = run both plasma_output, plasma_output2 - save (default)
output_irzresp = set to one of:
0 = use no rigid response
1 = use only rigid r response
2 = use both rigid r and z response
vacuum_model', 0, ...
iplcirc', 1, ...
num_Ecoils = number of E-coils (2 or 5)
eqdir = directory where nominal EFIT equilibrium files are located
Te_res =
li_res =
Rp = plasma resistance
Zeff_res =
isonms = names of isoflux segments
bgdnms = names of grids used to compute magnetic field near X points
scale_cc_resp = scaling vector for coil currents in response objects
scale_vv_resp = scaling vector for vessel currents in response objects
OUTPUT files:
out_eqn_objects.mat = objects from plasma_output.m
out2_eqn_objects.mat = objects from plasma_output2.m
RESTRICTIONS: Assumes that drzdi files is of form
drzdi_<shotnum>_<tmodel>.mat
Dependencies