generated from arras-energy/gridlabd-old
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix xy coordinate data extract from cyme converter (#111)
Signed-off-by: Mitchell Victoriano <mitchell.victoriano@gmail.com> Signed-off-by: David P. Chassin <dchassin@slac.stanford.edu> Signed-off-by: David P. Chassin <david.chassin@me.com> Co-authored-by: David P. Chassin <dchassin@slac.stanford.edu>
- Loading branch information
1 parent
41f42c1
commit af96ff5
Showing
6 changed files
with
68 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
node,x,y | ||
611,-497.529638,-296.406716 | ||
632,-102.564756,-82.359153 | ||
633,96.981706,-82.359153 | ||
634,296.528167,-82.359153 | ||
645,-303.611567,-82.359153 | ||
646,-503.158028,-82.359153 | ||
650,-101.871718,202.525349 | ||
652,-305.42555,-388.033675 | ||
671,-102.564756,-295.840278 | ||
675,177.685724,-296.168228 | ||
680,-102.216065,-385.711768 | ||
684,-305.569538,-295.821338 | ||
692,95.477648,-295.827775 | ||
7,-102.140153,119.727044 | ||
L611CAP,-591.552268,-296.394266 | ||
L675CAP,375.26425,-296.626671 | ||
LOAD611,-497.577422,-322.467031 | ||
LOAD634,296.529235,-104.537935 | ||
LOAD645,-303.611567,-102.823074 | ||
LOAD646,-503.140358,-104.938533 | ||
LOAD652,-305.36199,-423.410687 | ||
LOAD671,-130.812161,-270.135734 | ||
LOAD675,177.693667,-331.639128 | ||
LOAD692,95.481356,-329.791363 | ||
RG60,-102.134091,-103.005827 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#ifexist ../IEEE-13-cyme.mdb | ||
#define DIR=.. | ||
#endif // exist ../IEEE-13-cyme.mdb | ||
|
||
#input "${DIR:-.}/IEEE-13-cyme.mdb" -t cyme -o test-IEEE-13.glm -p coordinateCSV=test-IEEE-13-cyme-xy-coordinates.csv | ||
|
||
#ifexist ../IEEE-13-cyme-xy-coordinates.csv | ||
#on_exit 0 diff -I '^[#/]' ../IEEE-13-cyme-xy-coordinates.csv test-IEEE-13-cyme-xy-coordinates.csv > gridlabd.diff | ||
#endif // exist ../IEEE-13-cyme-xy-coordinates.csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,9 @@ | ||
#ifmissing /usr/local/bin/mdb-schema | ||
|
||
#warning mdbtools is not available | ||
|
||
#else // found /usr/local/bin/mdb-schema | ||
|
||
#ifexist ../IEEE-13-cyme.mdb | ||
#define DIR=.. | ||
#endif // exist ../IEEE-13-cyme.mdb | ||
|
||
#input "${DIR:-.}/IEEE-13-cyme.mdb" -o IEEE-13-cyme-network.glm -t cyme | ||
#input "${DIR:-.}/IEEE-13-cyme.mdb" -o ./IEEE-13-cyme-network.glm -t cyme | ||
|
||
#ifexist ../IEEE-13-cyme-network.glm | ||
#on_exit 0 diff -I '^[#/]' ../IEEE-13-cyme-network.glm IEEE-13-cyme-network.glm > gridlabd.diff | ||
#endif // exist ../IEEE-13-cyme-network.glm | ||
|
||
#endif // missing /usr/local/bin/mdb-schema | ||
#endif // exist ../IEEE-13-cyme-network.glm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters