GoshaDo / FireSimulation

A simulation of fire station using monte-carlo to determine burst length needed to hit target one in dffrent ranges

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Accuracy of weapon stand

A simulation of fire stand using monte-carlo to determine burst length needed to hit target one time in dffrent ranges by vizulize results of simulation. This simulation written in OOP using python for farther reserech

Method

Using a statistical model and mote-carlo simulation given 2 types of error as shown in image added. Each error have bi-normal distribution, error massured in Circular Error Probable [mili-radians] (CER)

alt text

Algorithm

Object based model, for each distance preformining a batch of diffrent experiments. For each burst length in experiment calculating N times common error coordinates (x1,y1). For each burst(x1,y1), simulates by ‘monte carlo’ fire of the bullets (x2,y2) coordinates.

Class diagram

Resualts

First impression of all simulations resulats

this plot shows brust length needed to hit target once for each distance. we can guess that to hit more in avarage we need longer burst if longer distances.

this plot shows us dependcie of hits in avarage to the distance fired from.

this plot shows as minimum brust length needed to hit target once from diffrent distances.

About

A simulation of fire station using monte-carlo to determine burst length needed to hit target one in dffrent ranges

License:MIT License


Languages

Language:Python 100.0%