TCL Command ABRESULT, Daten der Einflusslinie
Syntax
array set infline [ABRESULT inflid INFLINE GET]
array set stats [ABRESULT inflid INFLINE GET LANEPOSS trpos]
array set lanexs [ABRESULT inflid INFLINE GET LANEPOSX trpos]
array set laneys [ABRESULT inflid INFLINE GET LANEPOSY trpos]
array set lanezs [ABRESULT inflid INFLINE GET LANEPOSZ trpos]
array set widths [ABRESULT inflid INFLINE GET LANEPOSW trpos]
array set bends [ABRESULT inflid INFLINE GET LANEPOSB trpos]
array set axles [ABRESULT inflid INFLINE GET LANEPOSA trpos vehicle]
array set elems [ABRESULT inflid INFLINE GET LOADPOSE trpos vehicle]
array set nodes [ABRESULT inflid INFLINE GET LOADPOSN trpos vehicle]
array set loadxs [ABRESULT inflid INFLINE GET LOADPOSX trpos vehicle]
array set loadys [ABRESULT inflid INFLINE GET LOADPOSY trpos vehicle]
array set loadzs [ABRESULT inflid INFLINE GET LOADPOSZ trpos vehicle]
array set lvalxs [ABRESULT inflid INFLINE GET LOADVALX trpos ltype]
array set lvalys [ABRESULT inflid INFLINE GET LOADVALY trpos ltype]
array set lvalzs [ABRESULT inflid INFLINE GET LOADVALZ trpos ltype]
Beschreibung
Abfrage der Daten einer Einflusslinie
Die Daten wurden in verschiedene Felder zusammengefasst. Diese Felder sind gemäß der Spurpositionen organisiert.
|
Argument |
Dimension |
Bedeutung |
|
inflid |
OBJID |
Daten-ID |
|
INFLINE |
KEYWORD |
Ergebnistyp der Abfrage |
|
GET |
KEYWORD |
Daten abfragen |
|
LANEPOSS |
KEYWORD |
Spurpositionen abfragen |
|
LANEPOSX |
KEYWORD |
Spurkoordinate abfragen |
|
LANEPOSY |
KEYWORD |
Spurkoordinate abfragen |
|
LANEPOSZ |
KEYWORD |
Spurkoordinate abfragen |
|
LANEPOSW |
KEYWORD |
Spurbreite abfragen |
|
LANEPOSB |
KEYWORD |
Spurkrümmung abfragen |
|
LANEPOSA |
KEYWORD |
Achsenabstand abfragen |
|
LOADPOSE |
KEYWORD |
Elementnummern der belasteten Elemente abfragen |
|
LOADPOSN |
KEYWORD |
Lokale Knotennummern der belasteten Elemente abfragen |
|
LOADPOSX |
KEYWORD |
Koordinaten der Lastpunkte abfragen |
|
LOADPOSY |
KEYWORD |
Koordinaten der Lastpunkte abfragen |
|
LOADPOSZ |
KEYWORD |
Koordinaten der Lastpunkte abfragen |
|
trpos |
INT |
Zugposition |
|
vehicle |
INT |
Fahrzeug |
|
wheel |
INT |
Rad |
|
ltype |
ENUM |
Lastart aus der Liste {"VERTICAL", "BRAKING", "CENTRIFUGAL", "COMBINED"} |
Rückgabefeld für [ABRESULT ... GET]
|
Feldargument |
Dimension |
Bedeutung |
|
error |
INT |
Fehlerstatus |
|
info |
TEXT |
Fehlerinformation |
|
lset |
TEXT |
Name des Spursets |
|
lane |
INT |
Spurnummer |
|
npos |
INT |
Anzahl der Spurpositionen |
|
loads |
LIST |
Liste der berücksichtigten Lasten mit folgenden möglichen Einträgen: "VERTICAL", "BRAKING", "CENTRIFUGAL", "COMBINED" |
Rückgabefeld für [ABRESULT ... GET LANEPOSS trpos]
|
Feldargument |
Dimension |
Bedeutung |
|
error |
INT |
Fehlerstatus |
|
info |
TEXT |
Fehlerinformation |
|
pos |
LIST |
Liste von Stationswerten des Typs STATION |
Rückgabefeld für [ABRESULT ... GET LANEPOSX trpos]
|
Feldargument |
Dimension |
Bedeutung |
|
error |
INT |
Fehlerstatus |
|
info |
TEXT |
Fehlerinformation |
|
pos |
LIST |
Liste von X-Koordinaten des Typs LSTRUCTD |
Abfragen der Y- und Z-Werte entsprechend.
Rückgabefeld für [ABRESULT ... GET LANEPOSW trpos]
|
Feldargument |
Dimension |
Bedeutung |
|
error |
INT |
Fehlerstatus |
|
info |
TEXT |
Fehlerinformation |
|
pos |
LIST |
Liste von Spurbreiten des Typs LSTRUCTD |
Rückgabefeld für [ABRESULT ... GET LANEPOSB trpos]
|
Feldargument |
Dimension |
Bedeutung |
|
error |
INT |
Fehlerstatus |
|
info |
TEXT |
Fehlerinformation |
|
pos |
LIST |
Liste von Krümmungen des Typs 1/LSTRUCTD |
Rückgabefeld für [ABRESULT ... GET LANEPOSA trpos vehicle]
|
Feldargument |
Dimension |
Bedeutung |
|
error |
INT |
Fehlerstatus |
|
info |
TEXT |
Fehlerinformation |
|
pos |
LIST |
Liste von Achsbreiten des Typs LSTRUCTD |
Rückgabefeld für [ABRESULT ... GET LOADPOSE trpos vehicle]
|
Feldargument |
Dimension |
Bedeutung |
|
error |
INT |
Fehlerstatus |
|
info |
TEXT |
Fehlerinformation |
|
pos |
LIST |
Liste von Elementnummern |
Abfrage der lokalen Knotennummern entsprechend.
Rückgabefeld für [ABRESULT ... GET LOADPOSX trpos vehicle]
|
Feldargument |
Dimension |
Bedeutung |
|
error |
INT |
Fehlerstatus |
|
info |
TEXT |
Fehlerinformation |
|
pos |
LIST |
Liste von X-Koordinaten der Lastpunkte (Dimension LSTRUCTD) |
Abfragen der Y- und Z-Werte entsprechend.
Rückgabefeld für [ABRESULT ... GET LOADVALX trpos ltype]
|
Feldargument |
Dimension |
Bedeutung |
|
error |
INT |
Fehlerstatus |
|
info |
TEXT |
Fehlerinformation |
|
pos |
LIST |
Liste von X-Komponenten der Last; Die Werte sind dimensionslos. |
Abfragen der Y- und Z-Werte entsprechend.
Scopes
All
Beispiele
array set ul [ABMUNIT LSTRUCTD GET]
array set us [ABMUNIT STATION GET]
array set ua [ABMUNIT ANGLED GET]
set ub "1/"
append ub $ul(symb)
array unset inflret
array set inflret [ABRESULTS "Lane Set_right" INFLINE GET LANE 2]
array unset infline
array set infline [ABRESULT $inflret(id) INFLINE GET]
set format12 " %8d %11.4f %11.4f %11.4f %11.4f %10.3f %11.4f %10.3f %11.4f %11.4f %11.4f %7d %8.3f %8.3f %8.3f %8.3f %8.3f %8.3f"
set format13 " %11s %11s %11s %11s %10s %11s %10s %11s %11s %11s %8s %8s %8s %8s %8s %8s"
puts $outfile ""
puts $outfile ""
puts $outfile " Laneset : '$infline(lset)'"
puts $outfile " Lane : $infline(lane)"
puts $outfile " Positions : $infline(npos)"
puts $outfile " Load types: $infline(loads)"
puts $outfile ""
puts $outfile " Position Station Lane-X Lane-Y Lane-Z Width Bend Axle width Load-X Load-Y Load-Z Element Fx-vert Fy-vert Fz-vert Fx-cfg Fy-cfg Fz-cfg"
puts $outfile [format $format13 $us(symb) $ul(symb) $ul(symb) $ul(symb) $ul(symb) $ub $ul(symb) $ul(symb) $ul(symb) $ul(symb) "\[1\]" "\[1\]" "\[1\]" "\[1\]" "\[1\]" "\[1\]"]
puts $outfile " --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------"
array set stats [ABRESULT $inflret(id) INFLINE GET LANEPOSS 1]
array set lanexs [ABRESULT $inflret(id) INFLINE GET LANEPOSX 1]
array set laneys [ABRESULT $inflret(id) INFLINE GET LANEPOSY 1]
array set lanezs [ABRESULT $inflret(id) INFLINE GET LANEPOSZ 1]
array set widths [ABRESULT $inflret(id) INFLINE GET LANEPOSW 1]
array set bends [ABRESULT $inflret(id) INFLINE GET LANEPOSB 1]
array set axles [ABRESULT $inflret(id) INFLINE GET LANEPOSA 1]
array set loadxs [ABRESULT $inflret(id) INFLINE GET LOADPOSX 1]
array set loadys [ABRESULT $inflret(id) INFLINE GET LOADPOSY 1]
array set loadzs [ABRESULT $inflret(id) INFLINE GET LOADPOSZ 1]
array set elems [ABRESULT $inflret(id) INFLINE GET LOADPOSE 1]
array set fvxs [ABRESULT $inflret(id) INFLINE GET LOADVALX 1 VERTICAL]
array set fvys [ABRESULT $inflret(id) INFLINE GET LOADVALY 1 VERTICAL]
array set fvzs [ABRESULT $inflret(id) INFLINE GET LOADVALZ 1 VERTICAL]
array set fcxs [ABRESULT $inflret(id) INFLINE GET LOADVALX 1 CENTRIFUGAL]
array set fcys [ABRESULT $inflret(id) INFLINE GET LOADVALY 1 CENTRIFUGAL]
array set fczs [ABRESULT $inflret(id) INFLINE GET LOADVALZ 1 CENTRIFUGAL]
for { set ipos 0 } { $ipos < $infline(npos) } { incr ipos } {
set ipos1 [expr $ipos + 1]
set stat [lindex $stats(pos) $ipos]
set lanex [lindex $lanexs(pos) $ipos]
set laney [lindex $laneys(pos) $ipos]
set lanez [lindex $lanezs(pos) $ipos]
set width [lindex $widths(pos) $ipos]
set bend [lindex $bends(pos) $ipos]
set axle [lindex $axles(pos) $ipos]
set loadx [lindex $loadxs(pos) $ipos]
set loady [lindex $loadys(pos) $ipos]
set loadz [lindex $loadzs(pos) $ipos]
set elem [lindex $elems(pos) $ipos]
set fvx [lindex $fvxs(pos) $ipos]
set fvy [lindex $fvys(pos) $ipos]
set fvz [lindex $fvzs(pos) $ipos]
set fcx [lindex $fcxs(pos) $ipos]
set fcy [lindex $fcys(pos) $ipos]
set fcz [lindex $fczs(pos) $ipos]
puts $outfile [format $format12 $ipos1 $stat $lanex $laney $lanez $width $bend $axle $loadx $loady $loadz $elem $fvx $fvy $fvz $fcx $fcy $fcz]
}
Es wird angenommen, dass eine Textdatei outfile zum Schreiben geöffnet wurde. Die Ergebnisse werden formatiert in die Textdatei geschrieben.
Die Ausgaben sind projektabhängig und können zum Beispiel wie folgt aussehen:
Laneset : 'Lane Set_right'
Lane : 2
Positions : 70
Load types: VERTICAL CENTRIFUGAL
Position Station Lane-X Lane-Y Lane-Z Width Bend Axle width Load-X Load-Y Load-Z Element Fx-vert Fy-vert Fz-vert Fx-cfg Fy-cfg Fz-cfg
[m] [m] [m] [m] [m] 1/[m] [m] [m] [m] [m] [1] [1] [1] [1] [1] [1]
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 0.0000 0.0000 0.0588 0.8500 3.001 0.0000 0.000 0.0000 0.0588 0.8500 101 0.000 -1.000 0.000 -0.000 0.000 1.000
2 5.0005 5.0000 0.1357 0.8500 3.001 0.0000 0.000 5.0000 0.1357 0.8500 101 0.000 -1.000 0.000 -0.000 0.000 1.000
3 5.0007 5.0000 0.1357 0.8500 3.001 0.0000 0.000 5.0000 0.1357 0.8500 102 0.000 -1.000 0.000 -0.000 0.000 1.000
4 10.0011 10.0000 0.2127 0.8500 3.001 -0.0000 0.000 10.0000 0.2127 0.8500 102 0.000 -1.000 0.000 -0.000 0.000 1.000
5 10.0013 10.0000 0.2127 0.8500 3.001 -0.0000 0.000 10.0000 0.2127 0.8500 103 0.000 -1.000 0.000 -0.000 0.000 1.000
6 15.0017 15.0000 0.2896 0.8500 3.001 -0.0001 0.000 15.0000 0.2896 0.8500 103 0.000 -1.000 0.000 -0.000 0.000 1.000
7 15.0019 15.0000 0.2896 0.8500 3.001 -0.0001 0.000 15.0000 0.2896 0.8500 104 0.000 -1.000 0.000 -0.000 0.000 1.000
8 20.0014 19.9992 0.3629 0.8516 3.001 -0.0004 0.000 19.9992 0.3629 0.8516 104 0.000 -1.000 0.000 -0.001 0.000 1.000
9 20.0016 19.9992 0.3629 0.8516 3.001 -0.0004 0.000 19.9992 0.3629 0.8516 105 0.000 -1.000 0.000 -0.001 0.000 1.000
10 24.9995 24.9967 0.4363 0.8628 3.002 -0.0008 0.000 24.9967 0.4363 0.8628 105 0.000 -1.000 0.000 -0.004 0.000 1.000
11 24.9997 24.9967 0.4363 0.8628 3.002 -0.0008 0.000 24.9967 0.4363 0.8628 106 0.000 -1.000 0.000 -0.004 0.000 1.000
12 29.9959 29.9925 0.5096 0.8932 3.002 -0.0012 0.000 29.9925 0.5096 0.8932 106 0.000 -1.000 0.000 -0.009 0.000 1.000
13 29.9961 29.9925 0.5096 0.8932 3.002 -0.0012 0.000 29.9925 0.5096 0.8932 107 0.000 -1.000 0.000 -0.009 0.000 1.000
14 34.9907 34.9865 0.5830 0.9525 3.003 -0.0015 0.000 34.9865 0.5830 0.9525 107 0.000 -1.000 0.000 -0.016 0.000 1.000
15 34.9909 34.9865 0.5830 0.9525 3.003 -0.0015 0.000 34.9865 0.5830 0.9525 108 0.000 -1.000 0.000 -0.016 0.000 1.000
16 39.9839 39.9781 0.6554 1.0501 3.003 -0.0018 0.000 39.9781 0.6554 1.0501 108 0.000 -1.000 0.000 -0.024 0.000 1.000
17 39.9841 39.9781 0.6554 1.0501 3.003 -0.0018 0.000 39.9781 0.6554 1.0501 109 0.000 -1.000 0.000 -0.024 0.000 1.000
18 42.4798 42.4730 0.6877 1.1163 3.003 -0.0021 0.000 42.4730 0.6877 1.1163 109 0.000 -1.000 0.000 -0.029 0.000 1.000
19 42.4800 42.4730 0.6877 1.1163 3.003 -0.0021 0.000 42.4730 0.6877 1.1163 110 0.000 -1.000 0.000 -0.029 0.000 1.000
20 44.9753 44.9670 0.7166 1.1956 3.004 -0.0023 0.000 44.9670 0.7166 1.1956 110 0.000 -1.000 0.000 -0.035 0.000 0.999
.....
Ausgaben zu obiger Script.
