The invention relates to the field of
hydrogen energy application, and provides an accurate optimization method suitable for steady-state non-convex
hydrogen flow. For the problem that a
hydrogen flow non-convex model described by a Weymoth equation is difficult to solve, an upper-layer and lower-layer optimization framework is designed. Firstly, according to an
airflow pipeline, a pipeline head node, a pipeline
tail node and auxiliary variables of pipeline
airflow are added, an original problem is decomposed into an upper-layer second-order
cone programming problem (SOCP) and a plurality of lower-layer quadratic
programming problems, and each quadratic
programming problem comprises a non-convex quadratic constraint; secondly, representing a plurality of quadratic
programming problems as an equivalent strong dual form-semi-definite programming problem (SDP), and solving a dual problem to obtain a solution of QP1QC; and then, the optimization results of the upper layer and the lower layer are coordinated and corrected until a high-quality solution meeting an original non-convex
hydrogen flow equation is converged, so that potential safety hazards such as pressure over-limit and flow velocity
abnormality in operation can be reduced, and powerful support is provided for stable operation of a hydrogen
energy system.