c3.main

Base script to run the C3 code from a main config file.

Module Contents

c3.main.run_cfg(cfg, opt_config_filename, debug=False)[source]

Execute an optimization problem described in the cfg file.

Parameters
  • cfg (Dict[str, Union[str, int, float]]) – Configuration file containing optimization options and information needed to completely setup the system and optimization problem.

  • debug (bool, optional) – Skip running the actual optimization, by default False