Skip to content

[FEATURE] Silent framework #402

@FBumann

Description

@FBumann

Prerequisites

  • I have searched existing issues and discussions
  • I have checked the documentation

Feature Category

API/Usability Improvement

Problem Statement

When running flixopt code (and tests), there are a lot of plots opening.
ALso, the Solver always print to the console.

Proposed Solution

I would like to be able to specify the (default) behavior through the config.

  • don't show plots by default.
  • don't print solver logs to console

This, together with other parameters could be applied with a CONFIG.silence(). This would be quite neat in many cases it hink

Use Case & Examples

  • flixopt runs "Under the hood" (as part of another project)
  • SegmentedCalculation or other future calculation types that run multiple Models

Desired API (Optional)

`fx.CONFIG.silence()`

or 

fx.CONFIG.plotting.auto_open = False
fx.CONFIG.solving.console = False
fx.CONFIG.apply()

Alternatives Considered

No response

Priority/Impact

Medium - Nice to have enhancement

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Feature.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions