Optimize

Wrapping the calliope optimization process.

tessif_calliope_0_6_6post1.optimize.optimize(system_model, solver='cbc', save=False, **kwargs)[source]

Optimize a PyPSA system model.

Parameters
  • system_model (pypsa.Network) – Pypsa energy system to be simulated

  • solver (str, default='cbc') –

    String specifying the solver to be used. For FOSS application, this is usually either cbc or glpk.

    But since pyomo is used for interfacing the solver. Any of it’s supported solvers can be used.

    Pypsa also allows using its own solver. Archieved by passing pypsa.

    Note

    In case the link above is servered, use the pyomo command:

    pyomo help --solvers
    

  • kwargs

    Keywords parameterizing the solver used as well as the energy system transformation process.

    Use one of lopf's parameters for tweaking the solver.

Returns

Energy system carrying the optimization results.

Return type

Optimized PyPSA system model