# Timestep length

The simulation calculates the state of the tokenomics sequentially, stepping through time. In general, lower timesteps lead to higher precision but also higher simulation times. In practice, this value usually ranges from a few hours to a few days, with 1 day as the default value.

The end-user of the dashboard can change the time step value. Therefore, the equations must adapt to different possible time step values.

For instance, imagine that we are calculating the amount of fees generated by a value proposition during the current timestep, which we might need to define a token flow. Intuitively, if the timestep was 2 days instead of 1 day, this amount of fees should be (roughly) doubled, since the protocol has had double the time to generate fees.

In practice, this means that in equations where we need to calculate absolute quantities (e.g. a total amount of fees generated during this timestep) from relative quantities (e.g. fees generated per month), we need to multiply the relative quantity by the time step value, in the correct units. This is done in the equations by referencing the *timestep* variable, which by default is in seconds. In order to normalize the units we can add, in this case, *timestep.months*, to use it directly in months. If the timestep for the simulation is 1 day, *timestep.months* will be substituted by the value 0.033333… (that is, 1/30), applying the desired unit conversion.

<br>


---

# Agent Instructions: 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:

```
GET https://cenit-finance-1.gitbook.io/generic-simulation-tool-docs/others/stuff-to-be-aware-of/timestep-length.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
