-
Notifications
You must be signed in to change notification settings - Fork 43
Migration guide v3.8.0
Thomas ADAM edited this page Nov 6, 2020
·
6 revisions
The ExecutionReport::ok
method has been removed in the PR #1511, because the default implementation need to access to the temporary directory created by the ComputationManager
to read the standard output and error streams. This methods was used only in unit tests.
If you were using it, you can create a DefaultExceutionReport
instance instead:
new DefaultExecutionReport(workingDir);
To reuse a TieLineAdder
twice, the TieLineAdder
interface has been updated in the PR #1507.
A new HalfLineAdder
interface is now used to build a HalfLine
, and methods line1
and line2
was renamed as newLine1
and newLine2
If you were using it, note that:
TieLineAdder adder = network.newTieLine()
.line1()
.setId("")
.setName("")
.setR(0.0)
.setX(0.0)
.setG1(0.0)
.setG2(0.0)
.setB1(0.0)
.setB2(0.0)
.setXnodeP(0)
.setXnodeQ(0)
.line2()
.setId("")
.setName("")
.setR(0.0)
.setX(0.0)
.setG1(0.0)
.setG2(0.0)
.setB1(0.0)
.setB2(0.0)
.setXnodeP(0)
.setXnodeQ(0);
will not work anymore. Please replace it by:
TieLineAdder adder = network.newTieLine()
.newLine1()
.setId("")
.setName("")
.setR(0.0)
.setX(0.0)
.setG1(0.0)
.setG2(0.0)
.setB1(0.0)
.setB2(0.0)
.setXnodeP(0)
.setXnodeQ(0)
.add()
.newLine2()
.setId("")
.setName("")
.setR(0.0)
.setX(0.0)
.setG1(0.0)
.setG2(0.0)
.setB1(0.0)
.setB2(0.0)
.setXnodeP(0)
.setXnodeQ(0)
.add();