A device for detecting leaks of a gas or liquid in a piping network, the device temporarily accumulating a compressed gas or liquid compressed by a compressor in a supply tank and then supplying the compressed gas or liquid from the supply tank via piping to a terminal facility consuming the compressed gas or liquid, the leak detection device comprising:
- a time series measurement value acquisition unit acquiring a time series measurement value for each of a supply tank pressure and supply tank flow rate supplied from the gas or liquid supply tank and a terminal facility pressure at an entrance of the terminal facility;
- a time series measurement data extraction unit extracting time series measurement data exhibiting a high change in pressure for a certain time duration from the time series measurement value;
- a piping network model construction unit creating a piping network model including the compressor, the supply tank, the terminal facility, and the piping;
- a time series response calculation unit calculating a time series response of a flow rate and pressure within the piping network on the basis of the piping network model, the extracted time series measurement data being used as a boundary condition in the calculation;
- a leak position/amount determination unit determining the position and amount of a leak of the gas or liquid within the piping network on the basis of the calculated time series response of the flow rate and pressure;
- and
- an output display unit displaying the leak position and leak amount.