Skip to content

Commit

Permalink
Fix geodata tutorial (#101)
Browse files Browse the repository at this point in the history
Signed-off-by: David P. Chassin <david.chassin@me.com>
  • Loading branch information
David P. Chassin authored and dchassin committed Sep 30, 2023
1 parent ee999a4 commit 7d5f71f
Show file tree
Hide file tree
Showing 5 changed files with 1,695 additions and 1,000 deletions.
2 changes: 1 addition & 1 deletion source/gridlabd.in
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ then :
. ${GLD_ETC}/gridlabd.rc
fi

if test x$1 = xshell
if test "x$1 "= "xshell"
then :
shift 1; $SHELL $@; exit $?
fi
Expand Down
2 changes: 1 addition & 1 deletion source/gridlabd.m4sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ AS_IF([test -f "${GLD_ETC}/gridlabd.rc"],
[. ${GLD_ETC}/gridlabd.rc],
[])

AS_IF([test x$1 = xshell],
AS_IF([test "x$1" = "xshell"],
[shift 1; $SHELL $@; exit $?],
[])

Expand Down
1 change: 1 addition & 0 deletions tutorials/Geodata/geodata.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"vegetation.username": "name@example.com", "vegetation.password": "password5839"}
2 changes: 2 additions & 0 deletions tutorials/Geodata/geodata_powerline_cabletypes.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
id,diameter,unit_weight,rated_tensile_strength,elasticity,thermal_expansion,conductor_crosssection_area,resistivity,nominal_resistance,nomimal_temperature,voltage_rating,reflectivity,emissivity
TACSR/AC 610mm^2,34.2e-3,21.56,7.2e4,7.18e10,2.06e-5,691.8e-6,0.0039,4.58e-5,15.0,230e3,0.5,0.6
Loading

0 comments on commit 7d5f71f

Please sign in to comment.