Index: src_plugins/export_openems/openems_xml.c =================================================================== --- src_plugins/export_openems/openems_xml.c (revision 32017) +++ src_plugins/export_openems/openems_xml.c (revision 32018) @@ -265,6 +265,20 @@ rnd_fprintf(ctx->f, " \n"); rnd_fprintf(ctx->f, " \n"); rnd_fprintf(ctx->f, " \n"); + + TODO("Check if it is true:"); + /* excitation is always fed in on port 1 */ + if (ctx->port_id == 1) { + rnd_fprintf(ctx->f, " \n"); + rnd_fprintf(ctx->f, " \n"); + rnd_fprintf(ctx->f, " \n"); + rnd_fprintf(ctx->f, " \n", x, -y, e2); + rnd_fprintf(ctx->f, " \n", x, -y, e1); + rnd_fprintf(ctx->f, " \n"); + rnd_fprintf(ctx->f, " \n"); + rnd_fprintf(ctx->f, " \n"); + } + }