close_model
Unload the currently loaded model and reset the workspace, discarding pending state to start fresh without shutting down the JVM.
Instructions
Unload the currently loaded model and reset the workspace.
Useful when you want to discard pending state (mid-run agents, set parameters, pending plots) and start fresh, or before opening a new model file from disk to make sure cached compilation state isn't carried forward.
Note: this does NOT shut down the JVM or NetLogo workspace — only the
model. The next open_model / create_model call will reuse the same
JVM (no 30-60s warmup).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |