diff --git a/src/main/scala/edu/ie3/powerFactory2psdm/converter/NodeConverter.scala b/src/main/scala/edu/ie3/powerFactory2psdm/converter/NodeConverter.scala index f2d4cc40..d3ceeb9d 100644 --- a/src/main/scala/edu/ie3/powerFactory2psdm/converter/NodeConverter.scala +++ b/src/main/scala/edu/ie3/powerFactory2psdm/converter/NodeConverter.scala @@ -92,7 +92,7 @@ object NodeConverter { val uuid = unsafeNodeId2Uuid.getOrElse(node.unsafeId, UUID.randomUUID()) new NodeInput( uuid, - node.id, + node.unsafeId, OperatorInput.NO_OPERATOR_ASSIGNED, OperationTime.notLimited(), node.vTarget.asPu, diff --git a/src/test/scala/edu/ie3/powerFactory2psdm/common/ConverterTestData.scala b/src/test/scala/edu/ie3/powerFactory2psdm/common/ConverterTestData.scala index fb11a265..f6ee705e 100644 --- a/src/test/scala/edu/ie3/powerFactory2psdm/common/ConverterTestData.scala +++ b/src/test/scala/edu/ie3/powerFactory2psdm/common/ConverterTestData.scala @@ -211,7 +211,7 @@ object ConverterTestData extends LazyLogging { val nodes = Map( "someNode" -> ConversionPair( Node( - "someNode", + "node", "someNode", 0.4, 1.0,