Simul¶
-
class
pylayers.simul.simulnet.
Simul
[source]¶ Bases:
object
config : config parser instance sim_opt : dictionary of configuration option for simulation ag_opt : dictionary of configuration option for agent lay_opt : dictionary of configuration option for layout meca_opt : dictionary of configuration option for mecanic net_opt : dictionary of configuration option for network loc_opt : dictionary of configuration option for localization save_opt : dictionary of configuration option for save sql_opt : dictionary of configuration option for sql
- self.lAglist of Agent(Object)
list of agents involved in simulation
- self.LLayout
Layout used in simulation
All the previous dictionnary are obtained from the chosen simulnet.ini file in the project directory
Methods Summary
create
()create the simulation This method is called at the end of __init__
create electromagnetic Solver object
create simulation’s Agents
create Layout in Simpy the_world thanks to Tk backend
create the whole network
create a vizualization
create visual Tk process
runsimul
()run simulation
save mechanics in pandas hdf5 format
Methods Documentation