Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mimc linux port #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

pilotmm
Copy link

@pilotmm pilotmm commented May 4, 2016

Hi Morten,

This is Mike again. This merge requests include the changes that are required to compile the code in linux. This also includes the bug fix from before.

Mike

@@ -147,7 +147,11 @@ subroutine update_generator_servo(array1, array2)
Qshaft = array1(4)
omegagen = array1(3)
! Reference mech. torque
mech_Qgref = min(Qgref/generatorvar%eta, generatorvar%max_lss_torque)
if(generatorvar%eta==0.0) then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pilotmm: Numbers in memory are seldom exact zero. Please change to abs().lt.1.d-3. Please also use the original Fortran notations for logical statements, so use .lt. instead of <

@sghodtu
Copy link
Collaborator

sghodtu commented Nov 7, 2018

Should this pull request be deleted? Maybe we could use #4 instead ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants