Dibs0 commited on
Commit
2631a55
·
verified ·
1 Parent(s): 3ce8b2e

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +116 -0
README.md CHANGED
@@ -1,3 +1,119 @@
1
  ---
2
  license: mit
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ task_categories:
4
+ - other
5
+ tags:
6
+ - pde
7
+ - optimal-control
8
+ - operator-learning
9
+ - deeponet
10
+ - differentiable-predictive-control
11
+ - scientific-machine-learning
12
+ pretty_name: PDE Control with DPC and Time-Integrated Neural Operators
13
+ size_categories:
14
+ - 1K<n<10K
15
  ---
16
+
17
+ # PDE Control — TI-DeepONet Training Datasets
18
+
19
+ Simulation datasets for **"Learning to Control PDEs with Differentiable Predictive Control
20
+ and Time-Integrated Neural Operators"**.
21
+
22
+ - 📄 Paper: [arXiv:2511.08992](https://arxiv.org/abs/2511.08992)
23
+ - 💻 Code: [github.com/Centrum-IntelliPhysics/PDEControl_DPC](https://github.com/Centrum-IntelliPhysics/PDEControl_DPC)
24
+
25
+ These are the trajectory datasets used to train the **TI-DeepONet surrogates**. Each file
26
+ holds 3000 controlled trajectories generated by a classical numerical solver under randomly
27
+ sampled control sequences.
28
+
29
+ > **You may not need these.** The pretrained checkpoints are committed in the code
30
+ > repository, and both notebooks in each experiment directory run without any download.
31
+ > You need these files only to retrain a surrogate from scratch.
32
+
33
+ ## Files
34
+
35
+ | File | System | Size | Trajectories | Timesteps | Controls |
36
+ |---|---|---|---|---|---|
37
+ | `heat_dataset_dpc.npz` | 1D heat equation | 895 MB | 3000 | 401 | 4 |
38
+ | `burgers_smooth_f_dataset.npz` | 1D Burgers' equation | 670 MB | 3000 | 301 | 2 |
39
+ | `reaction_diffusion_dataset200.npz` | 1D reaction–diffusion | 893 MB | 3000 | 401 | 4 |
40
+
41
+ All arrays are `float64`. Spatial resolution is $N = 100$ on $x \in [0,1]$ with
42
+ $\Delta t = 10^{-3}$ throughout.
43
+
44
+ ## Contents
45
+
46
+ Each `.npz` contains:
47
+
48
+ | Key | Shape | Meaning |
49
+ |---|---|---|
50
+ | `solutions` | `(3000, T+1, 100)` | state trajectories $u(x,t)$ |
51
+ | `controls` | `(3000, T, n_c)` | control amplitudes $c_i(t)$ |
52
+ | `x` | `(100,)` | spatial grid, `linspace(0, 1, 100)` |
53
+ | `dt` | scalar | time step, `1e-3` |
54
+
55
+ Plus per-system physical parameters:
56
+
57
+ - **heat** — `nu` (diffusivity, 0.1), `centers` (4 actuator positions), `sigma` (actuator width)
58
+ - **burgers** — no extra keys; actuator geometry lives in the code's `config.py`
59
+ - **reaction–diffusion** — `D` (diffusivity, 0.01), `r` (reaction rate, 1.0), `centers`, `sigma`
60
+
61
+ Control enters every system as a sum of Gaussian sources:
62
+
63
+ $$f(x,t) = \sum_{i=1}^{n_c} c_i(t)\,\exp\!\left(-\frac{(x - x_i)^2}{2\sigma^2}\right)$$
64
+
65
+ ## Generation
66
+
67
+ | System | Solver |
68
+ |---|---|
69
+ | Heat | Crank–Nicolson |
70
+ | Burgers' | Upwind advection + forward Euler |
71
+ | Reaction–diffusion | Backward Euler + Newton iteration, Neumann BCs |
72
+
73
+ The generating scripts are in the code repository (`heat_1D_gen.py`,
74
+ `Burgers_1D_smooth_f_gen.py`, `RD_1D_gen2.py`), so every file here is reproducible from
75
+ source.
76
+
77
+ ## Usage
78
+
79
+ ```bash
80
+ git clone https://github.com/Centrum-IntelliPhysics/PDEControl_DPC.git
81
+ cd PDEControl_DPC
82
+ pip install -r requirements.txt
83
+
84
+ python download_data.py # all three
85
+ python download_data.py heat # or just one
86
+ ```
87
+
88
+ Files land where each `config.py` expects them. Then:
89
+
90
+ ```bash
91
+ cd HE_TT && python train_ti_don.py --epochs 120000
92
+ ```
93
+
94
+ To load one directly:
95
+
96
+ ```python
97
+ import numpy as np
98
+ d = np.load("heat_dataset_dpc.npz")
99
+ print(d["solutions"].shape) # (3000, 401, 100)
100
+ print(d["controls"].shape) # (3000, 400, 4)
101
+ ```
102
+
103
+ ## Citation
104
+
105
+ ```bibtex
106
+ @misc{sarkar2025learningcontrolpdesdifferentiable,
107
+ title={Learning to Control PDEs with Differentiable Predictive Control and Time-Integrated Neural Operators},
108
+ author={Dibakar Roy Sarkar and Ján Drgoňa and Somdatta Goswami},
109
+ year={2025},
110
+ eprint={2511.08992},
111
+ archivePrefix={arXiv},
112
+ primaryClass={cs.CE},
113
+ url={https://arxiv.org/abs/2511.08992},
114
+ }
115
+ ```
116
+
117
+ ## License
118
+
119
+ MIT, matching the code repository.