@article{bibcite_16267, author = {Micha{\l} Gorawski}, title = {From Text to Simulation: Building EPANET Models from Formalized Network Descriptions with a Local Language Model}, abstract = {
Hydraulic models of water distribution networks are the basis of a digital twin, but they are still built mostly by hand. HydraKG is a software pipeline that constructs an EPANET model from a network description and checks the result against that description. In the tabular path, a deterministic parser reads GIS-style attribute tables. In the verbal path, a local large language model (LLM) reads a formalized natural-language description. The network is then checked by validators, by the EPANET solver and by a comparison with the description, none of which uses the source model; code repairs every fact with a single correct value, and the LLM corrects the rest in up to three rounds before the final model is simulated. On seven networks with 11 to 785 nodes, the tabular path reproduces the junction pressures of the source models, as represented internally, with a root-mean-square error (RMSE) of at most\