Scenarios and the Server
Scenarios, the REST API server and the adapters that keep its state.
Keywords
agent-based modeling, system dynamics, bptk, bptk-py, python, business prototyping
Scenarios and the Server
One configured run of a model, and the server that runs them behind a REST API - with the adapters that keep its sessions outside the process.
| SimulationScenario | One configured run of a model |
| BptkServer | The REST API — endpoints, requests and responses |
| ExternalStateAdapter | The interface for keeping server state outside the process |
| State Adapters | The three that ship: file, Postgres and Redis |