Network

The com.powsybl.iidm.network.Network interface is used to model a power grid.

The Network class contains substations, AC lines, HVDC lines and tie lines.

# Characteristics

Attribute Type Required Default value Description
id String yes - The ID of the network
name String no - The name of the network
caseDate DateTime no Now The date of the case
ForecastDistance Integer no 0 The number of minutes between the date of the case generation and the date of the case

# Example

This example shows how to create a new Network object:

Network network = NetworkFactory.create("network-ID", "test")
.setCaseDate(DateTime.parse("2018-02-11T12:00:55+01:00"))
.setForecastDistance(60);