Skip to content

Commit d420439

Browse files
committed
reference external resources according to Modelica standard #2
1 parent a73c206 commit d420439

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

PowerSystems/Examples/PowerWorld/package.mo

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
within PowerSystems.Examples;
22
package PowerWorld "Demonstrate stabilization of wind power in Eurosyslib work package 5.3"
33

4+
45
extends Modelica.Icons.ExamplesPackage;
56

6-
constant string PowerWorldResources = Modelica.Utilities.Files.loadResource("modelica://PowerSystems.Examples.PowerWorld/Resources/");
7+
78

89
model PowerWorld "Interoperation of wind power and thermal power"
910
extends Modelica.Icons.Example;
@@ -1347,6 +1348,7 @@ The following switches/features are provided:
13471348
end LoadDispatcherTest;
13481349
end Test;
13491350

1351+
constant String PowerWorldResources = Modelica.Utilities.Files.loadResource("modelica://PowerSystems.Examples.PowerWorld/Resources/");
13501352

13511353
annotation (preferredView="info",Documentation(info="<html>
13521354
<p>The example demonstrates power/frequency control exploiting a thermal power plant and a pump store for the stabilization of fluctuating wind power.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
PowerWorld
22
Components
33
Test
4+
PowerWorldResources

0 commit comments

Comments
 (0)