Windfarm Simulation Program

This project is a simulated wind farm, which was written to practise object-oriented programming. It queries a weather station (which can be a real station on the internet or my weather station simulator project) and from this initial data, creates a virtual wind farm, the size of which is determined by settings in a configuration file.

The turbines in the wind farm respond to changes in the weather, the most basic change being the rotation speeding up and the electricity produced rising. The modelling is more complex than these basic stats, for example, the simulated turbines utilise hydraulic pressure as they adjust their heading and blade pitch, both of which have inertial. Large changes in wind speed or heading cause stresses on the components which rise with the scale of change.

The interface tabs are provided by jQuery to rapidly build the site without excessive time devoted to CSS and graphics. The 'graph paper' background was designed to give a impression of a technical testing environment. The font used for the heading is more formal than the Weather Station project to suggest a more formal testing approach. A jQuery slideshow allowed the display of a large number of graphs in a single page area using thumbnail selectors to alter the currently displayed graph.

Project Summary
Lines of code~1,020 (800 modules, 180 simulator, 40 cgi)
StandardsStrict, Warnings, Perlcritic (PBP)
Notable ModulesXML::Simple, LWP::UserAgent, HTTP::Request, Template, Readonly, Config::Tiny
Time taken3-4 days
Front end publicly online? Yes, http://windfarm-simulator.donder.co.uk
Source browsable? Yes, Fully online

Windturbine Simulation Screenshot