← Assignments

Python Developer QGIS Plugin for Magnetic Fields

Freelance Brussels Medior Departement Omgeving

You extend a validated QGIS plugin in Python that the Department of Environment uses to calculate magnetic fields around high-voltage connections. You prepare the plugin for the new data from Elia and also map underground connections.

The Department of Environment is responsible, among other things, for monitoring exposure to non-ionising radiation. Simulations of electric and magnetic fields are essential for this.

To calculate magnetic fields near high-voltage connections, the department uses a validated calculation tool: a QGIS plugin developed in Python. The plugin uses data from the grid operator to calculate the magnetic field around high-voltage connections and determines, among other things, where the field exceeds 0.4 µT.

As a Python developer, you make this plugin compatible with the data supplied by Elia, add new functionality and extend the calculation model to underground high-voltage connections.

Making the plugin compatible with Elia's data

  • You ensure the plugin recognises the format of Elia's new line and pylon layer and performs calculations with it, while maintaining compatibility with the old layers.
  • You have the plugin retrieve the load data of the high-voltage lines directly from the data platform. If that is not possible, the plugin falls back on Elia's open data and, if that is not available either, on the nominal current rating of the line.
  • You always make it clear to the user which data source and which calculation method the plugin used.

Adding new functionality

  • You extend the QGIS interface with a new tab in which the user can interactively edit pylon information (such as pylon height, insulator length and other geometric parameters) and save it to the pylon geometry database.
  • You add an option to calculate the magnetic field at multiple heights in one go, with one field contour per selected height.
  • You provide an overview chart for each calculated contour showing the profile of the magnetic field.
  • You include the influence of Flanders' terrain relief in the calculation, based on the Digital Elevation Model Flanders (DHMV).

Extending the calculation model to underground connections

  • You implement the existing calculation model for underground connections in the plugin, with inputs including current or load, phase and cable arrangement, burial depth, spacing and cable configuration.
  • You support the various installation types (horizontal or flat configuration, trefoil, drilled crossings, joint pits with locally modified cable geometry) and transitions between configurations within a single connection.
  • You model a connection as consecutive route segments with their own properties, which the model processes in a single calculation.
  • You make the geometry and properties readable and editable from QGIS, with a data structure that spatially distinguishes route types and configurations. The plugin automatically calculates the field contour over the entire route and displays it as a geographic layer, making visible how it varies along the route.
  • You integrate everything as much as possible into the existing architecture, interface and workflow, and build in a modular way so that additional configurations, route types or parameters can be added later.

Code, testing and documentation

  • You manage the new and modified code in the Department of Environment's GitLab environment.
  • You write automated tests that safeguard the correct operation of existing and new functionality.
  • You document the modified calculation model, the input parameters and data structures, the calculation methodology for overhead and underground connections, the QGIS functionality, and the installation, configuration and use of the plugin.

Context

The current calculation tool was developed mainly for overhead high-voltage lines. For this purpose, Elia and the Department of Environment share high-voltage network data, such as the locations of lines and pylons and the load values of the lines.

The locations are maintained in QGIS vector layers that are refreshed regularly. Because their format can vary, a newly supplied layer does not always match the plugin's expected input straight away. The load values are updated daily via a link between data platforms, but today they are still entered into the plugin manually.

A calculation model already exists for underground connections. The challenge lies mainly in implementing it within the existing plugin, so that the workflow for the user matches that for overhead lines as closely as possible.

Why this assignment is interesting

You work on a tool with a concrete societal impact: monitoring exposure to magnetic fields in Flanders. You combine Python development with GIS, physical modelling and spatial data such as the DHMV, and you lay the foundation for a modular calculation model that can continue to grow in the future.

What we are looking for

Specific skills

  • Development of Python-based applications 3 yr Medior Must have
  • QGIS Must have
  • Carrying out programming tasks smoothly: coding, testing and debugging Should have
  • Development of QGIS plugins (example or description to be provided in Word) Should have
  • Agile development methodology Should have
  • GitLab Nice to have

General skills

  • Dutch at CEFR level C2 Must have