gtopt/converter.hpp file

Defines the Converter structure for battery-generator coupling.

This module defines the Converter structure which couples a Battery to a Generator (discharge path) and a Demand (charge path), enabling energy storage dispatch modeling in the LP formulation.

JSON Example

{
  "uid": 1,
  "name": "conv1",
  "battery": "bess1",
  "generator": "g_discharge",
  "demand": "d_charge",
  "conversion_rate": 1.0
}

Fields that accept a number/array/string value can hold:

  • A scalar constant
  • A 1-D inline array indexed by [stage]
  • A filename string referencing a Parquet/CSV schedule in input_directory/Converter/

Namespaces

namespace gtopt

Classes

struct gtopt::Converter
Couples a battery to a generator (discharge) and a demand (charge)