9.10. Fragility Functions from MSA

plotter.plot_fragility_from_msa(msa_dict, imt_label, xlims, ylims, title=None, pFlag=True, export_path=None)[source]

Generate a fragility analysis plot showing the probability of exceedance (PoE) for multiple damage states derived from MSA results. This method visualizes the lognormal fragility functions fitted during the Multiple Stripe Analysis. Each curve represents the probability that a specific engineering demand parameter (EDP) threshold (e.g., drift limit) is exceeded given a specific intensity measure (IM) level.

The figure uses self.figsize with constrained_layout and is saved without bbox_inches='tight' so that every output image has identical, deterministic pixel dimensions.

Parameters:
  • msa_dict (dict) – Dictionary containing: - ‘fragility’: {‘intensities’: [], ‘poes’: [], ‘medians’: [], ‘betas’: []} - ‘metadata’: {‘stripe_levels’: [], ‘observed_fractions’: []}

  • imt_label (str) – Label for the X-axis (Intensity Measure).

  • xlims (tuple of float) – (min, max) limits for the X-axis (EDP axis).

  • ylims (tuple of float) – (min, max) limits for the Y-axis (Probability axis).

  • title (str, optional) – Custom title for the plot.

  • pFlag (bool, default True) – Render and show/save the plot.

  • export_path (str, optional) – Path to export the plot.