Taking a Snapshot - MapleSim Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : MapleSim : Using MapleSim : Simulating a Model : Managing Simulation Results : Managing Simulation Snapshots : tasks/simulating/takingSnapshots

Taking a Snapshot

A snapshot records the state of all the variables of your simulation at a particular time. This state information can then be used to extract the initial conditions for future simulations. For example, suppose you want to run simulations from your model's steady state but you do not know what the steady state of your model is. You can run a simulation to find the steady state and then take a snapshot of the simulation at the steady state. This steady state snapshot can then be used as a starting point for future simulations.

To take a snapshot of your simulation

1. 

Run the simulation.

2. 

Click Show Simulation Results ( ) to display the Analysis window with the Simulation Results tab selected. The simulation results are saved as Latest Results in the Stored Results palette.

3. 

Right-click on Latest Results and select Save As.  Provide a name for the simulation result, for example, Result1.

4. 

Return to the main MapleSim window.  In the Simulation Settings tab ( ), under Advanced Simulation, find the Use Snapshot section.

5. 

Click the Create Snapshot icon ( ).

6. 

Select the simulation result you want to create a snapshot from in the Stored Results section.

7. 

Provide a name for the snapshot.

8. 

Type the time at which you want to take the snapshot at into the Snapshot time field. You can enter any time between the start time (ts) and the end time (ts + td) for your simulation. The simulation initial conditions for the snapshot time are saved.

The simulation uses the initial conditions of the snapshot the next time you run the simulation.

Notes:

• 

By default, the snapshot you created is used the next time you run the simulation.  To change this, select another snapshot or None from the Use Snapshot list.

• 

The simulation start time (ts) and duration (td) remain the same.

• 

Snapshots cannot be associated with Latest Results.  If you try to create a new snapshot from the Latest Results entry, this result will be saved under the name Result_1, and the new snapshot will be saved there.

See Also

Adding a Snapshot

Advanced Simulation Settings

Deleting a Snapshot

Exporting a Snapshot

Simulation Settings

The Simulation Results Tab

Using a Snapshot in a Simulation

Viewing Snapshots

Viewing Stored Simulation Results