reset_simulation_object

Reset all simulation memory of the P2Simulation object that is linked to a P2Schedule object.

This function clears all the memory that was used during a simulation run using the P2Simulator:run_simulation function and makes the object again ready for use. An alternative to this method is to delete the simulation object and create a new one using the P2Simulator:new function.

Parameters: 
I/O Type Name Description
input schedule baseline the baseline P2Schedule object
Example: 
function ()
        io.write('\n')
end
Class: 
P2Simulator