|
1 | 1 | within PowerSystems.Examples;
|
2 | 2 | package PowerWorld "Demonstrate stabilization of wind power in Eurosyslib work package 5.3"
|
3 | 3 |
|
4 |
| - |
5 | 4 | extends Modelica.Icons.ExamplesPackage;
|
6 | 5 |
|
| 6 | + constant string PowerWorldResources = Modelica.Utilities.Files.loadResource("modelica://PowerSystems.Examples.PowerWorld/Resources/"); |
7 | 7 |
|
8 | 8 | model PowerWorld "Interoperation of wind power and thermal power"
|
9 | 9 | extends Modelica.Icons.Example;
|
@@ -618,7 +618,7 @@ The following switches/features are provided:
|
618 | 618 |
|
619 | 619 | Modelica.Blocks.Sources.CombiTimeTable wind(
|
620 | 620 | tableName="tab",
|
621 |
| - fileName="Examples/PowerWorld/Resources/LoadData.txt", |
| 621 | + fileName=PowerWorldResources + "LoadData.txt", |
622 | 622 | tableOnFile=true,
|
623 | 623 | table=fill(
|
624 | 624 | 0.0,
|
@@ -706,7 +706,7 @@ The following switches/features are provided:
|
706 | 706 |
|
707 | 707 | Modelica.Blocks.Sources.CombiTimeTable data(
|
708 | 708 | tableName="tab",
|
709 |
| - fileName="Examples/PowerWorld/Resources/LoadData.txt", |
| 709 | + fileName=PowerWorldResources + "LoadData.txt", |
710 | 710 | tableOnFile=true,
|
711 | 711 | table=fill(
|
712 | 712 | 0.0,
|
@@ -877,7 +877,7 @@ The following switches/features are provided:
|
877 | 877 | extends PowerSystems.Generic.Ports.PartialLoad;
|
878 | 878 | Modelica.Blocks.Sources.CombiTimeTable data(
|
879 | 879 | tableName="tab",
|
880 |
| - fileName="Examples/PowerWorld/Resources/LoadData.txt", |
| 880 | + fileName=PowerWorldResources + "LoadData.txt", |
881 | 881 | tableOnFile=true,
|
882 | 882 | table=fill(
|
883 | 883 | 0.0,
|
@@ -1351,6 +1351,6 @@ The following switches/features are provided:
|
1351 | 1351 | annotation (preferredView="info",Documentation(info="<html>
|
1352 | 1352 | <p>The example demonstrates power/frequency control exploiting a thermal power plant and a pump store for the stabilization of fluctuating wind power.
|
1353 | 1353 | The demonstrator developed for Eurosyslib WP5.3 complements the model with a 3D animation using DLR's SimVis software.</p>
|
1354 |
| -<p><img src=\"modelica://PowerSystems/Examples/PowerWorld/Resources/PowerWorld.png\"/></p> |
| 1354 | +<p><img src=\"modelica://PowerSystems.Examples.PowerWorld/Resources/PowerWorld.png\"/></p> |
1355 | 1355 | </html>"));
|
1356 | 1356 | end PowerWorld;
|
0 commit comments