Computational Engineering
Papers
Fresh from arXiv, typeset properly. Highlighted words trade on the market.
Tuesday 4 August
The rapid proliferation of Electric Vehicles (EVs) introduces significant spatio-temporal uncertainties into power grids, while Vehicle-to-Grid (V2G) technology offers critical flexibility through bidirectional power flow. However, integrating large-scale EVs into the Optimal Power Flow framework presents substantial challenges due to computational bottlenecks arising from solver complexity and coupled spatio-temporal constraints. Existing Reinforcement Learning (RL) methods often struggle to balance strict constraint satisfaction with scalability in highly dynamic EV fleet environments. To address these challenges, this paper proposes a Hierarchical Policy for Constrained Reinforcement Learning (HPC-RL) framework for spatially and temporally coupled V2G scheduling. The framework adopts a two-layer architecture: the upper level utilizes a RL algorithm based on the Generalized Reduced Gradient method to strictly enforce spatial grid-level hard constraints; the lower level implements a novel dynamic boundary strategy to compute real-time feasible charging power bounds for individual EVs, thereby ensuring the satisfaction of temporal charging demands. This integrated design not only enables the simultaneous handling of spatially and temporally coupled constraints during the RL optimization process but also significantly enhances generalization capabilities for large-scale fleets through hierarchical decoupling. Extensive experiments on IEEE 14, 30, and modified 141-bus systems demonstrate that HPC-RL outperforms Model Predictive Control and state-of-the-art safe RL baselines across all metrics. The proposed method achieves near-optimal scheduling strategies and drastically reduces online computation time in large-scale scenarios from hours to minutes, while maintaining a near-zero constraint violation rate and nearly 100% charging demand satisfaction.
Computational Engineering
Estimation of Condition Number of Quasi-static Darwin Model
This study discusses the estimation of the condition number of the quasi-static Darwin model, which is shown to be a nearly singular system of equations with a large kernel derived from the gauge invariance of full Maxwell's equations. Inequality evaluations for a minimum nonzero singular value, maximum singular value, and condition number for a nearly singular system of equations and its augmented system are provided. This discussion reveals the nearly singular nature of the Darwin model and proves the effectiveness of the augmented system method for solving the Darwin model.
Read the full abstract
Computational Engineering
Electro-Magnetic Decoupling Preconditioner for Eddy Current Problems with External Circuit Coupling
This paper proposes an efficient and scalable preconditioning strategy for eddy current problems involving coupled external circuits. The approach, named Electro-Magnetic Decoupling (EMD) preconditioner, decomposes the discrete system into vector and scalar potential components and applies tailored preconditioners to each. In particular, strong preconditioning is applied to the scalar component to address the spectral degradation induced by the discrete Laplacian. The method was evaluated on four eddy current models with varying frequencies, conductor topologies, and excitation types. Compared to the conventional incomplete Cholesky preconditioner, the EMD approach achieved up to 20 times fewer iteration counts and up to 20 times faster iterative solver time. Moreover, the method supports physics-level parallelization, allowing efficient treatment of independently excited conductor domains. The EMD framework is compatible with algebraic multigrid, domain decomposition, and direct solvers, offering flexibility and robustness for large-scale electromagnetic simulations.
Read the full abstract
Monday 3 August
Computational Engineering · Cross-listed from q-fin.GN
Methodology for Modelling Token Economies and Performing Event Impact Analysis with DeTEcT
The objective of this paper is to provide a methodology for applying the DeTEcT framework to modelling token economies, to formalise the configuration of the simulation environment, and to introduce an event analysis framework. A token economy is an economic system that has a unique mechanism for controlling its monetary supply, and a medium, in the form of a token or currency, for the valuation of goods and services, the settlement of transactions, and the storage of value. We show the key decisions that must be made when modelling an economy with the DeTEcT framework and showcase some numerical methods that can be used in conjunction with the framework to perform economic simulations. We also propose a framework for analysing and measuring the impacts of events on an economy, while also developing a procedure to measure the significance of these impacts. Throughout the paper, we use Bitcoin as a case study to demonstrate how to apply the frameworks and tools we proposed here. We show how a model of Bitcoin token economy can be set up, and how to measure the impacts of Bitcoin's endogenous policies (i.e., BIPs) on the wealth distribution of its economic participants.
Read the full abstract
Computational Engineering · Cross-listed from cs.NI
In-Network Market Prediction Using Machine Learning and Limit Order Books
Machine learning is significantly transforming algorithmic trading, yet the requirement for rapid execution speeds persists. While both aspects aim to boost profitability, embedding advanced machine-learning techniques with reduced trading latency presents a notable challenge. Adopting in-network machine learning, which involves offloading inference to programmable network devices, offers a delicate equilibrium in this trade-off. In this paper, we present LOBIN, a solution that utilizes machine learning within the network for market prediction based on high-frequency market data feeds. LOBIN is adept at constructing limit order books and performing inference directly within programmable switches. When compared to server-based benchmarks, LOBIN not only predicts future stock price movements with higher throughput but also maintains robust machine learning performance. It achieves over a 10% reduction in latency compared to the NASDAQ order-matching server benchmark and delivers microsecond-level latency. Furthermore, the machine learning performance of LOBIN can be further enhanced through the adoption of a hybrid deployment approach that integrates both the switch and the servers. Our evaluation demonstrates that among all data feeds of evaluated stocks, the application of hybrid deployment results in approximately 45% of the traffic and 38% of the total potential transaction value being processed within switches without server intervention, reducing latency while ensuring that the average change in error rate of predictions remains at around 3% relative to benchmarks based solely on server use.
Read the full abstract
Computational Engineering
Space–time formulation of geometrically exact beams
We formulate the dynamics of a straight-reference geometrically exact Cosserat beam as a directed world sheet in non-relativistic space–time. The centerline history is embedded in \(\mathbb R^4\), while absolute time remains prescribed and is not an additional mechanical degree of freedom. Spatial force and moment resultants and temporal linear and intrinsic angular momenta are combined into common space–time fluxes, so that spatial Neumann data and temporal inflow and outflow are represented by one co-normal boundary operator. A mixed configuration–momentum system is discretized by continuous tensor-product finite elements and stabilized by a future-directed Petrov–Galerkin perturbation. The resulting time-aligned \(Q_2/Q_2\) method requires one scalar stabilization parameter and retains the interior momentum trace as the free terminal outflow. The numerical study verifies the terminal flux treatment by an exact rigid-motion state, establishes monotone convergence for a smooth manufactured shear–bending solution, quantifies the pre-response–accuracy trade-off under delayed loading, and verifies covariance under constant superposed spatial rotations. The stabilization is not a proof of strict domain-of-dependence causality; it biases the global space-time approximation in the future direction and reduces the measured pre-activation response. A conservative extension to non-aligned simplex facets is also analyzed. Although this extension is consistent and locally conservative, continuous equal-order \(P_2/P_2\) simplex spaces exhibit strongly mesh- and orientation-dependent inverse amplification and do not show mesh-uniform stability. The aligned \(Q_2/Q_2\) discretization is therefore recommended as the practical realization of the formulation.
Read the full abstract
Computational Engineering
Monolithic solution and null-space condensation of internal variables in finite viscoelasticity
Finite-strain viscoelasticity is commonly discussed from a constitutive perspective, whereas the nonlinear solution architecture induced by time and space discretization is studied less systematically. In this work, we consider a representative viscoelastic model with a strain-like internal variable and focus on the fully discrete coupled problem in the deformation and the internal state. Starting from the underlying energy-dissipation structure, we derive the discrete weak forms and obtain a monolithic Newton system with a naturally non-symmetric block tangent. The increment of the internal variable is eliminated consistently at the level of the linearized system by a Schur complement, and the same reduction is shown to admit a geometric interpretation in terms of a null-space basis of the tangent space of the internal constraint manifold. This yields a genuinely monolithic counterpart to classical nested Gauss-point condensation, in which local constitutive equations are solved separately before the global equilibrium step. Numerical results for two- and three-dimensional Cook's membrane benchmarks show that the proposed strategy retains essentially the same outer Newton behavior as the classical approach while substantially reducing computational cost by avoiding repeated local Newton solves, it also remains convergent for load increments for which the nested scheme fails. Moreover, the numerical study suggests that suitably chosen approximation spaces for the internal variable can yield additional savings in computational effort without significant loss of accuracy. Although presented for finite viscoelasticity, the construction extends naturally to broader classes of thermodynamically consistent internal-variable models.
Read the full abstract
Computational Engineering
Mode-Weighted Transport Certificates for State-Dependent Reflected Switching Diffusions
State-dependent switching diffusions can be contractive in distribution even when some modes are individually expansive. We develop a computable transport-based condition for such contraction on $\mathbb{R}^n$ and on compact convex domains with normal reflection. The transport cost combines mode-dependent spatial weights with a discrete mode penalty while preserving spatial separation for cross-mode pairs. Using synchronous coupling of the Brownian motions and maximal coupling of the state-dependent jump clocks, we derive separate generator inequalities for same-mode and cross-mode configurations. Convex normal reflection contributes a nonpositive finite-variation term, so the same conditions apply to the associated no-flux Fokker-Planck-Kolmogorov system. Their feasibility guarantees global pairwise exponential contraction of the Markov semigroup and weak measure solutions, with unit prefactor and an explicit rate. For a fixed ordering of the mode weights and a prescribed decay rate, the conditions are affine in the spatial weights and graph costs and form a semi-infinite linear feasibility problem. A finite-mesh condition with a Lipschitz margin certifies the inequalities over the full domain. A reflected one-dimensional example validates the distributional computation, and a planar three-mode example demonstrates the synthesis procedure for transition rates depending on both state coordinates.
Read the full abstract
Computational Engineering
Physics-Constrained Soft Actor-Critic for Simulator-in-the-Loop Petroleum Reservoir History Matching
Many scientific calibration problems expose only an expensive executable simulator, making gradients unavailable and large-scale training-data generation impractical. We study petroleum reservoir history matching as an instance of this broader AI problem and formulate it as physics-constrained, simulator-in-the-loop policy search. Our method wraps the CMG IMEX full-physics simulator as a Gymnasium environment and uses Soft Actor-Critic (SAC) to learn a stochastic proposal distribution over continuous porosity, directional-permeability, and well-skin parameters. Each interaction generates and executes a reservoir case, aligns simulated and observed production responses, and returns a reward that combines multi-response mismatch with penalties for physically invalid properties. Off-policy replay reuses costly simulator feedback, while maximum-entropy learning preserves exploration. Unlike forward-surrogate approaches, the policy learns where to evaluate rather than learning to replace the simulator; every retained candidate is validated by IMEX. Under a 200-call budget on PUNQ-S3, the best valid candidate achieves category-macro NMSE $0.0285$, $R^2=0.9324$, and a bounded match score of $97.23\%$. Well-level analysis further exposes localized water-rate failures hidden by pooled metrics. These results establish a full-physics proof of concept for reinforcement-learning-based calibration of expensive scientific simulators.
Read the full abstract
Computational Engineering
A manifold-aware Neural ODE surrogate model for stochastic induction heating with anisotropic electrical conductivity
Induction welding plays a central role in enabling lightweight, integrated structures made from fibre-reinforced thermoplastic composites. From a modelling perspective, the induction welding process can be approximated by one-way coupled electromagnetic and heat-transfer equations. In practice, material parameters such as electrical conductivity vary significantly resulting from the deviations in the placement of fibres and hence the fibre-fibre contacts in the mesostructure are governed by consolidation quality of the material. Explicit representation of this variability on the macroscopic scale is essential to capture the closed current loops required for the induction heating process. To address this, a stochastic material model is introduced that respects the symmetric positive-definite (SPD) nature of the conductivity tensor and separates scaling and orientation uncertainties, forming the basis of a surrogate framework. The resulting stochastic conductivity model is first used to quantify the uncertainty in the induction heating process through extensive Monte Carlo simulations, providing detailed insight into the induced currents and the resulting temperature field. Subsequently, to enable efficient uncertainty propagation, SPD-aware surrogate models are trained with a subset of the simulation data, consisting of labelled material states and temperature fields. The surrogates are formulated as Constitutive Manifold Neural Networks (CMNNs) that explicitly respect the underlying SPD manifold structure and are integrated with a Neural Ordinary Differential Equation (NODE) framework to capture temporal dynamics. Several NODE integration schemes are evaluated and compared.
Read the full abstract
Computational Engineering · Cross-listed from cs.DC
Diagnosing High-Performance BFT Consensus via Mixture Modeling of Block Time Distributions
High-performance Byzantine Fault Tolerant (BFT) blockchains are designed to achieve high throughput and low latency, yet their observed block time distributions often reveal complex behaviors arising from networking, pipelining, and deployment heterogeneity. In this paper, we diagnose HotStuff-based high-performance BFT consensus by modeling block times through a quorum-based multicast framework that links each block interval to quorum formation latency. We capture multimodal block time distributions using mixture models, where each component represents a distinct network condition characterized by effective transfer rate of block information. The proposed model is fitted to the bulk of mainnet block time data, while tail decay is analyzed separately to assess asymptotic behavior. Applying this methodology to Hyperliquid and Aptos mainnets, we find that Hyperliquid is well explained by a unimodal distribution, consistent with a relatively homogeneous validator deployment. In contrast, Aptos exhibits persistent multimodal structure and a pronounced shift following a consensus upgrade, reflecting heterogeneous deployments and diverse communication paths. These results demonstrate that mixture modeling of block time provides a practical and informative diagnostic tool for analyzing and monitoring high-performance BFT consensus.
Read the full abstract
Computational Engineering
TransNRank: Towards Accurate Neoantigen Ranking with Transformer
Personalized neoantigen prediction is challenging due to the scarcity of positive samples, the noise of the experimental data, the severe class imbalance trait and the complex of immunogenicity features. Prior arts, such as linear regression and XGBoost fail to model long-range dependencies and contextual relationships within peptide features, therefore the performance of neoantigen positive recall rate is limited. In this paper, we present a novel deep learning framework based on Transformer, coined as TransNRank. By leveraging the self-attention mechanism, our model captures both local and global feature contexts, enabling more accurate recognition of immunogenic neoantigens. A positive-aware training objective is utilized to handle the class imbalance problem, assigning more weights to those few positive samples. Extensive experiments are performed on NCI, TESLA and HiTIDE datasets. Notably, our TransNRank can push the upper bound top 20 recall rate of neoantigen prediction from 46.9% (45 from 96) to 53.1% (51 from 96), while reducing the training epochs from 200 epochs to 20 epochs. Furthermore, we analyze the features contribution based on TransNRank and find that the mutation at anchor and TCGA expression level play an unexpected important role in neoantigen prediction, and removing insignificant features to reduce the input dimensionality of peptides does not drastically impair the overall performance of the model. Our paradigm not only streamlines the prediction pipeline but also sets a new state-of-the-art for neoantigen discovery, with broad implications for accurate immuno-oncology.