bloc.boulder_plugins.resdict_summary_builder#

Generic Results (res_dict) Summary Builder for Boulder.

This plugin can consume a res_dic dictionary produced by external workflows and display a structured summary in Boulder. When res_dic is not present, it falls back to a basic summary extracted from the current Cantera simulation (reactor temperatures, pressures, volumes).

Classes#

ResDictSummaryBuilder

Summary builder that prefers external res_dic results.

Module Contents#

class bloc.boulder_plugins.resdict_summary_builder.ResDictSummaryBuilder#

Bases: boulder.summary_builder.SummaryBuilder

Summary builder that prefers external res_dic results.

If no external results are available, it provides a basic summary from the running simulation.

property builder_id: str#

Unique identifier for this summary builder.

property name: str#

Human-readable name for this summary builder.

is_compatible(context)#

Check if this builder is compatible with the given simulation context.

Args:

context: Current context information

Return type:

True if the builder can process this simulation, False otherwise

build_summary(context)#

Build summary data from the simulation context.

Args:

context: Current context information

Returns:

  • List of summary entries, each containing

  • - reactor (reactor name (optional))

  • - quantity (quantity name)

  • - label (display label)

  • - value (numeric value or string)

  • - unit (unit string (optional))