Generic Simulation Tool Docs
  • 👋Welcome to the Cenit tokenomics simulation platform
  • âœī¸Basic Editor
    • âš™ī¸Set up your Token Economy
    • 🔍Analyze and improve your Token Economy
  • 📊Advanced Editor
    • Introduction
      • Converting from the Basic editor
      • Creating from scratch with the Advanced editor
    • Advanced editor workflow
      • Allocation and Vesting
      • Agents and Token Flows
      • Input Parameters
      • Simulation Equations
      • Metrics
      • Sidebar Configuration
      • Results Graphs Configuration
    • How to adjust parameters in the simulation
    • How to add new token mechanics
  • OTHERS
    • Stuff to be aware of
      • Timestep length
      • Staker behavior
      • Market Liquidity
      • Token price
    • â„šī¸Formulae
Powered by GitBook
On this page
  1. Advanced Editor
  2. Advanced editor workflow

Metrics

This section allows you to define additional values that do not influence the simulation but are useful for reporting purposes. These values are calculated at each timestep and can be used to generate graphs in the dashboard.

You can define metrics using the same formula syntax as in the "Simulation Equations" section. Additionally, you can use the following special methods to aggregate variables:

  • groupby: can group variables in periods of time through the following syntax: {variable_reference}.groupby({period}, {aggregation}). For example: VA_profits.groupby(week, sum) to get the weekly profits.

  • cumsum: to get the cumulative sum of a variable throughout the simulation, timestep to timestep. The syntax is {variable_reference}.cumsum().

PreviousSimulation EquationsNextSidebar Configuration

Last updated 9 months ago

📊