effective_damping  ver 1.0   by Tom Irvine
ASCE/SEI 7-22, Chapter 18 - Seismic Design for Damping
================================================================

This tool composes the effective damping of a structure with a
supplemental damping system and converts it to a reduction in the
seismic design demand, per ASCE 7-22 Chapter 18.

----------------------------------------------------------------
INPUT PARAMETERS
----------------------------------------------------------------

beta_I  -  Inherent damping (% of critical)
    The damping already present in the bare structure, exclusive of
    the supplemental devices. Comes from connection friction, material
    hysteresis, and interaction with nonstructural elements. Typically
    2% (steel) to 5% (concrete) per Sec. 18.2.2.1; do not exceed the
    value supported by similar construction.

beta_V0  -  Viscous device damping at mu = 1 (% of critical)
    The contribution from velocity-dependent devices (fluid viscous,
    viscoelastic), evaluated before any ductility modulation. Computed
    from the energy dissipated per cycle at the design displacement.

beta_HD  -  Hysteretic damping (% of critical)
    The contribution from displacement-dependent devices (BRBs,
    friction, metallic yielding) plus the post-yield hysteresis of the
    primary lateral system (SFRS). Computed from the area of the
    force-deformation loop. Jacobsen equivalence breaks down above
    roughly 30%.

mu  -  Ductility ratio (dimensionless)
    The demand displacement divided by the yield displacement. Used to
    modulate the viscous contribution by 1/sqrt(mu), reflecting reduced
    effectiveness once the SFRS responds inelastically. mu = 1 is
    elastic; 2-4 is typical design-level; 4-8 is highly ductile.

----------------------------------------------------------------
OUTPUT PARAMETERS
----------------------------------------------------------------

beta_total  -  Total effective damping (% of critical)
    The sum of the three contributions:
        beta_total = beta_I + beta_V0/sqrt(mu) + beta_HD
    This is the effective damping used to reduce the design spectrum.

B_total  -  Damping coefficient B (dimensionless)
    The spectral-reduction factor from Table 18.7-1, found by linear
    interpolation at beta_total. The 5%-damped design spectral
    acceleration is divided by B to obtain the reduced design value.

reduction (%)  -  Design demand reduction (%)
    The percent reduction in design spectral acceleration achieved by
    the damping, equal to (1 - 1/B_total) x 100.

----------------------------------------------------------------
NOTE
----------------------------------------------------------------
A separate damping coefficient applies to the minimum base-shear floor
of Sec. 18.2.1.1, which credits inherent + viscous damping ONLY
(hysteretic is not credited there).

Input values are illustrative. Actual damping contributions come from
force-deformation loops verified by nonlinear response history analysis
and prototype testing. Verify Table 18.7-1 values against your copy of
ASCE/SEI 7-22 before use.
