Input Parameters
Last updated
Last updated
In this section we will be able to specify design parameters (e.g. a fee percentage in the protocol) or hypotheses (e.g. the expected average usage per user and month for a service) for the simulation. These values do not depend on how the token economy evolves.
The reason to use the values in this table rather than using numerical values directly in the equations is that it:
Makes the equations more readable.
Is easier to change the value of a parameter in one place rather than in multiple equations where they might appear.
Allows you to easily change the value of a parameter in the simulation dashboard and see how it affects the simulation.
There are three types of parameters available:
Static Value: a fixed constant amount.
Time-dependent Variable: a time series value that changes as time advances in the simulation. You should define the value of the variable forecasted for different time periods in the simulation.
Selectors: a way for the final user of the dashboard to choose between different scenarios. For example, you could stress test under several scenarios of user growth using a selector.
From these parameters, the selector parameter might be the hardest to understand how to use, so let’s go with an example:
Imagine that we want to analyze three different scenarios of growth from the dashboard without entering the growth curves all the time. To do this, we can create a selector and specify the names of the scenarios we want to have.
The next step is to create the three different time-dependent scenarios with their corresponding curves.
To incorporate these in the simulation, we can introduce a variable in the “Simulation Equations” that has the following structure:
Now, once we introduce the selector parameter in the sidebar configuration section, the user will be able to access it.