-
Notifications
You must be signed in to change notification settings - Fork 43
Migration guide v4.7.0
To be completed
To be completed
From this release, the CGMES update mechanism is not supported anymore. You are now able to generate CGMES files from any network by using the CGMES exporter. By default, all profiles are exported (EQ, TP, SSH and SV) but you can modify the configuration if you want to export specific profiles.
For example, if you wish to export only the SSH and SV profiles, add this to your configuration:
import-export-parameters-default-value:
iidm.export.cgmes.profiles:
- SSH
- SV
You can also pass a Properties
object containing this configuration:
Properties properties = new Properties();
properties.put("iidm.export.cgmes.profiles", List.of("SSH", "SV"));
new CgmesExport().export(network, properties, dataSource);
Methods in BranchObservability
and InjectionObservability
setting the redundant
attribute of ObservabilityQuality
sub-objects, such as setQualityP1(double standardDeviation, boolean redundant)
, do not pass a Boolean
anymore but a boolean
, preventing null object to be passed.
Transformers created directly in the network (not in a substation) must now have all of their legs directly in the network as well (not in a substation). In parallel, transformers created in a substation must now have all of their legs in this substation. Transformers with part of their legs directly in the network and part of their legs in a substation are now forbidden.
At this release, IIDM has been changed to version 1.7. Consequently, if you are using a XIIDM converter from powsybl-core v4.7.0 and above to write IIDM network files in version 1.7, you should use a XIIDM converter from powsybl-core v4.7.0 to read them as well without issues.
Please note that it is possible to read and write XIIDM files in previous IIDM-XML versions.
In order to write XIIDM files in previous versions (e.g. the version 1.0), you need to use the following configuration property:
import-export-parameters-default-value:
iidm.export.xml.version: "1.0"
or use the Java object ExportOptions
in your parameters with a suitable set version:
... // do something
ExportOptions options = new ExportOptions().setVersion("1.0");
NetworkXml.write(network, options, path);
... // do something
Reading XIIDM files in previous versions does not require any particular configuration.
For more information about the new features, please read the documentation page on IIDM/IIDM-XML 1.7 evolutions.
These new features and changes include:
To be completed
simulShunt
and all associated methods in LoadFlowParameters
have been replaced by shuntCompensatorVoltageControlOn
.
All previous methods have been deprecated and call new methods.
To be completed
To be completed