fredag 16 december 2016

Streetsim - simulation of the movements

This blog is intended for discussion of the murder of the Swedish Prime Minister Olof Palme February 28 1986, especially of what was happening that night in Stockholm. A lot of information is available from police interrogation protocols on the blog Lennart Remstams blog and from a governmental investigation SOU 1999:88 (I), SOU 1999:88 (II) and SOU 1999:88 (III). There is also a lot of information on the site Flashback

My intension is that this information should be used to simulate the movements around Olof Palme that evening with help of my program Streetsim, that is available for Windows.




Download from this link.


When starting Streetsim a satellite picture of Sveavägen is showed and a simulation code in the file simfile.txt is automatically translated and loaded. The file include instructions as below.



StreetSim tutorial


To let a person mrX move on the map from one position to another, starting at a certain time and moving with a certain velocity, write the instructions below in the file simfile.txt (which should be cleared before):

time 23:05 blue person mrX

100 200 begin-path
250 200 5 km/h
end-path

When running StreetSim with this simfile a blue label with the white text 'mrX' will move horizontally from a position 100 pixels from the left margin of the map to a position 250 pixels from the margin. To let mrX turn around a corner at the position 250 200 and walk upwards to a position 250 150, extend the instruction:

time 23:05 blue person mrX
100 200 begin-path
250 200 5 km/h
250 150 5 km/h
end-path

This way mrX could be instructed to move along any polygon (path of piecewise straight lines). To make him stop for a while and then go back to 250 200, write:

time 23:05 blue person mrX
100 200 begin-path
250 200 5 km/h
250 150 5 km/h
wait 10 seconds
250 200 5 km/h
end-path

To let missY walk simultaneously, add to the simfile the instructions:

time 23:10 rose person missY

250 20 begin-path
250 200 7 km/h
end-path

It doesn't matter if the instructions of mrX or missY comes first. The only difference is that the first persons label will accure under the the other persons label if they somewhere coincides.

One can also use dm/s instead of km/h for velocities, minutes instead of seconds for pauses and car instead of person.

To place a fixed label on the map at the position 250 200, write:

250 200 green label meeting

There can be no spaces in the names of labels, persons or cars.

The simfile should begin with the labels, if any, followed by the paths of persons and cars, in any order. There must be one or more spaces or carriages returns (CR) between different entries.

The available colors are: black, gray, red, brown, orange, yellow, green, cyan, blue, violet, 
rose, purple and lilac.

To get the coordinates/positions, read the position of the pointing device arrow on the map by pressing 'c' while the program is running.

1 kommentar:

  1. QUANTUM BINARY SIGNALS

    Professional trading signals sent to your mobile phone every day.

    Follow our signals NOW and profit up to 270% per day.

    SvaraRadera