Skip to content

Commit

Permalink
Replace dynawaltz.log with dynawo.log
Browse files Browse the repository at this point in the history
Signed-off-by: lisrte <[email protected]>
  • Loading branch information
Lisrte committed Jul 17, 2024
1 parent 7d2759e commit cace503
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![Javadocs](https://www.javadoc.io/badge/com.powsybl/powsybl-dynawo.svg?color=blue)](https://www.javadoc.io/doc/com.powsybl/powsybl-dynawo)
[![Slack](https://img.shields.io/badge/slack-powsybl-blueviolet.svg?logo=slack)](https://join.slack.com/t/powsybl/shared_invite/zt-rzvbuzjk-nxi0boim1RKPS5PjieI0rA)

[Dynawo](https://dynawo.github.io) is an hybrid C++/Modelica open source suite of simulation tools for power systems. This integration module allows to use [DynaFlow](https://dynawo.github.io/about/dynaflow) for [power flow simulations](https://www.powsybl.org/pages/documentation/simulation/powerflow) and [DynaWaltz](https://dynawo.github.io/about/dynawaltz) for [time domain simulations](https://www.powsybl.org/pages/documentation/simulation/timedomain).
[Dynawo](https://dynawo.github.io) is an hybrid C++/Modelica open source suite of simulation tools for power systems. This integration module allows to use [DynaFlow](https://dynawo.github.io/about/dynaflow) for [power flow simulations](https://www.powsybl.org/pages/documentation/simulation/powerflow) and [Dynawo](https://dynawo.github.io) for [time domain simulations](https://www.powsybl.org/pages/documentation/simulation/timedomain).

## DynaFlow

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<dyn:finalState exportIIDMFile="true" exportDumpFile="false"/>
<dyn:curves inputFile="powsybl_dynawo.crv" exportMode="CSV"/>
<dyn:logs>
<dyn:appender tag="" file="dynawaltz.log" lvlFilter="DEBUG"/>
<dyn:appender tag="" file="dynawo.log" lvlFilter="DEBUG"/>
</dyn:logs>
</dyn:outputs>
</dyn:job>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<dyn:finalState exportIIDMFile="true" exportDumpFile="false"/>
<dyn:curves inputFile="powsybl_dynawo.crv" exportMode="CSV"/>
<dyn:logs>
<dyn:appender tag="" file="dynawaltz.log" lvlFilter="DEBUG"/>
<dyn:appender tag="" file="dynawo.log" lvlFilter="DEBUG"/>
</dyn:logs>
</dyn:outputs>
</dyn:job>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<dyn:finalState exportIIDMFile="true" exportDumpFile="false"/>
<dyn:curves inputFile="powsybl_dynawo.crv" exportMode="CSV"/>
<dyn:logs>
<dyn:appender tag="" file="dynawaltz.log" lvlFilter="DEBUG"/>
<dyn:appender tag="" file="dynawo.log" lvlFilter="DEBUG"/>
</dyn:logs>
</dyn:outputs>
</dyn:job>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<dyn:finalState exportIIDMFile="true" exportDumpFile="false"/>
<dyn:curves inputFile="powsybl_dynawo.crv" exportMode="CSV"/>
<dyn:logs>
<dyn:appender tag="" file="dynawaltz.log" lvlFilter="DEBUG"/>
<dyn:appender tag="" file="dynawo.log" lvlFilter="DEBUG"/>
</dyn:logs>
</dyn:outputs>
</dyn:job>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class DynawoSimulationTest extends AbstractDynawoTest {
@BeforeEach
void setUp() throws Exception {
super.setUp();
provider = new DynawoSimulationProvider(new DynawoSimulationConfig(Path.of("/dynawo"), false));
provider = new DynawoSimulationProvider(new DynawoSimulationConfig(Path.of("/dynawo"), true));
parameters = new DynamicSimulationParameters()
.setStartTime(0)
.setStopTime(100);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public final class DynawoSimulationHandler extends AbstractExecutionHandler<Dyna
private static final String OUTPUT_IIDM_FILENAME = "outputIIDM.xml";
private static final String OUTPUT_DUMP_FILENAME = "outputState.dmp";
private static final String TIMELINE_FILENAME = "timeline";
private static final String LOGS_FILENAME = "dynawaltz.log";
private static final String LOGS_FILENAME = "dynawo.log";
private static final String ERROR_FILENAME = "dyn_fs_0.err";
private static final String DYNAWO_ERROR_PATTERN = "DYN Error: ";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private static void writeOutput(XMLStreamWriter writer, DynawoSimulationContext
private static void writeAppender(XMLStreamWriter writer, DynawoSimulationParameters parameters) throws XMLStreamException {
writer.writeEmptyElement(DYN_URI, "appender");
writer.writeAttribute("tag", "");
writer.writeAttribute("file", "dynawaltz.log");
writer.writeAttribute("file", "dynawo.log");
writer.writeAttribute("lvlFilter", parameters.getLogLevelFilter().toString());
for (DynawoSimulationParameters.SpecificLog log : parameters.getSpecificLogs()) {
writeSpecificAppender(writer, log);
Expand Down
2 changes: 1 addition & 1 deletion dynawo-simulation/src/test/resources/jobs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<dyn:finalState exportIIDMFile="true" exportDumpFile="false"/>
<dyn:curves inputFile="powsybl_dynawo.crv" exportMode="CSV"/>
<dyn:logs>
<dyn:appender tag="" file="dynawaltz.log" lvlFilter="INFO"/>
<dyn:appender tag="" file="dynawo.log" lvlFilter="INFO"/>
</dyn:logs>
</dyn:outputs>
</dyn:job>
Expand Down
2 changes: 1 addition & 1 deletion dynawo-simulation/src/test/resources/jobsWithDump.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<dyn:finalState exportIIDMFile="true" exportDumpFile="true"/>
<dyn:curves inputFile="powsybl_dynawo.crv" exportMode="CSV"/>
<dyn:logs>
<dyn:appender tag="" file="dynawaltz.log" lvlFilter="INFO"/>
<dyn:appender tag="" file="dynawo.log" lvlFilter="INFO"/>
</dyn:logs>
</dyn:outputs>
</dyn:job>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<dyn:finalState exportIIDMFile="true" exportDumpFile="false"/>
<dyn:curves inputFile="powsybl_dynawo.crv" exportMode="CSV"/>
<dyn:logs>
<dyn:appender tag="" file="dynawaltz.log" lvlFilter="INFO"/>
<dyn:appender tag="" file="dynawo.log" lvlFilter="INFO"/>
<dyn:appender tag="NETWORK" file="network.log" lvlFilter="DEBUG"/>
<dyn:appender tag="MODELER" file="modeler.log" lvlFilter="DEBUG"/>
<dyn:appender tag="PARAMETERS" file="param.log" lvlFilter="DEBUG"/>
Expand Down

0 comments on commit cace503

Please sign in to comment.