Indicator Tutorial (Solar Panels)

From Tygron Preview Support Wiki
Jump to navigation Jump to search

This tutorial guides you through the steps that are necessary to build your own simple Indicator using excel and TQL. In this example, an Indicator is build that calculates the amount of (different kinds of) houses with solar panels that are present in a neighbourhood.

Steps

How to create an 'Amount of Houses with Solar Panels' Indicator:
  1. Download the 'Dummy Indicator' from the Tygron Index. Use this as a starting point for your own indicator
  2. Check which (housing) Functions with solar panels are present in the Tygron Platform.
  3. Compose the right TQL query necessary tot determine the amount of housing functions with solar panels per neighbourhood
  4. Think of how you want to show the results in the tabel in the Indicator panel and fill in the html table according to this
  5. Add the Indicator to your project and test it.
  6. Optional: upgrade your Indicator. Add a column with the resources provided with the Solar Panels. Make an assumption for the resources per house with Solar Panels.


An example of an Indicator that was build following these steps can be found in the Tygron Index named 'Houses with Solar Panels'.

Also see

Tutorial: How to implement Indicators in the Tygron Platform