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

Clean up K_T and K_P. #2428

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

Conversation

thorstenhater
Copy link
Contributor

  • Simplify logic and maths
  • Remove double application of qt
  • Align style and usage of both files.

Copy link

@beaherrera beaherrera left a comment

Choose a reason for hiding this comment

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

Hi @thorstenhater,
There is a mistake in the K_P.mod definition (see comment on L49). The rest of the mechanisms look good.
Best,
Beatriz

}

h_rho = qt/(360 + (1010 + 24*(v + 55 - vshift))*exp(-((v + 75 - vshift)/48)^2))
m_rho = qt/(tauF*(1.25 + m_z))
h_rho = qt/((24*vs + 2690)*exp(-((vs + 75)/48)^2))

Choose a reason for hiding this comment

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

It should be h_rho = qt/(360 + (24*vs + 2330)*exp(-(((vs + 75)/48)^2))) since '360' doesn't multiply the exponential term in the original definition.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, good catch, thank you.

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.

2 participants