Trying to fix starting friction myself Any advice is appreciated here
#51
Posted 10 February 2020 - 08:06 AM
Testing version from January 31, but I can´t find the OpenRailsLog.txt file, only one for my other stable version. Do you think I have to delete all other ORTS installments due to overlapping?
#52
Posted 10 February 2020 - 09:57 AM
I don't think so - but there is a setting to generate log files - I believe it should just dump to you desktop - are you sure it's on in the testing version ?
Regards,
Scott
#53
Posted 10 February 2020 - 11:04 AM
#54
Posted 10 February 2020 - 01:29 PM
#55
Posted 23 December 2020 - 08:19 AM
When I developed the extended starting friction parameters I planned on doing this for dynamic weight settings as well, as vehicles modified in this manner already have different values for the Davis lines in empty and full condition but this part still only works in conjuction with ORTSBearingType.
I just downloaded the newest code for the unstable version and... WOW, it looks quite different like when I muddled it up in a private version; some things are missing though it still works as intended, so good job folks...
As my marginal coding experience has seemingly come and gone it may be very complicated getting back into this.
#56
Posted 23 December 2020 - 12:05 PM
For whatever reason there are at least two files concerning freight animation;
-MSTSWagon.cs
-FreightAnimations.cs
For now I foolishly modified the latter with no results.
#57
Posted 24 December 2020 - 02:19 AM
Now I also modified MSTSWagon.cs with everything I know so far, but still nothing changed. Can someone have a look at this please?
#58
Posted 03 January 2021 - 01:02 AM
IsDavisFriction IsORTSFriction
Originally when the former was 'true' ORTS uses the Davis lines and ORTSBearingType and if it´s 'false' then ORTS reverts back to the older MSTS friction settings calculateable with FCalC.
In order to introduce the new lines I basiclly copied the Davis part and replaced the entry for bearing type (three rather rigid calculations) with said replacement lines. But when this code amendment was introduced to the official ORTS code the variable 'IsORTSFriction = true' and anything written there was stuffed into 'IsDavisFriction = true'... It still works as intended, no problem there, but it now makes it quite impossible for me to make similar changes to varying weight fricion settings.
Obviously I would try to copy anything about this as well though I can´t remember well how I made things back then. Coding experience comes and goes if not steadily used... But is that really the right way if at all?
#59
Posted 10 January 2021 - 02:00 AM
ORTSBearingType ( Low ) ORTSStandstillFriction ( 1865.9235 ) ORTSMergeSpeed ( 0.237926 ) include ( "..\\Common.inc\\Westinghouse_26L.inc" ) comment ( 221.25 & 98.7 us tons / 8 axles / 13.05 square meters ) ORTSFreightAnims ( WagonEmptyWeight( 98.7t-us ) EmptyMaxBrakeForce ( 98.7kN ) EmptyMaxHandbrakeForce ( 50kN ) EmptyORTSDavis_A ( 1317.118416 ) EmptyORTSDavis_B ( 13.037056 ) EmptyORTSDavis_C ( 1.56326 ) EmptyORTSStandstillFriction ( 1865.9235 ) EmptyORTSMergeSpeed ( 0.237926 ) EmptyCentreOfGravity_Y ( 1.4 ) FreightAnimContinuous ( FreightWeightWhenFull( 122.55t-us ) FullMaxBrakeForce ( 221.25kN ) FullMaxHandbrakeForce ( 50kN ) FullORTSDavis_A ( 2952.507087 ) FullORTSDavis_B ( 29.224404 ) FullORTSDavis_C ( 1.56326 ) FullORTSStandstillFriction ( 4182.73125 ) FullORTSMergeSpeed ( 0.291127 ) FullCentreOfGravity_Y ( 1.8 ) ) )
With this setting ORTSBearingType ( Low ) is not used because ORTSStandstillFriction & ORTSMergeSpeed are present/activated, which now means their values are always valid, not depending upon tender weight. Said lines further down still won´t work but I´m stuck with no ideas left.
#60
Posted 19 January 2021 - 02:08 AM
I´ve copied the two lines to any place where the Davis lines are already present and in force, but there is still no response.
#61
Posted 19 January 2021 - 07:33 PM
NickonWheels, on 19 January 2021 - 02:08 AM, said:
I´ve copied the two lines to any place where the Davis lines are already present and in force, but there is still no response.
NickonWheels i'm new on this topic but i'm having problems in a route that i'm developing. As an ex-railroad worker, with many hours in this route, I'm sure that the OR starting resistance are wrong. By now i setted the route grade using the real life railroad project, adjusted the ORTSMaxTractiveForceCurve to the manufacturer curve, setted the ORTS Davis coefficients for locomotives and cars. To start move a train i'm using 2 or 3 notchs more than the real life. How can I test your version?
#62
Posted 20 January 2021 - 06:49 AM
Now to include steam locomotive tenders a lot of other changes had to be done, but I can´t find any section where I made mistakes.
#63
Posted 20 January 2021 - 08:20 AM
NickonWheels, on 20 January 2021 - 06:49 AM, said:
Now to include steam locomotive tenders a lot of other changes had to be done, but I can´t find any section where I made mistakes.
Fantastic! It realy makes my train behaves like real now. How can I adjust the values for ORTSTandstillFriction? there are any excel chart or a formula to calculate?
#64
Posted 20 January 2021 - 09:49 AM
For example
ORTSDavis_A ( 2468.762988 ) ORTSDavis_B ( 22.740469 ) ORTSDavis_C ( 1.509354 ) ORTSStandstillFriction ( 3497.425 ) ORTSMergeSpeed ( 0.299151 )