Grail
Gas Reliability Analysis Integrated Library: algorithms for natural gas pipeline optimization, optimal control, and simulation
Install / Use
/learn @lanl-ansi/GrailREADME
grail
Gas Reliability Analysis Integrated Library: algorithms for natural gas pipeline optimization, optimal control, and simulation
Instructions:
-
Add the IPOPT MEX binary to the root folder, available at https://www.coin-or.org/download/binary/Ipopt/ or included with the Opti toolbox at https://www.inverseproblem.co.nz/OPTI/
-
grail.exe can be compiled using the MATLAB compiler, and can be distributed for use with MATLAB runtime, which is available here: https://www.mathworks.com/products/compiler/matlab-runtime.html
-
Specify the folder containing the model and parameters in model_folder.txt (e.g. model30t) and add it to the root. Running grail will read the input in that folder and put output in the same folder.
These publications can be cited as references:
Zlotnik, A., Chertkov, M. and Backhaus, S., Optimal control of transient flow in natural gas networks. In 2015 IEEE 54th Annual Conference on Decision and Control (CDC), (pp. 4563-4570). IEEE (2015)
Zlotnik, A., Roald, L., Backhaus, S., Chertkov, M. and Andersson, G., Coordinated scheduling for interdependent electric power and natural gas infrastructures. IEEE Transactions on Power Systems, 32(1), pp.600-610. (2017)
Sundar, K. and Zlotnik, A., State and Parameter Estimation for Natural Gas Pipeline Networks using Transient State Data. IEEE Transactions on Control Systems Technology, arXiv preprint arXiv:1803.07156. (2018)
License
This code is provided under a BSD license C18045 for Gas Reliability Analysis Integrated Library (GRAIL), developed for Project GECO of the Advanced Research Project Agency-Energy of the U.S. Department of Energy under Award No. DE-AR0000673.
Related Skills
node-connect
347.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
