We are releasing a long-awaited feature today, especially by our power users. CityCompass™ now incorporates a Python console that allows interacting with all its components, from configuring simulation parameters and adding hooks to modify agent behavior to examining and processing scenario results using the wide set of data science tools available in the Python ecosystem.
Many desktop applications like QGIS and Blender have proven the effectiveness of Python scripting to supercharge their functionality. Being a cloud-based platform, adding this feature in CityCompass™ required solving some technological challenges, such as being able to compile a Python interpreter to run on the web.
Have a look at this short example where we execute four simulation runs, with varying macroeconomic conditions, and then we use Altair + Vega to generate a dotplot in order to understand sensitivity in real estate transaction prices for each hypothesis.