Skip to content

Commit

Permalink
Initialize max torque
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhar-abbas committed Dec 2, 2020
1 parent 6f052fa commit dbf0c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ReadSetParameters.f90
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ SUBROUTINE SetParameters(avrSWAP, aviFAIL, accINFILE, ErrMsg, size_avcMSG, CntrP
LocalVar%GenTq = min(CntrPar%VS_RtTq, CntrPar%VS_Rgn2K*LocalVar%GenSpeed*LocalVar%GenSpeed)
ENDIF
LocalVar%VS_LastGenTrq = LocalVar%GenTq

LocalVar%VS_MaxTq = CntrPar%VS_MaxTq
! Check validity of input parameters:
CALL Assert(LocalVar, CntrPar, avrSWAP, aviFAIL, ErrMsg, size_avcMSG)

Expand Down

0 comments on commit dbf0c3b

Please sign in to comment.