Elvas Tower: What is "simulation tester"? - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

What is "simulation tester"? Rate Topic: -----

#1 User is offline   Weter 

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

Posted 01 May 2022 - 05:24 AM

Evaluating changes since last testing version, I came across "Initial implementation of Simulation Tester", or so.
Searching of Manual and Forum didn't provide any information. So, what should we know about it?

#2 User is online   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,491
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 07 May 2022 - 06:02 AM

View PostWeter, on 01 May 2022 - 05:24 AM, said:

Evaluating changes since last testing version, I came across "Initial implementation of Simulation Tester", or so.
Searching of Manual and Forum didn't provide any information. So, what should we know about it?

The Simulator Tester is a simple command-line tool which loads a save + replay file, runs the replay (without any graphics), and validates that the simulation finished in the same place as the save file

This is a regression-testing tool which I built for the TrainCar refactoring, so that I can ensure no changes to the physics have slipped in :)

As it's a contributed tool, it's semi-unofficial and not expected to be part of the documentation, but if people like it we can make it fully official and documented

#3 User is offline   Weter 

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

Posted 07 May 2022 - 06:52 AM

Thank You for reply.
It seems very useful.
If it could run replay, using dispatcher (timetable, made by Chris Jakeman) window for visualization - that could be more handy for more wide variety of purposes.

#4 User is offline   joe_star 

  • Fireman
  • Group: Status: Active Member
  • Posts: 209
  • Joined: 16-January 13
  • Gender:Male
  • Simulator:MSTS
  • Country:

Posted 09 May 2022 - 08:42 AM

View PostWeter, on 07 May 2022 - 06:52 AM, said:

Thank You for reply.
It seems very useful.
If it could run replay, using dispatcher (timetable, made by Chris Jakeman) window for visualization - that could be more handy for more wide variety of purposes.

That sounds something like the "playback" mode that was available in MSTS AE.

Currently I test complex activities by starting the simulation, running it at higher speed, and monitoring the dispatcher window at a zoomed out level, ensuring meets etc take place as planned, and no deadlocks take place, etc.

It takes a while to load the entire activity, and not to mention extra computation power of the full sim running in background.

#5 User is offline   Weter 

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

Posted 09 May 2022 - 09:04 AM

Oh, yes, that had an option "compute simulation state" till defined time.
Yes, but when running an activity, you ought to drive player's train full manually, or, at least to jump into some other "static" train, in addition to load full graphics, as it was said.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

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