Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nshmp-lib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ghsc
National Seismic Hazard Model Project
nshmp-lib
Commits
9edc895b
Commit
9edc895b
authored
3 months ago
by
Powers, Peter M.
Browse files
Options
Downloads
Patches
Plain Diff
exposing ag20 nonlin sigma components
parent
a97110f8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!436
Prvi gmm 251
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/gov/usgs/earthquake/nshmp/gmm/AbrahamsonGulerce_2020.java
+21
-12
21 additions, 12 deletions
...gov/usgs/earthquake/nshmp/gmm/AbrahamsonGulerce_2020.java
with
21 additions
and
12 deletions
src/main/java/gov/usgs/earthquake/nshmp/gmm/AbrahamsonGulerce_2020.java
+
21
−
12
View file @
9edc895b
...
@@ -135,13 +135,14 @@ public abstract class AbrahamsonGulerce_2020 implements GroundMotionModel {
...
@@ -135,13 +135,14 @@ public abstract class AbrahamsonGulerce_2020 implements GroundMotionModel {
COEFFS_AK_ADJUSTED
=
new
CoefficientContainer
(
"nga-sub-ak-interface-adjustment.csv"
);
COEFFS_AK_ADJUSTED
=
new
CoefficientContainer
(
"nga-sub-ak-interface-adjustment.csv"
);
}
}
static
final
double
VS30_ROCK
=
1000.0
;
static
final
double
PHI_AMP_SQ
=
0.09
;
private
static
final
double
C1S
=
7.5
;
private
static
final
double
C1S
=
7.5
;
private
static
final
double
C4
=
10.0
;
private
static
final
double
C4
=
10.0
;
private
static
final
double
C
=
1.88
;
private
static
final
double
C
=
1.88
;
private
static
final
double
N
=
1.18
;
private
static
final
double
N
=
1.18
;
private
static
final
double
VSS_MAX
=
1000.0
;
private
static
final
double
VSS_MAX
=
1000.0
;
private
static
final
double
VS30_ROCK
=
1000.0
;
private
static
final
double
D0
=
0.47
;
private
static
final
double
D0
=
0.47
;
...
@@ -401,33 +402,41 @@ public abstract class AbrahamsonGulerce_2020 implements GroundMotionModel {
...
@@ -401,33 +402,41 @@ public abstract class AbrahamsonGulerce_2020 implements GroundMotionModel {
double
τlin
=
D0
;
double
τlin
=
D0
;
double
τSq
=
τlin
*
τlin
;
double
τSq
=
τlin
*
τlin
;
double
φSq
=
φlinSq
(
c
.
d1
,
c
.
d2
,
rRup
);
double
φSq
=
calc_
φlinSq
(
c
.
d1
,
c
.
d2
,
rRup
);
double
vsS
=
calcVsStar
(
vs30
);
double
vsS
=
calcVsStar
(
vs30
);
/* Add nonlinear effects. */
/* Add nonlinear effects. */
if
(
vsS
<
c
.
vlin
)
{
if
(
vsS
<
c
.
vlin
)
{
/* φamp^2 = 0.3 * 0.3 = 0.09 */
double
φbSq
=
φSq
-
PHI_AMP_SQ
;
double
φbSq
=
φSq
-
0.09
;
double
φlinSqPga
=
φlinSq
(
cPga
.
d1
,
cPga
.
d2
,
rRup
);
double
φlinSqPga
=
calc_
φlinSq
(
cPga
.
d1
,
cPga
.
d2
,
rRup
);
double
φbSqPga
=
φlinSqPga
-
0.09
;
double
φbSqPga
=
φlinSqPga
-
PHI_AMP_SQ
;
double
dSite
=
c
.
b
*
pgaRock
*
double
dSite
=
calc_dSite
(
c
.
b
,
c
.
vlin
,
vs30
,
pgaRock
);
((
1.0
/
(
pgaRock
+
C
*
pow
((
vs30
/
c
.
vlin
),
N
)))
-
(
1.0
/
(
pgaRock
+
C
)));
double
dSiteSq
=
dSite
*
dSite
;
double
dSiteSq
=
dSite
*
dSite
;
φSq
+=
dSiteSq
*
φbSqPga
+
2
*
dSite
*
sqrt
(
φbSqPga
)
*
sqrt
(
φbSq
)
*
c
.
ρW
;
φSq
+=
dSiteSq
*
φbSqPga
+
2
.0
*
dSite
*
sqrt
(
φbSqPga
)
*
sqrt
(
φbSq
)
*
c
.
ρW
;
/* τlinPga = τlin = D0 */
/* τlinPga = τlin = D0 */
τSq
+=
dSiteSq
*
τSq
+
2
*
dSite
*
τSq
*
c
.
ρB
;
τSq
+=
dSiteSq
*
τSq
+
2
.0
*
dSite
*
τSq
*
c
.
ρB
;
}
}
return
sqrt
(
τSq
+
φSq
);
return
sqrt
(
τSq
+
φSq
);
}
}
private
static
double
φlinSq
(
double
d1
,
double
d2
,
double
rRup
)
{
/*
* Return the partial derivative of the natural log of soil amplification
* relative to a hard rock site condition ln(SA[Vs30=1000]). This method is
* exposed for use in other GMM aleatory variability models.
*/
static
double
calc_dSite
(
double
b
,
double
vLin
,
double
vs30
,
double
pgaRock
)
{
return
b
*
pgaRock
*
((
1.0
/
(
pgaRock
+
C
*
pow
((
vs30
/
vLin
),
N
)))
-
(
1.0
/
(
pgaRock
+
C
)));
}
static
double
calc_φlinSq
(
double
d1
,
double
d2
,
double
rRup
)
{
/* Eq. 5.2 */
/* Eq. 5.2 */
double
φ
=
d1
;
double
φ
=
d1
;
if
(
rRup
>
450.0
)
{
if
(
rRup
>
450.0
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment