flexops.unit_models.powergeneration.boiler.Boiler

class flexops.unit_models.powergeneration.boiler.Boiler(*args, **kwds)
Parameters:
  • rule (function) – A rule function or None. Default rule calls build().

  • concrete (bool) – If True, make this a toplevel model. Default - False.

  • ctype (class) –

    Pyomo ctype of the block. Default - pyomo.environ.Block

    Config args

    dynamic

    Indicates whether this model will be dynamic or not, default = useDefault. Valid values: { useDefault - get flag from parent (default = False), True - set as a dynamic model, False - set as a steady-state model.}

    has_holdup

    Indicates whether holdup terms should be constructed or not. Must be True if dynamic = True, default - False. Valid values: { useDefault - get flag from parent (default = False), True - construct holdup terms, False - do not construct holdup terms}

    property_package

    Property (parameter) block carrying flow between units; None for units that need no fluid properties.

    flexops_config

    Optional already-validated UnitConfig for this unit (never a raw dict).

    unit_commitment

    Per-unit unit-commitment sub-config.

    external_dispatch

    Optional external (DERMS) dispatch source consumed by set_external_dispatch.

    relaxation

    Discrete-structure relaxation policy.

    allow_pass_through

    Whether add_bypass_constraints() builds inlet-to-outlet pass-through equalities for this unit’s non-excluded state variables. SISOBlock (and its subclasses Pump/Tank) override the base default to True so the flow-topology units are well-posed out of the box; the base OpsBlock default stays False.

    costing_package

    Optional FlexCosting block this unit associates with: register_power forwards the unit’s power draw to it. None for standalone units; the forwarding is strictly conditional.

    boiler_type

    Heat source: BoilerType.FIRED burns fuel; BoilerType.HEAT_RECOVERY recovers heat from a hot-gas inlet, optionally with duct firing.

    fuel_property_package

    Single-phase gas package for fuel inlet ports. Required when fuel_inlet_names is given.

    hot_gas_property_package

    Single-phase gas package for the hot-gas inlet and cooled- gas outlet. Required for BoilerType.HEAT_RECOVERY.

    feedwater_property_package

    Single-phase liquid package for the feedwater inlet.

    steam_property_package

    Single-phase gas package for the steam outlet.

    fuel_inlet_names

    Fuels fed through inlet ports; fuel i is built as port f’inlet_{name}’. Names must be unique and may not be ‘feedwater’ or ‘hot_gas’.

    utility_fuel_source

    Fuels pulled from utilities, each a utility_flow_{name} Var (m^3/hr) registered for costing. Must not overlap fuel_inlet_names.

    heating_values

    Mapping of every fuel name to its lower heating value per unit volume (kWh/m^3).

    efficiency

    Fraction of fuel heat input absorbed by the steam, in (0, 1]. Only with fuel sources.

    max_firing_rate

    Burner capacity: maximum total fuel heat input (kW). Only with fuel sources.

    gas_heat_content

    Heat recovered per unit volume of hot gas (kWh/m^3). BoilerType.HEAT_RECOVERY only.

    stack_temperature

    Cooled-gas outlet temperature (K). BoilerType.HEAT_RECOVERY only.

    no_load_loss

    Standing heat loss while on (kW).

    min_heat_output

    Minimum stable steam heat output while on (kW).

    max_heat_output

    Rated steam heat output (kW).

    time_constant

    First-order lag of steam heat output behind absorbed heat (s). Zero makes the boiler static.

    initial_heat_output

    Steam heat output before the first time point (kW); the rolling-horizon initial state.

    steam_heat_content

    Heat carried per unit volume of outlet steam, relative to feedwater (kWh/m^3).

    steam_to_water_density_ratio

    Outlet steam density over feedwater density (dimensionless); sets feedwater volume per steam volume.

    steam_pressure

    Steam outlet pressure (Pa).

    steam_temperature

    Steam outlet temperature (K); also the thermal export’s temperature.

    aux_energy_intensity

    Auxiliary electrical draw per unit volume of steam (kWh/m^3).

  • initialize (dict) – ProcessBlockData config for individual elements. Keys are BlockData indexes and values are dictionaries with config arguments as keys.

  • idx_map (function) – Function to take the index of a BlockData element and return the index in the initialize dict from which to read arguments. This can be provided to override the default behavior of matching the BlockData index exactly to the index in initialize.

Returns:

(Boiler) New instance