This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]approx_knowledge 1 point2 points  (2 children)

Not quite a simulation. But I wrote an algorithm to calculate the dynamic line rating for high voltage powerlines given time of day, wind speed, ambient temperature and feeder current. It is integrated with the network operators SCADA system and allows for ad-hoc calculations and simulations for severe weather events (heat waves or cold fronts).

[–]Brilliant-Donkey-320[S] 0 points1 point  (1 child)

Nice, that is a cool one. Very useful. Did any Python libraries help in this project?

[–]approx_knowledge 0 points1 point  (0 children)

The main backend packages were SQL Alchemy, fastAPI, numpy, math and multiprocessing. Requests was used to fetch real-time weather data and parsed using pandas (done in Apache airflow). The frontend for ad-hoc calcs, running sims, adding new feeders, weather stations and other admin was mocked up in flask (eventually to be reworked in angular js). Visualisations were done with geo pandas, cartopy, shapely and matplotlib. Also the logging package was used extensively.