groovy-dsl-contingencies
The groovy-dsl-contingencies
module is used by the com.powsybl.action.dsl.GroovyDslContingenciesProviderFactory
, which is an implementation of the com.powsybl.contingency.ContingenciesProviderFactory
used by the security-analysis command.
Required properties
dsl-file
The dsl-file
property is a required property that defines the path of the groovy script defining the list of contingencies to simulate. Read the documentation page to learn more about the syntax of the GroovyDslContingenciesProvider
.
Examples
YAML configuration:
groovy-dsl-contingencies:
dsl-file: /home/user/contingencies.groovy
XML configuration:
<groovy-dsl-contingencies>
<dsl-file>/home/user/contingencies.groovy</dsl-file>
</groovy-dsl-contingencies>