About the Project
Overview of the ReGenWest Environmental Monitoring System
ReGenWest EMS
Environmental Monitoring System for Nature-Based Solutions & Carbon Neutrality
Supporting Thessaloniki's transition to climate neutrality by 2030
What is ReGenWest EMS?
The ReGenWest Environmental Monitoring System is conceived as an integrated digital platform that enables systematic monitoring, analysis, and visualisation of environmental, energy, and climate-adaptation impacts at the neighbourhood scale. It serves the ReGenWest Master Plan for the Railway Station district of West Thessaloniki.
The platform integrates municipal datasets, open-source geospatial and satellite data, and citizen-generated inputs to provide a comprehensive picture of Nature-Based Solutions (NBS) performance. A Key Performance Indicator (KPI) framework aligned to Net-Zero Cities KPIs covers CO2 reduction, urban greening, renewable energy generation, material performance, urban heat mitigation, and citizen participation. (IoT sensor inputs are scoped for a future phase.)
Through role-based access, transparent analytics dashboards, and participatory action submission, the EMS supports evidence-based decision-making, transparency, and community engagement for climate-neutral urban regeneration.
Key Features
Core capabilities of the platform
Interactive Map
Leaflet-based map with 3-tab navigation for browsing categories, areas, and individual actions with filter controls.
13 Project Categories
P1 through P13 covering greening, tree planting, solar PV, sustainable buildings, permeable pavements, and more.
11 Intervention Areas
A1 through A11 representing distinct urban zones from school yards and parks to railway corridors and building rooftops.
Action Submission
4-step wizard for citizens and managers to register environmental interventions with automatic CO2 impact estimation.
Analytics Dashboard
Chart.js-powered dashboards tracking CO2 reduction, vegetation growth, energy savings, and community participation over time.
Data Export
Export action data as CSV, GeoJSON for GIS tools, or formatted PDF reports for stakeholder presentations.
Interactive Map
Leaflet-powered map with area boundaries and action markers
The interactive map is the central interface of the ReGenWest EMS. Built on Leaflet.js with OpenStreetMap tiles, it provides three distinct navigation tabs for exploring the data.
Browse all 13 project categories (P1-P13) in a scrollable sidebar list. Each category card displays its colour indicator, name, and action count. Clicking a category reveals its detail card with description, applicable areas, and a list of associated actions shown as markers on the map.
Browse all 11 intervention areas (A1-A11) with their geographic boundaries drawn as polygons on the map. Selecting an area highlights its boundary, opens its detail card showing the area name, implementing actors, and compatible project categories. Actions within that area are displayed as markers.
View individual action markers on the map. Each marker uses the category colour as a teardrop pin. Clicking a marker opens the action detail flyout with hero image, metadata grid, CO2 impact score, and photo gallery. Use the filter dropdowns at the top to narrow actions by category, area, or actor.
Filter Controls
Public front page & deep links
The platform's public home page (front-page.php, styled in landing.css) is a navy-hero landing page that funnels visitors into the app. It shows a card for every category and every area (each area with a mini-map of its polygons), plus statistics and Agentic / MCP sections. Every card is a deep link into the app's hash router, so the same links are shareable:
| Link | Opens |
|---|---|
/app/#category=<slug> | The Categories tab with that category's detail open (for example #category=p2-tree-planting) |
/app/#area=<code> | The Areas tab focused on that area (for example #area=A1) |
/app/#tab=statistics | The Statistics view (also #tab=areas) |
/app/#action=<id> | A single action's detail flyout |
Categories
Project categories P1 through P13 and their purpose
The ReGenWest EMS classifies all environmental interventions into 13 project categories. Each category targets a specific type of Nature-Based Solution or climate-neutral intervention.
Restoration of underutilized urban spaces into multifunctional green areas through tree planting, vegetation enhancement and permeable landscaping to improve environmental quality and urban resilience.
Impact type: Low vegetation m² → Indicators 42 and C2 · tree count → Indicators 11, 43 and C2
Applicable areas: A1 A7 A10
Planting new urban trees and improving existing planting conditions to expand tree canopy, provide shade and strengthen the urban green network.
Impact type: Trees → Indicators 11 (CO₂), 43 (canopy), C2 (zone PHIA)
Applicable areas: A4 A6 A7 A9 A10 A11
Energy retrofit of existing buildings through renewable energy systems and energy-efficient technologies to reduce operational emissions and move towards net-zero performance.
Impact type: Installs PV → Indicator C1 (and via C1, indicators 10 & 7)
Applicable areas: A7
Creation of rain gardens and water retention areas that naturally capture, filter and infiltrate stormwater while enhancing urban green infrastructure.
Impact type: NBS area → Indicator 42 (m²/resident) and the zone's C2 cover
Applicable areas: A2 A3 A4 A5 A11
Installation of vegetated walls and green fences on existing vertical surfaces to increase urban greenery and improve environmental performance.
Impact type: NBS area → Indicator 42 (m²/resident) and the zone's C2 cover
Applicable areas: A3 A6
Development of educational botanical gardens showcasing native vegetation while supporting biodiversity, environmental education and public recreation.
Impact type: NBS area → Indicator 42 (m²/resident) and the zone's C2 cover
Applicable areas: A3 A10
Establishment of native vegetation and urban meadows to strengthen ecological connectivity and create resilient low-maintenance green infrastructure.
Impact type: NBS area → Indicator 42 (m²/resident) and the zone's C2 cover
Applicable areas: A5
Integration of trees on building façades and balconies to increase urban greenery without requiring additional land.
Impact type: Trees → Indicators 11 (CO₂), 43 (canopy), C2 (zone PHIA)
Applicable areas: A8
Installation of photovoltaic canopies over parking areas and open spaces to generate renewable electricity while providing shade and thermal comfort.
Impact type: PV → Indicator C1 (and via C1, indicators 10 & 7)
Applicable areas: A1 A4 A6 A8 A11
Installation of rooftop photovoltaic systems to maximize local renewable energy generation and support the transition towards climate-neutral neighbourhoods.
Impact type: PV → Indicator C1 (and via C1, indicators 10 & 7)
Applicable areas: A2 A3 A8 A10
Deployment of a smart energy management system to optimize renewable energy production, storage and consumption through real-time monitoring and control.
Impact type: No indicator: description only
Applicable areas: A10
Replacement of conventional pavements with permeable materials to improve stormwater infiltration, reduce runoff and mitigate urban heat.
Impact type: Permeable area → Indicator 42 (m²/resident) and the zone's C2 cover
Applicable areas: A1 A3 A6 A9 A10 A11
Application of high-reflectance materials on roofs and building surfaces to reduce heat absorption, improve thermal comfort and lower cooling energy demand.
Impact type: Cool-materials area → Indicator C2 only, not counted as improved land use
Applicable areas: A4 A8 A9
Category Detail View (in the app)
In the app's Categories tab, clicking a category card opens its detail panel and filters the map to that category's actions. The panel contains:
- Three stat boxes: Actions (number of actions in the category), Areas (number of distinct intervention areas that actually have an action in this category, not the count of allowed areas), and a category-specific third box (see table below).
- Description: the category's descriptive text, editable as the taxonomy term description on the project-category screens in WP Admin.
- Health & Environmental Impact: five CEO-authored bullet points specific to the category.
- Areas overlay. Opening a category draws the boundary polygons of the areas that actually have an action in it, and it resets the manual "areas overlay" map toggle so the category's own overlay is what shows.
- Actions in this category: a list of the category's actions; selecting one opens its action detail. When opened this way the action card carries a "Back to all actions" pill that returns to the category view.
| Categories | Third stat box |
|---|---|
| P1 P4 P5 P6 P7 P12 | NBS Area |
| P13 | Cool Materials Area (m²) |
| P2 | GHG Emissions Avoided (t CO₂e/year) |
| P3 | GHG Emissions Avoided (t CO₂e/year): PV grid-avoided (C1) + energy-reduction GHG |
| P8 | CO₂ Sequestration (t CO₂e/year) |
| P9 P10 | Clean Energy/yr (MWh) |
| P11 | No third box |
Areas
The 11 intervention areas (A1 -- A11) in Thessaloniki West
The Railway Station district is divided into 11 intervention areas, each representing a distinct urban land-use type. Each area has designated implementing actors and is compatible with specific project categories.
| Code | Area Name | Implementing Actors | Project Categories |
|---|---|---|---|
| A1 | Empty Spaces / Vacant Lots | Plot owners, Municipality | P1 P2 P9 P12 |
| A2 | Primary / Secondary Education Schools | Education authorities | P3 P4 P10 |
| A3 | Faculty of Veterinary Medicine | Aristotle University | P4 P5 P6 P10 P12 |
| A4 | Urban Squares | Municipality | P2 P4 P9 P13 |
| A5 | Small Size & Activity Parks | Municipality | P4 P7 |
| A6 | Uncovered Spaces Around Social Housing | Municipality, Plot owners | P2 P5 P9 P12 |
| A7 | Sidewalk Trees | Municipality | P1 P2 P3 |
| A8 | Building Roofs | Building & Plot Owners | P8 P9 P10 P13 |
| A9 | Unbuilt Internal Courtyards | Plot owners | P2 P12 P13 |
| A10 | OSE (Train) Station | OSE (Hellenic Railways) | P1 P2 P6 P10 P11 P12 |
| A11 | Churches with Courtyards | Churches | P2 P4 P9 P12 |
Area Detail View (in the app)
In the app's Areas tab, selecting an area highlights its boundary on the map and opens its detail panel with four stat boxes:
- Intervention Sites: the real number of actions placed in the area.
- Total Area (m²) is the authoritative size of the area, the sum of its boundary polygons (spherical WGS84), with interior-ring holes still subtracted for any area that uses them. Following the CEO polygon update, A6 is now 5 explicit uncovered-space polygons (35,026 m²) and A1 is 11 polygons (29,881 m²).
- GHG Emissions Avoided (t CO₂e/year) is summed across the area's actions: PV grid-avoided (C1), P3 energy-reduction GHG, and the CO₂ sequestered by the area's planted trees.
- NBS Areas (m²): sum of nature-based-solution area across the area's actions.
A7 (Sidewalk Trees) has no boundary polygon, so both its list card and its detail's second box show Number of Planted Trees instead of Total Area, and hovering one of its street-tree points on the map highlights the A7 card. Below the boxes, Actions in this area lists the area's actions, and an on-map "Back to all areas" control returns to the full area overview.
How A7 renders (owner decision, round 7). The map draws exactly one tree layer: the light-green point cloud of the 1,722 surveyed existing trees, on a shared canvas renderer with an enlarged hover tolerance. Trees added by an intervention are not drawn one dot per tree anywhere in the app; the earlier dark-green "newly planted" dots were removed from every tab. An A7 planting shows as its own action location marker, like any other action, so the map never exposes an action's individual tree count as a cluster of dots.
Authoritative area sizes (m²): A1 29,881 · A2 34,721 · A3 29,448 · A4 5,584 · A5 17,862 · A6 35,026 · A7 9,000 (tree-point layer) · A8 195,005 · A9 51,113 · A10 87,026 · A11 4,432.
Actions
Submitted environmental actions and their lifecycle
An action represents a single environmental intervention submitted by a citizen or registered by an actions manager. Each action is tied to a project category (P1-P13) and placed within a specific intervention area (A1-A11).
Map Markers
Actions appear on the map as coloured teardrop markers. The marker colour corresponds to the action's project category, making it easy to visually distinguish between greening, solar, cooling, and other intervention types at a glance. Selecting a marker pans to it at the current zoom (the zoom never changes on any tab), and closing the detail restores the full set of markers.
Action Detail Flyout
Clicking a marker opens the action detail flyout panel, which displays:
- Hero image (first uploaded photo)
- Metadata grid: category, area, actor, dates, cost
- CO2 impact score with formula breakdown
- Photo gallery (up to 5 images)
- Description and location details
Status Lifecycle
Every action uses the native WordPress post status system. Citizen-submitted actions go through a three-state lifecycle:
Actions submitted by citizens enter the Pending Review state (WordPress "Pending" status). An Actions Manager reviews and either publishes the action (making it visible on the public map) or rejects it. Status is managed via the standard WordPress Publish meta box -- no separate status dropdown is needed.
Single Action Pages
Dedicated WordPress post pages for individual actions
Each action has its own dedicated WordPress page at /action/{slug}/. These pages use Flatsome's 3-column layout with a Table of Contents sidebar, main content area, and optional right sidebar.
Page Structure
The content area is organized into H2 sections that the TOC plugin auto-detects:
| Section | Content |
|---|---|
| Overview | KPI stat cards (CO2, Heat Island, Energy) with colour-coded values |
| Details | Full metadata table: Category, Area, Actor, Status, Dates, Cost, Coordinates |
| Location | Interactive Leaflet map showing only this action's marker |
| Description | Post content from the WordPress editor |
| Impact Metrics | Input metrics table (trees, green area, PV area, energy data) depending on category |
| Photos | Gallery grid from uploaded action images |
| View on Map | Call-to-action button linking to the action in the interactive map app |
Archive Page
All published actions are listed at /action/ using a custom archive-action.php template with Flatsome grid cards. Each card displays a thumbnail image, action title, category badge, area, and date. Thumbnails use a three-tier fallback: post featured image, then the category default image, then no image.
Logged-in users can filter the archive to show only their own submissions by appending ?mine=1 to the URL, or by clicking "My Actions" in the user dropdown menu. This is handled by a pre_get_posts filter that restricts results to the current user's posts.
Category Default Images
Administrators can upload a default image for each project category via the taxonomy admin screen (Categories > Edit). The image is stored as _rw_category_image term meta (attachment ID) and displayed as a thumbnail column on the category list table.
When an action has no featured image, the REST API featured_image_url field automatically falls back to the category's default image. A separate category_image_url field is also exposed for direct access. The plugin ships with 13 placeholder SVG illustrations (one per category, P1-P13) in assets/images/categories/.
Template Location
The single action template lives in the Flatsome child theme at template-parts/regenwest-partials/single-action.php. It is included by Flatsome's content-single.php when the post type is action. The archive template is at wp-content/themes/flatsome-child/archive-action.php.
User Roles
Citizen, Manager, and Administrator roles
Public User
Residents, community members, and visitors to the platform.
Capabilities:
- Browse the interactive map and all tabs
- View actions, areas, and categories
- Access analytics dashboards and KPIs
- Submit citizen-led actions (when signed in)
- Track personal submission status
Actions Manager
Municipal staff and project coordinators responsible for action oversight.
Capabilities:
- All Public User capabilities
- Validate and publish citizen-submitted actions
- Register official/institutional actions directly
- Export reports (CSV, GeoJSON, PDF)
- Access the admin dashboard
System Administrator
Technical administrators managing the platform infrastructure.
Capabilities:
- All Actions Manager capabilities
- Configure data connectors
- Maintain the KPI dictionary and formulas
- Manage user accounts and roles
- Access audit logs and system settings
Access Control
Permissions matrix for each user role
| System Function | Public User | Actions Manager | System Admin |
|---|---|---|---|
| View actions & KPIs | ✓ | ✓ | ✓ |
| View analytics dashboards | ✓ | ✓ | ✓ |
| Submit actions | ✓ | ✓ | ✓ |
| Track own submissions | ✓ | ✓ | ✓ |
| Validate / publish actions | ✗ | ✓ | ✓ |
| Register official actions | ✗ | ✓ | ✓ |
| Export reports | ✗ | ✓ | ✓ |
| Configure data connectors | ✗ | ✗ | ✓ |
| Manage users | ✗ | ✗ | ✓ |
| Maintain KPI dictionary | ✗ | ✗ | ✓ |
| Access audit logs | ✗ | ✗ | ✓ |
User Management
Registration, login, profile, and submission tracking for platform users
User Types
User types are managed via the rw_user_type taxonomy. Administrators can add, edit, and delete types from WP Admin > ReGenWest > Settings.
- Citizen: default type for self-registered users
- Super Admin: protected built-in type, cannot be deleted
- Additional custom types can be created freely
- User type is visible and editable on the WP Users list screen
Registration
New users register directly on the /app/ page via a popup modal, with no page redirect required.
- Fields: username, email, password, user type
- The user-type list offers only public stakeholder types; internal personas (Super Admin, test types) are never shown
- AJAX submission with inline validation feedback
- Auto-login on successful registration
- Header updates immediately without page reload
- The Sign In and Register modals open as popups with a round close button
Login
Returning users sign in via a popup modal triggered by the Sign In button in the app header.
- Sign in with email/password, or in one click with Google (Nextend Social Login)
- A first-time Google sign-up is given the Citizen role and shown a one-time "Select your role" prompt
- AJAX authentication with no page redirect
- Header switches to logged-in state on success
- Submit Action button and user dropdown become visible
- Administrators additionally see the export buttons (CSV/GeoJSON/PDF)
Profile
Users can edit their profile at any time from the user dropdown menu in the header.
- Editable fields: display name, email, user type, password
- Password change is optional; leave blank to keep current
- AJAX save with inline confirmation
My Submissions
Logged-in users can view all their submitted actions from the detail flyout panel.
- Accessible via My Submissions in the user dropdown
- Lists all actions with title, date, and status badge
- Status badges: Published, Pending, Rejected
- Clicking an entry opens the full action detail flyout
My Actions Filter
A My Actions filter chip appears in the sidebar when a user is logged in.
- Toggles the map and action list to show only the current user's submissions
- Works alongside existing category and area filters
- Deactivated automatically on logout
Permissions & Admin Notes
- Export buttons (CSV, GeoJSON, PDF) are visible only to administrators. Subscribers and other non-admin roles do not see these controls.
- Submit Action is available to all logged-in users regardless of role.
- User deletion: When an administrator deletes a user from WP Admin, all their actions are automatically reassigned to the site admin account with a note appended to the action description.
- User types are purely informational labels; WordPress capability checks use the standard role system (Administrator / Subscriber).
Getting Started
How to begin submitting environmental actions
What You Can Do Without Signing In
The ReGenWest EMS is publicly accessible. Without creating an account, you can:
- Browse the interactive map with all three tabs (Categories, Areas, Actions)
- View action details, CO2 impact scores, and photo galleries
- Access analytics dashboards and environmental heatmaps
- Explore the full list of categories and intervention areas
How to Authenticate
To submit actions, you need a WordPress account on the platform. You can register or sign in directly from the app header using AJAX popup modals -- no page redirect required. Once authenticated, the action submission wizard becomes available via the map interface.
Authentication Only Required for Submissions
App Shell: Header, Mobile & Theme
- Single Submit Action button. The header carries one blue Submit Action button. For a signed-out visitor it funnels to the Sign In modal (with a "please sign in" notice) instead of opening the wizard; once signed in the same button starts the 4-step wizard.
- Mobile header. On phones (≤768px) the header condenses to [logo] [+ Submit] on the left and [dark-mode] [account] on the right, with a floating Map pill centred at the bottom to switch between the list and the map.
- Dark / light theme. A theme toggle switches the whole app between light and dark; the choice persists across visits.
- My Submissions. Signed-in users reach their own actions (each with a Published / Pending / Rejected status badge) from the account dropdown in the header.
The 4-Step Wizard
Step-by-step guide through the action submission wizard
Step 1 -- Details
Provide the basic information for your action:
- Title: A descriptive name for the action
- Category: Select from P1-P13
- Implementing Actor: Dropdown to select who is performing the action (Citizen, Municipality, etc.)
- Description: Detailed explanation
- Start / End dates: Timeline (with one-day checkbox)
- Total Cost (EUR): Estimated budget (optional)
Step 2 -- Location & Media
Set the geographic location and optionally upload media:
- Map placement: Click the map to drop a pin, or use the address search bar
- Area selection: Dropdown auto-filtered to areas compatible with your chosen category
- Photos: Optionally upload up to 5 images documenting the action
Step 3 -- Impact
Enter environmental impact metrics. Fields are dynamically shown based on the selected category:
- Low vegetation (m²) and a tree count for P1, with a step-3 gate requiring at least one of the two to be greater than 0
- Tree count for the planting categories (P2, P8), their only impact input
- One shared surface field for P4, P5, P6, P7, P12 and P13, required for all six and retitled per category ("Area of Permeable Pavements (m²)" for P12, "Cool Materials Area (m²)" for P13)
- PV area (m²) or capacity (kW) toggle for the solar categories (P3, P9, P10); P9 also asks the panel orientation
- Before/after energy inputs for 3 fuel types (P3: electricity, diesel, gas)
- Vegetation / plant type (free text, optional) for P1, P2, P4, P5, P6, P7
- Description only for P11
A live indicator preview panel shows the calculated contributions as you enter data.
Step 4 -- Review
Review all entered data before submission:
- Full summary of details, location, and metrics
- Calculated KPI estimates: CO2, Heat Island, and Energy
- Photo thumbnails preview (if uploaded)
- Submit button to finalise the action
Navigation & PV auto-conversion
Wizard UX Enhancements (v4.0.5)
- Full-screen focus: Header and navigation tabs are hidden while the wizard is open, giving users an uninterrupted submission experience.
- Clean start: Opening the wizard closes any open detail flyout and clears the map to a blank slate. Back and Next are shown on every step (on Step 1 the Back control is a Cancel that closes the wizard), and everything entered is preserved when moving between steps.
- Styled notifications: Native browser alerts replaced with floating notification toasts.
- Actor auto-fill: The Implementing Actor field auto-fills from the logged-in user's type.
- Location picking: Red crosshair cursor when placing a pin. After placement, an address and coordinates preview is displayed below the map.
- Map adjustments: Zoom controls moved to the right side. Map zooms in more on Step 2 for precise pin placement.
- Review alignment: Step 4 review summary values are left-aligned for readability.
- Submit button: Step 4 button reads "Submit Action" with a send icon.
- Panel width: Wizard panel matches the flyout width (390px) for visual consistency.
Tip: Auto-Filtered Areas
Impact Metrics
Category-specific input fields for measuring environmental impact
The wizard dynamically displays different input fields in Step 3 depending on the selected project category. The table below maps each input group to its applicable categories and fields.
| Input Group | Categories | Fields |
|---|---|---|
| Tree Count | P2 P8 | Number of trees, the category's only impact input. Both run the full tree pathway and feed indicators 11, 43 and C2. P2 also offers the optional vegetation / plant type text. |
| Tree Count + Surface | P1 | Two boxes, Low vegetation (m²) and Number of Trees, plus the optional vegetation / plant type text. Each box is individually optional, but the wizard's step-3 gate requires at least one of them to be greater than 0. The m² feeds indicators 42 and C2; the tree count runs the full tree pathway and feeds indicators 11, 43 and C2. |
| Surface Area (shared field) | P4 P5 P6 P7 P12 P13 | One shared input (#inp-green-area) retitled per category: "Green Area Covered (m²)" for P4-P7, "Area of Permeable Pavements (m²)" for P12, "Cool Materials Area (m²)" for P13. It is required for all six (the GREEN_AREA_REQUIRED list drops the "(optional)" suffix and gates step 3). P4-P7 also offer the optional vegetation / plant type text. P4-P7 and P12 feed indicators 42 and C2; P13 feeds C2 only. |
| Energy Before / After | P3 | Before and after annual consumption for: electricity (kWh), diesel (litres), natural gas (kWh), plus the PV inputs below |
| PV Area or kW | P3 P9 P10 | Toggle: panel area (m²) or installed capacity (kW); typing one fills the other at 1 kW = 5 m². P9 additionally asks the panel orientation. |
| Description Only | P11 | No numeric inputs -- text description only |
Data Visualisation Dashboard
Interactive charts powered by real action data
The Data Visualisation Dashboard is a full-width analytics view accessed via the "Data Visualization" link in the header navigation. All charts aggregate real data from submitted WordPress actions, with no hardcoded values. The dashboard uses Chart.js with the chartjs-plugin-annotation for milestone markers.
Dashboard Layout
- Indicator Sidebar (left): Seven clickable indicator tiles that switch the entire dashboard view. Each shows the indicator number, name, current value and contributing action count.
- Headline cards: "Current" total and "Month-over-Month" change for the active indicator, above the chart.
- Primary Chart (bars): Cumulative value per time bucket, drawn as slim, grey-toned bars with a "First action" milestone annotation. For indicator C2 the chart is replaced by a Leaflet zone choropleth of per-zone PHIA with hover tooltips.
- Trend (%) Chart (collapsible): Percentage-growth line with the "Compare with" overlay system for cross-indicator analysis.
- Time Range: Month, 6 Months, Annually, All time. Filtered on each action's
start_datewith an explicit upper bound (today), so future-dated actions don't leak in. - Compare to prior period: overlays the previous equivalent window; shows "No prior period data" when the prior window is empty.
- Actor & Interventions filters: rich base-select dropdowns that scope the data to a stakeholder type and/or a specific P-code category.
- Latest contributing actions: a panel listing the most recent actions feeding the active indicator (value · actor · area).
Tiles vs. Charts: What Each Shows
Every indicator's detail view also lists a By Intervention and a By Area breakdown: the active indicator's value grouped by project category (P-code) and by intervention area (A-code). Both are listed in ascending code order (P10 after P9, A10 after A9) and are derived from the live CEO-locked area×category matrix, zero-filled so every applicable row appears even when its value is 0. (For Indicator 11 the breakdown uses the project-only value, so the fixed existing-tree baseline doesn't inflate every row.)
The 7 Indicators (v6.0.0, "EMS Carbon Neutrality Indicators")
metric_indicators post-meta blob (exposed as action.indicators); the server aggregates them in ReGenWest_KPI::compute_aggregates_for_ids() and serves them via /wp-json/regenwest/v1/indicators/aggregate and /indicators/timeseries. The legacy calculated_co2_reduction / calculated_heat_island_m2 / calculated_energy_kwh meta is fully retired.7: Grid GHG Reduction t CO₂/yr
Composite carbon-neutrality headline. 28,366 − Σ(PV GHG avoided) − Σ(P3 energy-reduction GHG) − Σ(tree sequestration). Starts at the 28,366 t CO₂/yr baseline grid emissions and declines toward zero as PV and trees grow. Key: indicator_7_grid_t_co2_per_year.
10: Renewable Energy Mix share
RES share of stationary energy. Σ(PV RES kWh/yr) ÷ 107,457,920 (baseline consumption). Expressed as a percentage (CEO RV_4.1: the raw fraction × 100). Key: indicator_10_energy_mix_share.
11: Tree CO₂ Sequestration t CO₂/yr
(Σ project trees [P1, P2, P8] + 1,722 existing) × 0.02 (20 kg CO₂/tree/yr). Every tree-bearing category feeds it: P2 Tree Planting, P8 Bosco Verticale and P1's tree count (P1's trees produce sequestration only, never canopy or C2). The tile reports existing plus planted; the chart plots project plantings alone via indicator_11_project_t_co2_per_year. Key: indicator_11_sequestration_t_co2_per_year.
42: NBS Area per Resident m²/resident
Σ(nature-based-solution m²) ÷ 8,837 residents. Fed by the I42_SLUGS gate: P1, P4, P5, P6, P7, P12. P13 cool materials are deliberately out (a reflective surface is not improved land use) and P8 is out since it became a tree-only category. Key: indicator_42_m2_per_resident.
43: Tree Canopy Cover share
((Σ P1 + P2 + P8 trees + 1,722 baseline) × 20 m²) ÷ 735,561.16 m² × 100. A true percentage (CEO RV_4.1) that includes the existing-tree canopy baseline (same 1,722-tree baseline as C2), so it reflects the city's real canopy, not just the project's added canopy. Trees only (round 8): every project tree, P1's included, converts at 20 m² of canopy; surface areas never enter this indicator. Key: indicator_43_pct_tree_canopy.
C1: Installed PV Capacity kW
Σ(PV kW), where kW = PV area ÷ 5 (0.2 kW/m²). Also yields RES energy (kW × 1,324 kWh/yr) and GHG avoided (RES kWh × 0.2647 ÷ 1000 t), which feed indicators 10 and 7. The C1 detail view surfaces these two conversions as small cards (× 1,324 kWh per kW per year, and × 0.2647 kg CO₂ per kWh). Key: indicator_c1_kw_pvs.
C2: Potential Heat-Island Area (PHIA), per zone 7 heat zones
Calculated per heat zone (7 CEO-defined zones, not areas A1-A11). A zone's cover is trees plus surface: cover m² = (zone baseline + P2 + P8 trees) × 20 + Σ (P1, P4-P7, P12, P13) surface m² in the zone. Then TCC% = (cover ÷ zone area) × 100; cooling index = min(1, cover ÷ zone area); PHIA = max(0, 1 − cooling). Bands: Low < 0.80, Medium 0.80 to 0.95, High ≥ 0.96. The surface gate is C2_GREEN_SLUGS, one slug wider than the land-use gate: P13 cools its zone here even though it is not improved land use, and P12 does both. Uses the existing-tree canopy as baseline (1,722 surveyed trees) plus project plantings, so PHIA reflects reality and improves with interventions. Rendered as a Leaflet zone choropleth with per-zone hover tooltips.
Model Constants & Intervention Mapping
| Constant | Value |
|---|---|
| Grid emission factor | 0.2647 kg CO₂/kWh (CEO-confirmed 2026-05-29) |
| PV capacity | 1 kW = 5 m² (0.2 kW/m²) |
| PV annual yield | 1,324 kWh per kW per year |
| Tree canopy / sequestration | 20 m² & 0.02 t CO₂/yr per tree |
| Total study area | 735,561.16 m² |
| Population | 8,837 residents |
| Baseline grid emissions (KPI 7) | 28,366 t CO₂e/yr |
| Baseline stationary energy (KPI 10) | 107,457,920 kWh/yr |
Each intervention category feeds indicators via fixed rules (CEO round-7, the owner-approved final matrix):
| Category | Impact input | Indicators it feeds |
|---|---|---|
| P1 Regreening | low vegetation m² and / or tree count, at least one | m² → 42, C2 · trees → 11, 43, C2 |
| P2 Tree Planting | tree count | 11, 43, C2 |
| P8 Bosco Verticale | tree count | 11, 43, C2 |
| P4 P5 P6 P7 | green area m² (required) | 42, C2 |
| P12 Permeable Pavements | area m² (required) | 42, C2 |
| P13 Cool Materials | area m² (required) | C2 only |
| P3 P9 P10 | PV area m² or capacity kW (P3 also takes before / after fuel figures) | C1, and the derived 7 and 10 |
| P11 Smart Grid | none | no quantitative indicator |
Two independent slug gates decide where a surface category's m² lands: I42_SLUGS (P1, P4-P7, P12) for improved land use, and C2_GREEN_SLUGS (P1, P4-P7, P12, P13) for the zone's heat-island cover. Every surface category still writes its nbs_m2; the gates are applied at aggregate time. Every action's exact formula and result are also shown on its WordPress edit screen via the "How this action was calculated" admin panel (ReGenWest_KPI::explain_action()).
Framework: indicators 7, 10, 11, 42 and 43 are drawn from the NetZeroCities Pilot Cities Programme Indicator Set; C1 (installed PV capacity) and C2 (potential heat-island area) are custom ReGenWest indicators. (CEO RV_4.1, 2026-05-30.)
Compare With Overlay
The Trend (%) chart supports adding dashed-line overlays to compare the active indicator against the other six indicators and Action Count. Each overlay uses real aggregated data from the same dataset, normalised to 0-100% of its own maximum so differently-scaled indicators can be compared on one axis.
Technical Implementation
| Component | Technology | Details |
|---|---|---|
| Charts | Chart.js | Bars (primary) + Line (Trend %), responsive, custom tooltips; AbortController cancels in-flight fetches on indicator/filter change |
| Milestone Markers | chartjs-plugin-annotation 3.1.0 | Vertical dashed line at the first-action bucket |
| Indicator C2 map | Leaflet | Per-zone PHIA choropleth (7 heat zones) with hover tooltips, shown in place of the bar chart |
| Data Source | REST /indicators/* | Server aggregates the metric_indicators blob in PHP and serves /indicators/aggregate + /indicators/timeseries (params: since, until, actor, category, compare_to); bucketed by start_date |
| Filters | CSS base-select | Actor + Interventions rich dropdowns with colored dots and counts (Chrome 133+, graceful fallback) |
| Module | dashboard.js (ES6) | Imports STATE and CATEGORY_COLORS from config.js; cache-busted via ReGenWest_Module_Loader |
Greening / NBS (P1, P4, P5, P6, P7)
Nature-based-solution area feeding Indicator 42 (m²/resident) and the zone's C2 cover
Applies to categories: P1 P4 P5 P6 P7 (the land-use gate I42_SLUGS is P1, P4-P7, P12; the cooling gate C2_GREEN_SLUGS adds P13)
Neighbourhood: Indicator 42 = Σ NBS area ÷ 8,837 residents
Zone: the same A (m²) also adds to the action's heat-zone C2 cover
- A
- Green / nature-based area in square metres (m²), as entered in the wizard. Required for P4-P7; for P1 it is one of two inputs behind an at-least-one gate.
- 8,837
- Resident population of the neighbourhood (Indicator 42 denominator)
In the v6 model these greening categories produce nature-based-solution (NBS) area, which rolls up into Indicator 42 (NBS m² per resident) and cools the action's heat zone through C2. They do not produce a per-action CO₂ figure. P1 is the one dual-input category: its low-vegetation m² feeds 42, 43 and C2, while its tree count feeds Indicator 11 sequestration and deliberately never reaches canopy 43 or C2. An optional free-text vegetation field is available for P1 and P4-P7.
Example
Tree Planting (P2) and Bosco Verticale (P8)
Trees feed Indicator 11 (sequestration), 43 (canopy) and C2 (per-zone PHIA)
Applies to categories: P1 P2 P8 (since the round-7 matrix P8 "Bosco Verticale" runs the identical tree pathway; its legacy green area is gone and it no longer feeds Indicator 42 at all. Since round 8, P1's tree count runs the same full pathway.)
Canopy (m²) = Ntrees × 20 → Indicator 43 = ((Σ P1 + P2 + P8 trees + 1,722 baseline) × 20) ÷ 735,561.16 m² × 100
Per-zone tree counts also drive Indicator C2 (PHIA)
- Ntrees
- Number of trees planted, as entered in the wizard. It is the category's only impact input for both P2 and P8.
- 0.02 t
- CO₂ sequestered per tree per year (20 kg)
- 20 m²
- Canopy area produced per tree
Example
Energy Reduction Building (P3)
Before/after fuel reduction: GHG avoided from cutting energy use, feeds Indicator 7
Applies to category: P3
P3 (Energy Reduction Building) captures a building retrofit's before and after annual consumption for three fuels: electricity (kWh), diesel (litres) and natural gas (kWh). The GHG avoided by the reduction feeds Indicator 7 and is stored in its own energy_ghg_avoided key, separate from any PV (C1) GHG. Only positive reductions count: a fuel whose "after" exceeds "before" contributes 0.
Δfuel = before − after → reduces Indicator 7 (project GHG reduction)
- 0.2647
- Grid electricity emission factor, kg CO₂/kWh (CEO-confirmed 2026-05-29)
- 2.68
- Diesel emission factor, kg CO₂ per litre (DEFRA/IPCC standard, CEO-approved 2026-07-10)
- 0.184
- Natural-gas emission factor, kg CO₂/kWh (DEFRA/IPCC standard, CEO-approved 2026-07-10)
Example
Green Fences & Walls (P5)
Vertical NBS area feeding Indicator 42 (m²/resident) and the zone's C2 cover
Applies to category: P5
Neighbourhood: Indicator 42 = Σ NBS area ÷ 8,837 residents
Zone: the same A (m²) also adds to the action's heat-zone C2 cover
- A
- Green fence / wall area in square metres (m²), as entered in the wizard. Required.
In the v6 model P5 produces NBS area that feeds Indicator 42 and the zone's C2 cover. There is no per-action CO₂ figure for green fences and walls (the old × 0.5 heat-island weighting is retired).
Example
Solar PV (P9, P10)
Photovoltaics feed Indicator C1, and via C1 indicators 10 and 7
Applies to categories: P9 P10
The user enters either PV area (m²) or installed capacity (kW); area converts with kW = area ÷ 5. In the v6 model P9 and P10 share one yield factor and one emission factor. The old per-category 1244 / 1331 / 0.264 values are retired.
RES energy (kWh/yr) = kW × 1,324 → Indicator 10 = Σ RES kWh ÷ 107,457,920
GHG avoided (t CO₂/yr) = RES kWh × 0.2647 ÷ 1000 → reduces Indicator 7
- area ÷ 5
- PV area to capacity: 1 kW = 5 m² (0.2 kW/m²)
- 1,324
- Annual RES yield per kW (kWh/kW/yr)
- 0.2647
- Grid emission factor (kg CO₂/kWh)
Example
Smart Grid (P11)
No quantitative indicator in the v6 model
Applies to category: P11
P11 (Smart Grid) actions are descriptive only. The wizard collects a text description but no numeric impact metric, and the v6 engine assigns Smart Grid no indicator contribution: it produces neither trees, NBS area, nor PV.
No indicator
Cooling Surfaces (P12, P13)
Permeable and cool-material surfaces: P12 feeds Indicator 42 and C2, P13 feeds C2 only
Applies to categories: P12 P13 (the two carry different couplings, see below)
P12 only: Indicator 42 = Σ NBS area ÷ 8,837 residents
P12 and P13: A (m²) adds to the action's heat-zone C2 cover
- A
- Surface area treated with permeable or cool materials (m²), as entered in the wizard. The field is required for both, and it is labelled "Area of Permeable Pavements (m²)" for P12 and "Cool Materials Area (m²)" for P13.
The two categories split at aggregate time. P12 (Permeable Pavements) is in both gates: its m² counts as improved land use (Indicator 42) and cools its heat zone (C2). P13 (Cool Materials) is in the cooling gate only: a reflective surface lowers its zone's heat-island index but is not counted as improved land use, so it never reaches Indicator 42. Neither produces a per-action CO₂ figure.
Example
Indicator C2: Potential Heat-Island Area (per zone)
Per-zone PHIA from tree-canopy cover (replaces the old UHVI)
Indicator C2 is computed per heat zone (7 CEO-defined zones, not areas A1-A11), from two sources of cover inside each zone: the tree canopy (existing baseline plus P2 and P8 plantings) and the surface m² of the cooling categories.
TCC% = (cover ÷ zone area) × 100
Cooling index = min(1, cover ÷ zone area)
PHIA = max(0, 1 − cooling index)
- zone trees × 20
- Canopy area in the zone (20 m² per tree). P1's tree count is excluded here by design; only P2 and P8 trees carry canopy.
- surface m²
- The
C2_GREEN_SLUGSgate: P1, P4, P5, P6, P7, P12 and P13. It is one slug wider than the Indicator 42 gate, because P13 cool materials cool their zone without counting as improved land use. - Bands
- Low < 0.80 · Medium 0.80 to 0.95 · High ≥ 0.96
PHIA runs 0 to 1: lower means more canopy cooling (less heat-island risk), higher means little tree cover (high risk). Rendered on the dashboard as a Leaflet zone choropleth with per-zone hover tooltips.
Example
Participation Index not in v6
Not part of the shipped v6 indicator model
The Participation Index was part of an earlier draft and is not one of the seven indicators in the shipped v6 model (CEO spec RV_4.1). It is retained here only as a note. The dashboard does not compute or display it.
Superseded
MCP Integration
AI agents connect to ReGenWest via the Model Context Protocol to read data and submit actions programmatically
Architecture
The platform uses the WordPress MCP Adapter plugin to bridge the WordPress Abilities API to the MCP specification. Both local and remote AI clients share the same request pipeline.
Registered Abilities
| Ability | Type | Description |
|---|---|---|
regenwest/get-stats | Read | Aggregated platform statistics: total actions, CO2 reduction, heat island, energy savings, category breakdown |
regenwest/get-areas | Read | All 11 intervention areas (A1-A11) with titles, site counts, area size, actors, allowed categories |
regenwest/get-actions | Read | Environmental actions with metadata and KPIs. Filterable by category, area, and limit |
regenwest/get-categories | Read | All 13 project categories (P1-P13) with names, slugs, descriptions, action counts |
regenwest/submit-action | Write | Create a new environmental action with title, category, location, and optional metrics |
Transport Layers
| Transport | Protocol | Use Case |
|---|---|---|
| STDIO | JSON-RPC over stdin/stdout | Local development: Claude Code, Gemini CLI, Google Antigravity connect via WP-CLI |
| HTTP | JSON-RPC over REST API | Remote/production: AI agents connect via POST /wp-json/mcp/... with Application Password auth |
Tested Clients
| Client | Transport | Config File |
|---|---|---|
| Claude Code (Anthropic) | STDIO | .mcp.json |
| Google Antigravity | STDIO | mcp_config.json via MCP Store |
| Gemini CLI (Google) | STDIO | .gemini/settings.json |
| Any HTTP client | HTTP | URL + Application Password |
WebMCP (Browser-Side AI)
Browser-based AI agents interact with the platform directly via JavaScript, reading live data from the frontend STATE object
What is WebMCP?
WebMCP is an open-source JavaScript library that allows any website to integrate with the Model Context Protocol. It adds a widget to the page that lets users connect their MCP client (e.g. Claude Desktop) and invoke registered tools, prompts, and resources directly in the browser. Developer tools are available at GoogleChromeLabs/webmcp-tools, including a Chrome Extension inspector and an eval framework for testing tool-calling.
Architecture
How It Differs from Server-Side MCP
| Aspect | MCP Adapter (Server) | WebMCP (Browser) |
|---|---|---|
| Runs on | WordPress server (PHP) | User's browser (JavaScript) |
| Data source | MySQL via WP_Query | STATE object (already fetched) |
| Authentication | Application Passwords / WP-CLI | Token via widget |
| Write access | Full CRUD via Abilities API | Form submission via wizard |
| Best for | Remote agents, CI/CD, batch ops | Interactive browsing, demos, live exploration |
| Server roundtrip | Yes (every request hits WordPress) | No (data already in browser) |
Planned Tools
| Tool | Description | Data Source |
|---|---|---|
get_stats | Aggregated platform KPIs | STATE.actions aggregated |
get_categories | 13 categories with counts | STATE.categories |
get_areas | 11 areas with allowed categories | STATE.areas |
search_actions | Filter by category, area, actor, date | STATE.actions filtered |
navigate_to_tab | Switch between tabs | switchTab() in ui.js |
show_heatmap_layer | Activate environmental mapping | heatmaps.js |
Connection Flow
- Include
<script src="webmcp.js"></script>on the app page - Tools register automatically via
mcp.registerTool(), reading from the liveSTATEobject - User clicks the WebMCP widget (blue square) and pastes a token from their MCP client
- AI agent invokes tools; callbacks execute in-browser and return structured JSON
In Development