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

Private Member Functions

subroutine sc_dll_getinitdata_proc (nTurbines, NumParamGlobal, NumParamTurbine, ParamGlobal, ParamTurbine, NumSC2CtrlGlob, from_SCglob, NumSC2Ctrl, from_SC, nStatesGlobal, StatesGlob, nStatesTurbine, StatesTurbine, errStat, errMsg)
 

Member Function/Subroutine Documentation

◆ sc_dll_getinitdata_proc()

subroutine supercontroller::SC_DLL_GetInitData_PROC::sc_dll_getinitdata_proc ( integer(c_int), intent(in)  nTurbines,
integer(c_int), intent(in)  NumParamGlobal,
integer(c_int), intent(in)  NumParamTurbine,
real(c_float), dimension (*), intent(inout)  ParamGlobal,
real(c_float), dimension (*), intent(inout)  ParamTurbine,
integer(c_int), intent(in)  NumSC2CtrlGlob,
real(c_float), dimension (*), intent(inout)  from_SCglob,
integer(c_int), intent(in)  NumSC2Ctrl,
real(c_float), dimension (*), intent(inout)  from_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]nturbinesnumber of turbines connected to this supercontroller
[in]numparamglobalnumber of global parameters
[in]numparamturbinenumber of parameters per turbine
[in,out]paramglobalglobal parameters
[in,out]paramturbineturbine-based parameters
[in]numsc2ctrlglobnumber of global controller inputs [from supercontroller]
[in,out]from_scglobglobal outputs of the super controller (to the turbine controller)
[in]numsc2ctrlnumber of turbine specific controller inputs [output from supercontroller]
[in,out]from_scturbine specific outputs of the super controller (to 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: