Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions docs/user/configuration/componentDefaultConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,21 @@ The names of the properties are the names of Java interfaces of the powsybl fram

## Example
In the configuration below, we define these functionalities:
- A security analysis
- A description of contingencies

The chosen implementations are:
- "slow" security analysis (for few contingencies), post-contingency LF based implementation
- the contingencies expressed in Groovy DSL language
The chosen implementation is:
- The contingencies expressed in Groovy DSL language

**YAML configuration:**
```yaml
componentDefaultConfig:
ContingenciesProviderFactory: com.powsybl.action.dsl.GroovyDslContingenciesProviderFactory
SecurityAnalysisFactory: com.powsybl.security.SecurityAnalysisFactoryImpl
```

**XML configuration**
```xml
<componentDefaultConfig>
<ContingenciesProviderFactory>com.powsybl.action.dsl.GroovyDslContingenciesProviderFactory</ContingenciesProviderFactory>
<SecurityAnalysisFactory>com.powsybl.security.SecurityAnalysisFactoryImpl</SecurityAnalysisFactory>
</componentDefaultConfig>
```

Expand Down