	[friendlyname]
HUNPaint | CKD Tatra T5C5K
BKV Tatra T5C5K csatlakozorud 2
BKV

[description]
T5C5K típusú budapesti csuklós közúti villamos

HUNPaint
2025. április 19. - június 08.
[end]

[type]
2


[number]
Regs_ICS_csuklo_2.org

[registration_automatic]




[model]
model\_HUNPaint_model_T5C5K_csatlakozo_1.cfg

[sound]
Sound\sound_csuklo.cfg

	[paths]
model\paths.cfg

	[passengercabin]
model\passengercabin.cfg

[rowdy_factor]
0
0

[fixed]

	////////////////////////////////////////////////////////
		AI parameters:
	////////////////////////////////////////////////////////

	Controls the AI brake behaviour: th

	[ai_brakeperformance]
	{mean AI brake deceleration, [m/s²] std: 1.0}
	{variation between rowdy factor 0 and 1, [0...1...] std: 0.2}
	{exploit of possible friction, [0...1], std: 0.3}
	{final brake setting, will be used shortly before and while holding, [0...1], std: 0.2}
	{holding point offset, will be used to correct unprecise braking, [m], std: 0}
	

[ai_brakeperformance]
1.3
0.0
0.8
1.0
-1.0

	////////////////////////////////////////////////////////
		Scripts
	////////////////////////////////////////////////////////

[stringvarnamelist]
4
script\terminus_stringvarlist.txt
script\Rollband_stringvarlist.txt
script\IBIS_stringvarlist.txt
script\Vmatrix_stringvarlist.txt

[varnamelist]
11
script\A3_varlist.txt
script\doors_varlist.txt
script\Steuerleitungen_varlist.txt
script\AI_varlist.txt
script\Rollband_varlist.txt
script\IBIS_varlist.txt
script\Vmatrix_varlist.txt
script\rain_varlist.txt
script\dirt_varlist.txt
script\wiper_varlist.txt
script\elec_varlist.txt

[script]
11
script\A3.osc
script\doors.osc
script\terminus.osc
script\Rollband.osc
script\ai.osc
script\IBIS-2.osc
script\VMatrix.osc
script\rain.osc
script\dirt.osc
script\wiper.osc
script\elec.osc

[constfile]
7
script\A3_constfile.txt
script\doors_constfile.txt
script\IBIS_constfile.txt
script\Vmatrix_constfile.txt
script\dirt_constfile.txt
script\wiper_constfile.txt
script\elec_constfile.txt



	////////////////////////////////////////////////////////
		Kupplungen
	////////////////////////////////////////////////////////

	[coupling_front] / [coupling_back]
	x
	y
	z

[coupling_front]
0
0.3
1

	[control_cabel] creates a new electric link between two coupled vehicles.
	{C,L,R} tells omsi, if the plug is on the left or right part of the coupling (the L's of vehicle A will be linked with the R's of vehicle B and the both C's will be linked together)
	{number} you should start with 0, 1, 2... and so on - please mind, that each R-0 will be linked with L-0 together, but C-0 with the other C-0. So you may start counting on every C-coupling independent of the L's and R's.
	{read variable ID} THIS variable will be used to get the new value which will be written...
	{write variable ID} ...into THIS variable.
	{coupling variable ID} the link will be broken if THIS variable isn't true (>0.5)

[control_cable_front]
L
0
CCR_Tueroeffnen_R
CCW_Tueroeffnen_R
E-Kupplung_Front

[control_cable_front]
R
0
CCR_Tueroeffnen_L
CCW_Tueroeffnen_L
E-Kupplung_Front

[control_cable_front]
L
1
CCR_THR_forward
CCW_THR_forward
E-Kupplung_Front

[control_cable_front]
R
1
CCR_THR_back
CCW_THR_back
E-Kupplung_Front


[control_cable_front]
C
0
CCR_Bremse
CCW_Bremse
E-Kupplung_Front


[control_cable_front]
C
1
CCR_Tuerschliessen
CCW_Tuerschliessen
E-Kupplung_Front

[control_cable_front]
C
2
CCR_750V
CCW_750V
E-Kupplung_Front




[coupling_back]
0
-0.3
1



[control_cable_back]
L
0
CCR_Tueroeffnen_L
CCW_Tueroeffnen_L
E-Kupplung_KK

[control_cable_back]
R
0
CCR_Tueroeffnen_R
CCW_Tueroeffnen_R
E-Kupplung_KK

[control_cable_back]
L
1
CCR_THR_forward
CCW_THR_forward
E-Kupplung_Front

[control_cable_back]
R
1
CCR_THR_back
CCW_THR_back
E-Kupplung_Front


[control_cable_back]
C
0
CCR_Bremse
CCW_Bremse
E-Kupplung_Front

[control_cable_back]
C
1
CCR_Tuerschliessen
CCW_Tuerschliessen
E-Kupplung_KK

[control_cable_back]
C
2
CCR_750V
CCW_750V
E-Kupplung_KK





	////////////////////////////////////////////////////////
		Std.mäßiges Ankuppeln von weiteren Fahrzeugen:
	////////////////////////////////////////////////////////

	[couple_front]/[couple_back]
	Fahrzeug-Datei
	reverse (true/false)

	////////////////////////////////////////////////////////
		Drehgestelle (Achsen)
	////////////////////////////////////////////////////////

	Falls Schienenfahrzeug, ist der Drehpunkt nicht mehr bei [rot_pnt_long],
	sondern wird über die zwei Positionen der Drehgestelle/Achsen y1 und -y1.

	[boogies]
	y1

[boogies]
0.1

	////////////////////////////////////////////////////////
		Sinusoidal run and car body oscillations:
	////////////////////////////////////////////////////////

	The first command defines the sinusoidal run of the railroad vehicle:
	[sinus]
	{wheel radius}		
	{span between wheels, std.: 1.5m}
	{wheel tapering}
	{damping}

[sinus]
0.425
1.5
0.025
0.01

	The second entry defines the oscillating behaviour of the car body:

	[rail_body_osc]
	{vertical moment arm between boogie pins and center of gravity of body}
	{rotational oscilation around Y axle, angular frequency}
	{rotational oscilation around Y axle, damping}
	{rotational oscilation around X axle, angular frequency}
	{rotational oscilation around X axle, damping}
	{translational oscilation along Z axle, angular frequency}
	{translational oscilation along Z axle, damping}

[rail_body_osc]
0.9
6
6
25
17
8
4


	////////////////////////////////////////////////////////
		Contact Shoes
	////////////////////////////////////////////////////////

	[contact_shoe] adds a new contact shoe:
	{boogie}	front (0) or rear (1) boogie?
	{x_min}		limits to get the 
	{x_max}
	{z_min}
	{z_max}
	{type}		+1 = for top contact rail, +2 = bottom contact, +4 = side contact
	

[contact_shoe]
0
1.06
1.18
0.17
0.19
1

[contact_shoe]
0
-1.18
-1.06
0.17
0.19
1

	////////////////////////////////////////////////////////
		Cameras
	////////////////////////////////////////////////////////



	0: Blick nach vorne (std)
[add_camera_driver]
0
0
2.2
-0.06
50
0
-15


	Folgender Befehl setzt die Standardfahrerkamera:

[set_camera_std]
0

	Folgender Befehl setzt den Zentrierpunkt der Außenkamera:

[set_camera_outside_center]
0
0
0.85







	////////////////////////////////////////////////////////
		Physikalische und geometrische Grunddaten
	////////////////////////////////////////////////////////


	Masse in t:
[mass]
1

[momentofintertia]
1760
54
1803




	Rollwiderstand (konstant, wird demnächst eventuell geändert) als Kraft in N
[rollwiderstand]
500

	Längskoordinate des Drehpunktes, wenn der Bus eine Kurve beschreibt:
[rot_pnt_long]
0

	Kehrwert des minimalen Lenkradiuses: (Berechenbar über die Formel: inv_turnradius = tan(alpha)/s,
	wobei alpha der maximale Winkel bspw. der Vorderachse und s deren Abstand zum Drehpunkt in Längsrichtung ist:

[inv_min_turnradius]
0.1904




	Folgende Sektion erzeugt nacheinander die Busachsen mit ihren Parametern. ACHTUNG: bei einem Fahrzeug mit
	unterschiedlich großen Rädern sollte zunächst die angetriebene Achse eingegeben werden, da die zuerst ein-
	gegebene Achse den Antriebsraddurchmesser vorgibt, d.h. das Getriebeübersetzungsverhältnis zur Ge-
	schwindigkeit ist in Bezug auf die 0. Achse gemessen.

	Vorderachse:



[newachse]
achse_long
4.735
achse_maxwidth
1.606
achse_minwidth
1.284
achse_raddurchmesser
0.503
achse_feder
5000
achse_maxforce
1000
achse_daempfer
5000
achse_antrieb
0


	Hinterachse:

[newachse]
achse_long
2.835
achse_maxwidth
1.606
achse_minwidth
1.284
achse_raddurchmesser
0.503
achse_feder
5000
achse_maxforce
1000
achse_daempfer
5000
achse_antrieb
1


[newachse]
achse_long
-2.835
achse_maxwidth
1.606
achse_minwidth
1.284
achse_raddurchmesser
0.503
achse_feder
5000
achse_maxforce
1000
achse_daempfer
5000
achse_antrieb
0


	Hinterachse:

[newachse]
achse_long
-4.735
achse_maxwidth
1.606
achse_minwidth
1.284
achse_raddurchmesser
0.503
achse_feder
5000
achse_maxforce
1000
achse_daempfer
5000
achse_antrieb
1


[couple_back]
HUNPaint_Tatra_T5C5K_C_tripla.bus
false