Data and Code for 'A Comparative Study of Physics-Informed and Data-Driven Neural Networks for Compound Flood Simulation at River-Ocean Interfaces: A Case Study of Hurricane Irene'
收藏NIAID Data Ecosystem2026-05-02 收录
下载链接:
https://figshare.com/articles/dataset/Data_and_Code_for_Integrating_Physics-Informed_and_Data-Driven_Neural_Networks_into_Earth_System_Models_A_Comparative_Study_for_Compound_Flood_Simulation_at_River-Ocean_Interfaces_/28890083
下载链接
链接失效反馈官方服务:
资源简介:
Installation and Requirements
PINNs (Physics-Informed Neural Networks)
TensorFlow Version: Requires TensorFlow 1.14.0
Environment Setup: Use the environment details provided in `requirement_tf1.txt` to set up your Conda environment.
conda create --name tf1 --file requirement_tf1.txt
conda activate tf1
Data-driven Model
TensorFlow Version: Requires TensorFlow 2.17.0
Environment Setup: Use the environment details provided in `requirement_tf2.txt` to set up your Conda environment.
conda create --name tf2 --file requirement_tf2.txt
conda activate tf2
### Before training
Before running the code, need to create folders to save the model output
For CNN, create /files/CNN
For PINNs, create /saved_model
For saving figures from visualization, create /figures
Training and Results
PINNs
Training: To train the model, run:
python PINN_test_bnd_uh_Telemac.py
python PINN_test_bnd_uh_Telemac_FDM.py
Result Plotting and Comparison: For plotting and comparing results, use:
python PINN_plot_comparison.py
Data-driven Model
CNN Training: To train the CNN model, execute:
python train_CNN.py
Result Visualization: To visualize the results of the CNN model, run:
python predict_CNN.py
To reproduce all results and figures in the manuscript, please refer to the scripts in analysis/
创建时间:
2025-04-30



