gtopt::Block struct

Smallest time unit in the optimization horizon.

Blocks are ordered within a Stage. A stage references its first block by index (first_block) and contains count_block consecutive blocks. The duration field converts MW dispatch values into MWh energy quantities in the objective function.

Public static variables

static constexpr std::string_view class_name

Public variables

Real duration
Duration of this time block [h].
OptName name
Optional human-readable label.
Uid uid
Unique identifier.