Computing and Mathematical Sciences
Permanent URI for this communityhttps://researchcommons.waikato.ac.nz/handle/10289/5
This community houses research from the Faculty of Computing and Mathematical Sciences at the University of Waikato.
Browse
8 results
Search Results
Item type:Publication, What is the Reynolds number of the solar wind?2024, IOP PublishingThe Reynolds number, Re, is an important quantity for describing a turbulent flow. It tells us about the bandwidth over which energy can cascade from large scales to smaller ones, prior to the onset of dissipation. However, calculating it for nearly collisionless plasmas like the solar wind is challenging. Previous studies have used formulations of an “effective” Reynolds number, expressing Re as a function of the correlation scale and either the Taylor scale or a proxy for the dissipation scale. We find that the Taylor scale definition of the Reynolds number has a sizable prefactor of approximately 27, which has not been employed in previous works. Drawing from 18 years of data from the Wind spacecraft at 1 au, we calculate the magnetic Taylor scale directly and use both the ion inertial length and the magnetic spectrum break scale as approximations for the dissipation scale, yielding three distinct Re estimates for each 12 hr interval. Average values of Re range between 116,000 and 3,406,000 within the general distribution of past work. We also find considerable disagreement between the methods, with linear associations of between 0.38 and 0.72. Although the Taylor scale method is arguably more physically motivated, due to its dependence on the energy cascade rate, more theoretical work is needed in order to identify the most appropriate way of calculating effective Reynolds numbers for kinetic plasmas. As a summary of our observational analysis, we make available a data product of 28 years of 1 au solar wind and magnetospheric plasma measurements from Wind.Item type:Publication, Angular dependence of third-order law in anisotropic MHD turbulence2026, IOP PublishingIn solar wind turbulence, the energy transfer/dissipation rate is typically estimated using MHD third-order structure functions calculated using spacecraft observations. However, the inherent anisotropy of solar wind turbulence leads to significant variations in structure functions along different observational directions, thereby affecting the accuracy of energy dissipation rate estimation. An unresolved issue is how to optimise the selection of observation angles under limited directional sampling to improve estimation precision. We conduct a series of MHD turbulence simulations with different mean magnetic field strengths, B<inf>0</inf>. Our analysis of the third-order structure functions reveals that the global energy dissipation rate estimated around a polar angle of θ = 60<sup>∘</sup>agrees reasonably with the exact one for 0 ≤ B<inf>0</inf>/b<inf>rms</inf> ≤ 5, where b<inf>rms</inf> denotes the rms magnetic field fluctuation. The speciality of 60<sup>∘</sup> polar angle can be understood by the mean value theorem of integrals, since the spherical integral of the polar-angle component (T̃<inf>θ</inf>) of the divergence of Yaglom flux is zero, and T̃<inf>θ</inf> changes sign around 60<sup>∘</sup>. Existing theory on the energy flux vector as a function of the polar angle is assessed, and supports the speciality of the 60<sup>∘</sup> polar angle. The angular dependence of the third-order structure functions is further assessed with virtual spacecraft data analysis. The present results can be applied to measure the turbulent dissipation rates of energy in the solar wind, which are of potential importance to other areas in which turbulence takes place, such as laboratory plasmas and astrophysics.Item type:Publication, Towards sustainable IoT: A digital signature‐enhanced federated learning approach2025, WileyFederated Learning (FL) is emerging as a premier paradigm for privacy‐preserved Machine Learning (ML), enabling devices to train models without central data pooling collaboratively. In the contemporary Internet of Things (IoT) landscape, characterized by escalating energy consumption and associated carbon footprint, FL is recognized not merely for its privacy features. Intrinsic to decentralized architectures such as FL, secure communication is based on digital signatures to guarantee integrity. This is particularly evident in sensitive sectors such as the Internet of Vehicles (IoV), banking, and healthcare. Integrating FL becomes imperative and intricate as these sectors are intertwined with the IoT fabric. Our study unveils “Secure Federated Learning Framework (SecFL),” a pioneering decentralized framework combining FL and sustainable computing. SecFL offers defences against adversarial attacks such as data poisoning and label flipping. Utilizing the Rivest‐Shamir‐Adleman (RSA) asymmetric encryption algorithm for securing digital communications and transactions, combined with ElGamal encryption and a private Ethereum blockchain, ensures enhanced client‐specific security. Our research emphasizes the formal modeling of adversarial dynamics using High‐Level Petri nets (HLPN) within the FL‐IoT ecosystem, balancing system dynamics and energy conservation. Our model consistently outperforms contemporary solutions in accuracy and time efficiency after validation. As IoT burgeons into domains like environmental monitoring, smart cities, and energy grids, the SecFL framework, fostering FL, optimizes energy utilization and bolsters resource efficiency. In our comparative analysis, the Elliptic Curve Digital Signature Algorithm (ECDSA) algorithm demonstrates superior transaction latency and verification time compared to RSA and Elliptic Curve Cryptography (ECC).Item type:Publication, Energy management and edge-driven trading in fractal-structured microgrids: A machine learning approach2025, MDPIThe integration of renewable energy into residential microgrids presents significant challenges due to solar generation intermittency and variability in household electricity demand. Traditional forecasting methods, reliant on historical data, fail to adapt effectively in dynamic scenarios, leading to inefficient energy management. This paper introduces a novel adaptive energy management framework that integrates streaming machine learning (SML) with a hierarchical fractal microgrid architecture to deliver precise real-time electricity demand forecasts for a residential community. Leveraging incremental learning capabilities, the proposed model continuously updates, achieving robust predictive performance with mean absolute errors (MAE) across individual households and the community of less than 10% of typical hourly consumption values. Three battery-sizing scenarios are analytically evaluated: centralised battery, uniformly distributed batteries, and a hybrid model of uniformly distributed batteries plus an optimised central battery. Predictive adaptive management significantly reduced cumulative grid usage compared to traditional methods, with a 20% reduction in energy deficit events, and optimised battery cycling frequency extending battery lifecycle. Furthermore, the adaptive framework conceptually aligns with digital twin methodologies, facilitating real-time operational adjustments. The findings provide critical insights into sustainable, decentralised microgrid management, emphasising improved operational efficiency, enhanced battery longevity, reduced grid dependence, and robust renewable energy utilisation.Item type:Publication, Constraining solar wind transport model parameters using Bayesian analysis2025, IOP PublishingWe apply nested-sampling Bayesian analysis to a model for the transport of magnetohydrodynamic-scale solar wind fluctuations. The dual objectives are to obtain improved constraints on parameters present in the turbulence transport model (TTM) and to support quantitative comparisons of the quality of distinct versions of the transport model. The TTMs analyzed are essentially the 1D steady-state ones presented in Breech et al. that describe the radial evolution of the energy, correlation length, and normalized cross helicity of the fluctuations, together with the proton temperature, in prescribed background solar wind fields. Modeled effects present in the TTM include nonlinear turbulence interactions, shear driving, and energy injection associated with pickup-ions. Each of these modeled effects involves adjustable parameters that we seek to constrain using Bayesian analysis. We find that, given the TTMs and observational data sets analyzed, the most appropriate TTM to recommend corresponds to 2D fluctuations and has von Kármán-Howarth parameters of α ≈ 0.16 and β ≈ 0.10, along with reasonably standard values for the other adjustable parameters. The analysis also indicates that it is advantageous to include pickup ion effects in the lengthscale evolution equation by assuming Z<sup>2β/α</sup>λ is locally conserved. Such Bayesian analysis is readily extended to more sophisticated solar wind models, space weather models, and might lead to improved predictions of, for example, solar flare and coronal mass ejection interactions with the Earth.Item type:Publication, Energy flux decomposition in magnetohydrodynamic turbulence2025, Cambridge University PressIn hydrodynamic (HD) turbulence, an exact decomposition of the energy flux across scales has been derived that identifies the contributions associated with vortex stretching and strain self-amplification (Johnson, Phys. Rev. Lett., vol. 124, 2020 104501; J. Fluid Mech., vol. 922, 2021, A3) to the energy flux across scales. Here, we extend this methodology to general coupled advection-diffusion equations and, in particular, to homogeneous magnetohydrodynamic (MHD) turbulence. We show that several MHD subfluxes are related to each other by kinematic constraints akin to the Betchov relation in HD. Applied to data from direct numerical simulations, this decomposition allows for an identification of physical processes and for the quantification of their respective contributions to the energy cascade, as well as a quantitative assessment of their multi-scale nature through a further decomposition into single- and multi-scale terms. We find that vortex stretching is strongly depleted in MHD compared with HD, and the kinetic energy is transferred from large to small scales almost exclusively by the generation of regions of small-scale intense strain induced by the Lorentz force. In regions of large strain, current sheets are stretched by large-scale straining motion into regions of magnetic shear. This magnetic shear in turn drives extensional flows at smaller scales. Magnetic energy is transferred from large to small scales predominantly by the aforementioned current-sheet thinning in regions of high strain. The contributions from current-filament stretching - the analogue to vortex stretching - and from bending of magnetic field-lines into current filaments by vortical motion are both almost negligible, although the latter induces strong backscatter of magnetic energy. Consequences of these results for subgrid-scale turbulence modelling are discussed.Item type:Publication, Mini-batching with fused training and testing for data streams processing on the Edge2024, ACMEdge Computing (EC) has emerged as a solution to reduce energy demand and greenhouse gas emissions from digital technologies. EC supports low latency, mobility, and location awareness for delay-sensitive applications by bridging the gap between cloud computing services and end-users. Machine learning (ML) methods have been applied in EC for data classification and information processing. Ensemble learners have often proven to yield high predictive performance on data stream classification problems. Mini-batching is a technique proposed for improving cache reuse in multi-core architectures of bagging ensembles for the classification of online data streams, which benefits application speedup and reduces energy consumption. However, the original mini-batching presents limited benefits in terms of cache reuse and it hinders the accuracy of the ensembles (i.e., their capacity to detect behavior changes in data streams). In this paper, we improve mini-batching by fusing continuous training and test loops for the classification of data streams. We evaluated the new strategy by comparing its performance and energy efficiency with the original mini-batching for data stream classification using six ensemble algorithms and four benchmark datasets. We also compare mini-batching strategies with two hardware-based strategies supported by commodity multi-core processors commonly used in EC. Results show that mini-batching strategies can significantly reduce energy consumption in 95% of the experiments. Mini-batching improved energy efficiency by 96% on average and 169% in the best case. Likewise, our new mini-batching strategy improved energy efficiency by 136% on average and 456% in the best case. These strategies also support better control of the balance between performance, energy efficiency, and accuracy.Item type:Publication, Adaptive digital twins for energy-intensive industries and their local communities2024, Elsevier BVDigital Twins (DTs) are high-fidelity virtual models that behave-like, look-like and connect-to a physical system. In this work, the physical systems are operations and processes from energy-intensive industrial plants and their local communities. The creation of DTs demands expertise not just in engineering, but also in computer science, data science, and artificial intelligence. Here, we introduce the Adaptive Digital Twins (ADT) concept, anchored in five attributes inspired by the self-adaptive systems field from software engineering. These attributes are self-learning, self-optimizing, self-evolving, self-monitoring, and self-protection. This new approach merges cutting-edge computing with pragmatic engineering needs. ADTs can enhance decision-making in both the design phase and real-time operation of industrial facilities and allow for versatile 'what-if' scenario simulations. Seven applications within the energy-intensive industries are described where ADTs could be transformative.