OpenFAST
Wind turbine multiphysics simulator
Private Member Functions | List of all members
supercontroller::SC_DLL_UpdateStates_PROC Interface Reference

Private Member Functions

subroutine sc_dll_updatestates_proc (t, nTurbines, NumParamGlobal, ParamGlobal, NumParamTurbine, ParamTurbine, nInpGlobal, to_SCglob, NumCtrl2SC, to_SC, nStatesGlobal, StatesGlob, nStatesTurbine, StatesTurbine, errStat, errMsg)
 

Member Function/Subroutine Documentation

◆ sc_dll_updatestates_proc()

subroutine supercontroller::SC_DLL_UpdateStates_PROC::sc_dll_updatestates_proc ( real(c_double), intent(in)  t,
integer(c_int), intent(in)  nTurbines,
integer(c_int), intent(in)  NumParamGlobal,
real(c_float), dimension (*), intent(in)  ParamGlobal,
integer(c_int), intent(in)  NumParamTurbine,
real(c_float), dimension (*), intent(in)  ParamTurbine,
integer(c_int), intent(in)  nInpGlobal,
real(c_float), dimension (*), intent(in)  to_SCglob,
integer(c_int), intent(in)  NumCtrl2SC,
real(c_float), dimension (*), intent(in)  to_SC,
integer(c_int), intent(in)  nStatesGlobal,
real(c_float), dimension (*), intent(inout)  StatesGlob,
integer(c_int), intent(in)  nStatesTurbine,
real(c_float), dimension(*), intent(inout)  StatesTurbine,
integer(c_int), intent(inout)  errStat,
character(kind=c_char), dimension (*), intent(inout)  errMsg 
)
private
Parameters
[in]ttime (s)
[in]nturbinesnumber of turbines connected to this supercontroller
[in]numparamglobalnumber of global parameters
[in]paramglobalglobal parameters
[in]numparamturbinenumber of parameters per turbine
[in]paramturbineturbine-based parameters
[in]ninpglobalnumber of global inputs to supercontroller
[in]to_scglobglobal inputs to the supercontroller
[in]numctrl2scnumber of turbine controller outputs [inputs to supercontroller]
[in]to_scinputs to the super controller (from the turbine controller)
[in]nstatesglobalnumber of global states
[in,out]statesglobglobal states at time increment, n (total of nStatesGlobal of these states)
[in]nstatesturbinenumber of states per turbine
[in,out]statesturbineturbine-dependent states at time increment, n (total of nTurbines*nStatesTurbine of these states)
[in,out]errstaterror status code (uses NWTC_Library error codes)
[in,out]errmsgError Message from DLL to simulation code

The documentation for this interface was generated from the following file: