-
Notifications
You must be signed in to change notification settings - Fork 43
Migration guide v3.8.0
MioRtia edited this page Nov 25, 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 DefaultExecutionReport
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 newHalfLine1
and newHalfLine2
. Note that you have to call the new add
method to create the half-line.
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()
.newHalfLine1()
.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()
.newHalfLine2()
.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();