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

Private Member Functions

subroutine sc_dll_calcoutput (t, nTurbines, NumParamGlobal, ParamGlobal, NumParamTurbine, ParamTurbine, nInpGlobal, to_SCglob, NumCtrl2SC, to_SC, nStatesGlobal, StatesGlob, nStatesTurbine, StatesTurbine, NumSC2CtrlGlob, from_SCglob, NumSC2Ctrl, from_SC, errStat, errMsg)
 

Member Function/Subroutine Documentation

◆ sc_dll_calcoutput()

subroutine supercontroller::SC_DLL_CalcOutput::sc_dll_calcoutput ( 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(in)  StatesGlob,
integer(c_int), intent(in)  nStatesTurbine,
real(c_float), dimension(*), intent(in)  StatesTurbine,
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(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]statesglobglobal states at time increment, n (total of nStatesGlobal of these states)
[in]nstatesturbinenumber of states per turbine
[in]statesturbineturbine-dependent states at time increment, n (total of nTurbines*nStatesTurbine of these states)
[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,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: