Skip to content

calc_ssop_from_I.m

Basic Information

  SYNTAX:  ssop = calc_ssop_from_I(tok_system,ssop_inputs)

  PURPOSE: Compute steady-state operating point (ynom,Inom,Vnom), where Inom contains
    closest approximation to Icnom consistent with being a valid steady- state operating
    point.  Values of ynom are always nonzero when default values of zero nominal
    currents are used.

  INPUT:
   tok_system = tokamak system model, as constructed by build_tokamak_system
   ssop_inputs = structure containing all optional inputs:
     Icnom = vector of PF coil currents defining center of coordinates for model.  To use
    plasma equilibrium currents, let Icnom = Pcc*Ieq(1:ncx)   (optional, default = all 0)
     Ipnom = value of plasma current defining center of coordinates for model (optional,
    default = 0). Nonzero value should be used only if non-ohmic drive is available to
    hold plasma current = Ipnom in steady-state.

  OUTPUT:
   ssop = steady state operating point, containing:
      ynom = nominal values for outputs y
      Inom = vector of nominal coil, vessel, and plasma currents (coil currents in
        Inom are best match to Icnom that is consistent with steady-state gain)
      Vnom = vector of voltages that produce coil currents in Inom vector
      Inomstates = vector of nominal coil, vessel, and plasma current states

  RESTRICTIONS:  Only works right now for outputs that are modeled as linear relative to a
    plasma equilibrium.

  METHOD:  See Prop. 3 of Walker & Humphreys, Valid Coordinate Systems for Linearized Plasma
    Shape Response Models in Tokamaks (where it is shown that the only valid choice for
    nominal vessel currents is 0).  The Icnom vector is projected onto the range of the
    steady-state gain to compute Inom; the pseudo-inverse of steady-state gain is applied
    to compute Vnom (this is true inverse for vectors in range of steady-state gain).

Dependencies