Skip to content
Merged
Changes from all 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 @@ -26,25 +26,21 @@ componentDefaultConfig:

## 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