block.hpp file
Time block definition for power system optimization.
A Block is the smallest indivisible time unit in the planning horizon. Energy quantities are obtained by multiplying power by duration: energy [MWh] = power [MW] × duration [h].
JSON Example
{"uid": 1, "duration": 1.0}
Namespaces
Classes
- struct gtopt::Block
- Smallest time unit in the optimization horizon.
-
template<>struct std::incrementable_traits<gtopt::BlockIndex>