Package com.powsybl.iidm.network
Interface NetworkFactory
- All Known Implementing Classes:
NetworkFactoryImpl
public interface NetworkFactory
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Method Summary
Modifier and TypeMethodDescriptionstatic Network
Deprecated.createNetwork
(String id, String sourceFormat) Create a network.static NetworkFactory
Find aNetworkFactory
instance base on its name.static NetworkFactory
Find defaultNetworkFactory
instance.Create a network as the result of the merge of the given networks.Create a network as the result of the merge of the given networks.
-
Method Details
-
createNetwork
Create a network.- Parameters:
id
- id of the networksourceFormat
- source format- Returns:
- a network
-
merge
Create a network as the result of the merge of the given networks. Each given network is represented as a subnetwork in the resulting network. As a result of that merge, the given networks are empty at the end of the call.- Parameters:
id
- id of the networknetworks
- the networks to merge- Returns:
- the merged network
-
merge
Create a network as the result of the merge of the given networks. Each given network is represented as a subnetwork in the resulting network. As a result of that merge, the given networks are empty at the end of the call. Note that, as no id is given, the id of the network created is generated.- Parameters:
networks
- the networks to merge- Returns:
- the merged network
-
find
Find aNetworkFactory
instance base on its name.- Parameters:
name
- name of theNetworkFactory
- Returns:
NetworkFactory
instance with the given name.
-
findDefault
Find defaultNetworkFactory
instance.- Returns:
- default
NetworkFactory
instance.
-
create
Deprecated.UseNetwork.create(String, String)
instead.
-
Network.create(String, String)
instead.