> For the complete documentation index, see [llms.txt](https://cenit-finance-1.gitbook.io/generic-simulation-tool-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cenit-finance-1.gitbook.io/generic-simulation-tool-docs/advanced-editor/introduction.md).

# Introduction

Cenit simulations model a token economy over time. This is done by dividing a time period in timesteps, and solving a system of equations at each of these timesteps. The solution to this system of equations depends on the values of certain parameters, which in turn depend on the results from the previous timestep, as well as user inputs. The system is solved sequentially until the specified time limit for the simulation, often spanning multiple years of simulated time.

In order to model a token economy, the system of equations represents the exchange of tokens between the different actors (agents) that participate in that economy. The resulting token exchanges and other state changes stemming from the result of the system of equations at each timestep in turn transform the state of the simulation for the next timestep, and with that the actions that the agents will make on this new timestep.&#x20;

In order to facilitate the modeling of token economies, equations relating to the evolution of token prices and market liquidity are included by default in all simulations, as well as variables storing that state, such as the token price, market liquidity, and tokens owned by each agent. However, through the Advanced editor you as an user can add further equations and variables to extend your model to any token mechanics you might be interested in.

In the following sections we will cover how to configure the simulation to adapt it to your needs and implement new token mechanics. We assume that you are familiar with the use of the Basic editor. If not, please check the documentation for that [here](/generic-simulation-tool-docs/basic-editor/set-up-your-token-economy.md).&#x20;

There are two ways to start working on a simulation with the advanced editor:

1. [**Converting from the Basic editor**](/generic-simulation-tool-docs/advanced-editor/introduction/converting-from-the-basic-editor.md)**:** create a simulation using the Basic editor mode, and then convert it to the advanced mode.
2. [**Creating from scratch with the Advanced editor**](/generic-simulation-tool-docs/advanced-editor/introduction/creating-from-scratch-with-the-advanced-editor.md)**:** Due to the significant effort required to create a simulation from scratch, we do not recommend this path unless it is a very unique configuration that has no similarities with anything achievable through the basic editor.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cenit-finance-1.gitbook.io/generic-simulation-tool-docs/advanced-editor/introduction.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
