Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.36 KB

File metadata and controls

36 lines (28 loc) · 1.36 KB

componentDefaultConfig

The componentDefaultConfig module is used to configure the implementation of plugins that the framework has to use for specific features (e.g. computation, etc.). Contrary to the other modules, it is impossible to give an exhaustive list of the existing properties.

The names of the properties are the names of Java interfaces of the powsybl framework. Each value must be the complete name of a class which implements this interface.

  • ContingenciesProviderFactory
  • SensitivityComputationFactory
  • SensitivityFactorsProviderFactory
  • MpiStatisticsFactory
  • SecurityAnalysisFactory
  • SimulatorFactory

Example

In the configuration below, we define these functionalities:

  • A description of contingencies

The chosen implementation is:

  • The contingencies expressed in Groovy DSL language

YAML configuration:

componentDefaultConfig:
    ContingenciesProviderFactory: com.powsybl.action.dsl.GroovyDslContingenciesProviderFactory

XML configuration

<componentDefaultConfig>
    <ContingenciesProviderFactory>com.powsybl.action.dsl.GroovyDslContingenciesProviderFactory</ContingenciesProviderFactory>
</componentDefaultConfig>

Removed properties

load-flow-factory:
The load-flow-factory property has been removed in PowSyBl 3.0.0. Use the default-impl-name property of the load-flow module instead.