Skip to content

Commit

Permalink
Merge pull request #53 from OceanBioME/slatissima-fix
Browse files Browse the repository at this point in the history
fixed kelp to conserve nitrates (hopefully)
  • Loading branch information
jagoosw authored Oct 22, 2022
2 parents b2d4ac5 + 87de7af commit 244eeb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/Macroalgae/SLatissima.jl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function equations(x::AbstractFloat, y::AbstractFloat, z::AbstractFloat, t::Abst
r = _r(T, μ, j_NO₃ + j_NH₄, params)

dA =- ν) * A / (60*60*24)
dN = ((j_NO₃ + j_NH₄) / params.K_A - μ * (N + params.N_struct)) / (60*60*24)
dN = ((j_NO₃ + j_NH₄ - p*e*14/(12*6.56)) / params.K_A - μ * (N + params.N_struct)) / (60*60*24)
dC = ((p* (1 - e) - r) / params.K_A - μ * (C + params.C_struct)) / (60*60*24)

A_new = A+dA*Δt
Expand Down

1 comment on commit 244eeb2

@jagoosw
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not sure why the CI isn't running

Please sign in to comment.