Elvas Tower: Steam Locomotive Steam Effects - Elvas Tower

Jump to content

Posting Rules

All new threads will be started by members of the Open Rails team, Staff, and/or Admins. Existing threads started in other forums may get moved here when it makes sense to do so.

Once a thread is started any member may post replies to it.
  • 11 Pages +
  • « First
  • 8
  • 9
  • 10
  • 11
  • You cannot start a new topic
  • You cannot reply to this topic

Steam Locomotive Steam Effects Addition of DrainpipeFX Rate Topic: -----

#91 User is offline   Traindude 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 664
  • Joined: 17-November 13
  • Gender:Male
  • Location:Seattle, WA
  • Simulator:Open Rails
  • Country:

Posted 22 March 2023 - 07:33 AM

View Postdarwins, on 01 March 2023 - 09:19 AM, said:

Also at the moment OR only models the "pop" type of safety valve. If we are going to improve safety valves, I would like to see "spring" safety valves as an alternative. In the case of spring safety valves, no matter how many openings they all normally lift at the same pressure.


So with a "sprung" safety valve, the action is gradual rather than sudden--makes sense. So for the purposes of defining the action of the safeties, the code would be something like this:

Comment (** Example code for a sprung safety valve. **)

ORTSNumSafetyValves ( 2
    ORTSSafetyValve (
       ORTSSafetyValveType ( Sprung )
       ORTSSafetyValveTriggerPressure ( 200psi )
       ORTSSafetyValveMaxSteamUsage ( x lb/hr )
    )
     ORTSSafetyValve (
       ORTSSafetyValveType ( Sprung )
       ORTSSafetyValveTriggerPressure ( 200psi )
       ORTSSafetyValveMaxSteamUsage ( x lb/hr )
    )
)

Comment (** Example code for a pop safety valve. **)

ORTSNumSafetyValves ( 2
    ORTSSafetyValve (
       ORTSSafetyValveType ( Pop )
       ORTSSafetyValveTriggerPressure ( 200psi )
       ORTSSafetyValveMaxSteamUsage ( x lb/hr )
    )
     ORTSSafetyValve (
       ORTSSafetyValveType ( Pop )
       ORTSSafetyValveTriggerPressure ( 206psi )
       ORTSSafetyValveMaxSteamUsage ( x lb/hr )
    )
)


Also, in terms of the sounds associated with sprung safety valves, it would mean a new .sms variable trigger type would need to be defined...

#92 User is online   Jonatan 

  • Vice President
  • Group: Status: Elite Member
  • Posts: 2,662
  • Joined: 29-March 10
  • Gender:Male
  • Location:Somewhere.
  • Simulator:MSTS and Vehicle Simulator
  • Country:

Posted 22 March 2023 - 08:07 AM

If we're gonna define types of safety valve, I'd also throw in the weighted valve. It works like the sprung valve but as it's a weight it had the tendency to splutter as the loco moved because of vibrations jolting the weight around. An excellent example here.

As mentioned previously, another .sms entry would be required, at current I simulate it with a stream that plays a looping sound whenever the loco moves.



It may seem like a trivial feature, but the weighted valve was fairly common on locos built in the first half of the 19th century.

#93 User is offline   Traindude 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 664
  • Joined: 17-November 13
  • Gender:Male
  • Location:Seattle, WA
  • Simulator:Open Rails
  • Country:

Posted 22 March 2023 - 08:17 PM

View PostJonatan, on 22 March 2023 - 08:07 AM, said:

If we're gonna define types of safety valve, I'd also throw in the weighted valve. It works like the sprung valve but as it's a weight it had the tendency to splutter as the loco moved because of vibrations jolting the weight around. An excellent example here.

As mentioned previously, another .sms entry would be required, at current I simulate it with a stream that plays a looping sound whenever the loco moves.



It may seem like a trivial feature, but the weighted valve was fairly common on locos built in the first half of the 19th century.


I see. A weighted valve has gradual opening action, but is unstable when the engine is in motion. So in that case, the example code would be:
Comment ( *** Example code for a weighted safety valves. *** )
ORTSSafetyValves ( 2
   ORTSSafetyValve(
     ORTSSafetyValveType ( Weighted )
     ORTSSafetyValveTriggerPressure ( 200psi )
     ORTSSafetyValveMaximumSteamUsage ( x lb/hr )
   )
   ORTSSafetyValve(
     ORTSSafetyValveType ( Weighted )
     ORTSSafetyValveTriggerPressure ( 200psi )
     ORTSSafetyValveMaximumSteamUsage ( x lb/hr )
   )
)


So, I believe that covers all the possible types of safeties--Pop, Sprung and Weighted. I hope I'm not missing any!

#94 User is offline   darwins 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,249
  • Joined: 25-September 17
  • Gender:Male
  • Simulator:Open Rails
  • Country:

Posted 22 March 2023 - 10:14 PM

That looks good. Can we get someone to make it work?

#95 User is offline   Traindude 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 664
  • Joined: 17-November 13
  • Gender:Male
  • Location:Seattle, WA
  • Simulator:Open Rails
  • Country:

Posted 22 March 2023 - 11:26 PM

View Postdarwins, on 22 March 2023 - 10:14 PM, said:

That looks good. Can we get someone to make it work?


I wish I knew how to code...but I can't. Sorry.

#96 User is offline   Aldarion 

  • Engineer
  • PipPipPipPipPip
  • Group: ET Owner
  • Posts: 630
  • Joined: 11-February 13
  • Gender:Male
  • Location:Lisbon, Portugal
  • Simulator:Open Rails
  • Country:

Posted 23 March 2023 - 12:05 PM

we that do not code can help the "code-guys" by making speudo-code...
that is, using an informal language, describe how something works in what conditions, using normal syntax language in a way that helps the coder, by creating an outline or a rough draft.

#97 User is offline   Traindude 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 664
  • Joined: 17-November 13
  • Gender:Male
  • Location:Seattle, WA
  • Simulator:Open Rails
  • Country:

Posted 12 April 2023 - 02:27 PM

Revisiting the CylinderSteamExhaustFX emitters. Their puff timing is dependent on the ORTSWheelCrankAngleDifference parameter, but this is only relevant for conventional "rod engines."

In the case of geared locomotives, the CylinderSteamExhaustFX emitters should be tied to the rotation of the locomotive crankshaft instead of the wheels. And this is why:

Take for example, a Shay. The shay has a 3-cylinder steam engine connected to the crankshaft, and it stands to reason there would be 6 puffs per crankshaft rotation. However, given that the gear ratio between the crankshaft and the wheels on the trucks is anywhere from 4:1 to 6:1 (meaning it takes 4 to 6 rotations of the crankshaft to complete one rotation of the wheels), it stands to reason that there would be anywhere from 24 to 36 puffs per wheel rotation.

So in the case of geared locomotives the parameter should be ORTSCrankshaftCrankAngleDifference instead of ORTSWheelCrankAngleDifference. Who else agrees?

#98 User is offline   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 6,983
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 12 April 2023 - 06:36 PM

Great point.
That's obvious.

#99 User is offline   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 6,983
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 23 May 2023 - 09:01 AM

Hello.
With 1.5.1-411 testing version, the oddity with CylinderSteamExhaustFX have appeared:
Untill locomotive is stationary, it issues smoke (stack FX) as usual.
Just after beginning of movement, smoke disappears at all.
It doesn't recover after stop then.
Commenting-out CylinderSteamExhaustFX blocks does recover normal stack FX to working condition.

With previous testing (April 2023) during slow movement it could be seen puffs from stack, which were succeeded by normal stack FX, after speed's growth.

#100 User is online   steamer_ctn 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 1,889
  • Joined: 24-June 11
  • Gender:Male
  • Country:

Posted 28 May 2023 - 10:30 PM

View PostWeter, on 23 May 2023 - 09:01 AM, said:

With 1.5.1-411 testing version, the oddity with CylinderSteamExhaustFX have appeared:
Does this issue also appear in the latest Unstable version of OR?

  • 11 Pages +
  • « First
  • 8
  • 9
  • 10
  • 11
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users