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

Possible correction for Liu 1989 phase #2

Merged
merged 3 commits into from Sep 18, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

correct phase estimate

  • Loading branch information
jkennel committed Sep 17, 2019
commit 1610331a03a4470fa83e30160af4a6c279072277
@@ -180,15 +180,12 @@ open_well_response.default <- function(omega, T., S.,
gamma <- sqrt(2*onei*omega/(Rs.**2 * grav * U.))
expgam <- exp(-1*gamma*Ta)
exp2gam <- exp(-2*gamma*Ta)
A. <- -1 * omegsq / grav * (Hw + (1 - expgam)/(1 + expgam)/gamma)
A. <- -1 * omegsq / grav * (Hw + (1 - expgam)/(1 + expgam)/gamma) + 1
# fix a -1 sign convention in Liu (relative to Hsieh/Cooper)
B. <- 1 * onei * omega * U. * Rs.**2 * gamma * expgam / (1 - exp2gam)
B. <- -1 * onei * omega * U. * Rs.**2 * gamma * expgam / (1 - exp2gam)
# Eq A20 -- x / h
wellresp <- 1 / (A. + B. + 1)
# amp <- Mod(wellresp)
# phs <- Arg(wellresp)
# wellresp <- complex(modulus=amp, argument=phs)
#
wellresp <- complex(modulus = Mod(1/(A.+B.)), argument = -Arg(A. - B.))

} else if (model=="hsieh"){
#
# from Hsieh et al (1987), Eq 12-16
BIN +519 Bytes (100%) vignettes/ResponseModels.pdf
Binary file not shown.
BIN +568 Bytes (110%) vignettes/figure/ALLORESPFIG-1.pdf
Binary file not shown.
BIN +0 Bytes (100%) vignettes/figure/ALLRESPFIG-1.pdf
Binary file not shown.
BIN +0 Bytes (100%) vignettes/figure/COOPERRESP-1.pdf
Binary file not shown.
Binary file not shown.
BIN +0 Bytes (100%) vignettes/figure/HSIEHRESP-1.pdf
Binary file not shown.
Binary file not shown.
BIN +0 Bytes (100%) vignettes/figure/KITRESP-1.pdf
Binary file not shown.
BIN +0 Bytes (100%) vignettes/figure/KITRESPFIG-1.pdf
Binary file not shown.
BIN +18 Bytes (100%) vignettes/figure/LIURESP-1.pdf
Binary file not shown.
BIN -24 Bytes (100%) vignettes/figure/LIURESPFIG-1.pdf
Binary file not shown.
BIN +0 Bytes (100%) vignettes/figure/ROJRESP-1.pdf
Binary file not shown.
BIN +0 Bytes (100%) vignettes/figure/ROJRESPFIG-1.pdf
Binary file not shown.
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.