Skip to content

Commit 28339f0

Browse files
committed
modified file headers
1 parent b4bdcab commit 28339f0

File tree

263 files changed

+62749
-60916
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

263 files changed

+62749
-60916
lines changed

idaes_examples/notebooks/_dev/notebooks/cache.ipynb

+27
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
{
22
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": null,
6+
"id": "ac23bafd",
7+
"metadata": {
8+
"tags": [
9+
"header",
10+
"hide-cell"
11+
]
12+
},
13+
"outputs": [],
14+
"source": [
15+
"###############################################################################\n",
16+
"# The Institute for the Design of Advanced Energy Systems Integrated Platform\n",
17+
"# Framework (IDAES IP) was produced under the DOE Institute for the\n",
18+
"# Design of Advanced Energy Systems (IDAES).\n",
19+
"#\n",
20+
"# Copyright (c) 2018-2025 by the software owners: The Regents of the\n",
21+
"# University of California, through Lawrence Berkeley National Laboratory,\n",
22+
"# National Technology & Engineering Solutions of Sandia, LLC, Carnegie Mellon\n",
23+
"# University, West Virginia University Research Corporation, et al.\n",
24+
"# All rights reserved. Please see the files COPYRIGHT.md and LICENSE.md\n",
25+
"# for full copyright and license information.\n",
26+
"#\n",
27+
"###############################################################################"
28+
]
29+
},
330
{
431
"cell_type": "code",
532
"execution_count": 24,

idaes_examples/notebooks/_dev/notebooks/ex/notebook_tags_example.ipynb

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@
1717
"# Framework (IDAES IP) was produced under the DOE Institute for the\n",
1818
"# Design of Advanced Energy Systems (IDAES).\n",
1919
"#\n",
20-
"# Copyright (c) 2018-2023 by the software owners: The Regents of the\n",
20+
"# Copyright (c) 2018-2025 by the software owners: The Regents of the\n",
2121
"# University of California, through Lawrence Berkeley National Laboratory,\n",
2222
"# National Technology & Engineering Solutions of Sandia, LLC, Carnegie Mellon\n",
2323
"# University, West Virginia University Research Corporation, et al.\n",
2424
"# All rights reserved. Please see the files COPYRIGHT.md and LICENSE.md\n",
2525
"# for full copyright and license information.\n",
26+
"#\n",
2627
"###############################################################################"
2728
]
2829
},

idaes_examples/notebooks/docs/dae/petsc_chem.ipynb

+27-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
{
44
"cell_type": "code",
55
"execution_count": null,
6+
"id": "6cabc606",
67
"metadata": {
78
"tags": [
89
"header",
@@ -16,17 +17,19 @@
1617
"# Framework (IDAES IP) was produced under the DOE Institute for the\n",
1718
"# Design of Advanced Energy Systems (IDAES).\n",
1819
"#\n",
19-
"# Copyright (c) 2018-2023 by the software owners: The Regents of the\n",
20+
"# Copyright (c) 2018-2025 by the software owners: The Regents of the\n",
2021
"# University of California, through Lawrence Berkeley National Laboratory,\n",
2122
"# National Technology & Engineering Solutions of Sandia, LLC, Carnegie Mellon\n",
2223
"# University, West Virginia University Research Corporation, et al.\n",
2324
"# All rights reserved. Please see the files COPYRIGHT.md and LICENSE.md\n",
2425
"# for full copyright and license information.\n",
26+
"#\n",
2527
"###############################################################################"
2628
]
2729
},
2830
{
2931
"cell_type": "markdown",
32+
"id": "28bb63c9",
3033
"metadata": {},
3134
"source": [
3235
"# PETSc Time-stepping Solver -- Chemical Akzo Nobel Example\n",
@@ -41,6 +44,7 @@
4144
},
4245
{
4346
"cell_type": "markdown",
47+
"id": "42025a07",
4448
"metadata": {},
4549
"source": [
4650
"## Prerequisites\n",
@@ -50,6 +54,7 @@
5054
},
5155
{
5256
"cell_type": "markdown",
57+
"id": "070fa782",
5358
"metadata": {},
5459
"source": [
5560
"## Imports\n",
@@ -60,6 +65,7 @@
6065
{
6166
"cell_type": "code",
6267
"execution_count": 1,
68+
"id": "ca3afd41",
6369
"metadata": {},
6470
"outputs": [],
6571
"source": [
@@ -73,6 +79,7 @@
7379
},
7480
{
7581
"cell_type": "markdown",
82+
"id": "b1872b90",
7683
"metadata": {},
7784
"source": [
7885
"## Set Up the Model\n",
@@ -83,6 +90,7 @@
8390
{
8491
"cell_type": "code",
8592
"execution_count": 2,
93+
"id": "0629b344",
8694
"metadata": {},
8795
"outputs": [],
8896
"source": [
@@ -93,6 +101,7 @@
93101
{
94102
"cell_type": "code",
95103
"execution_count": 3,
104+
"id": "f27c92dc",
96105
"metadata": {},
97106
"outputs": [],
98107
"source": [
@@ -102,6 +111,7 @@
102111
},
103112
{
104113
"cell_type": "markdown",
114+
"id": "f453bfd4",
105115
"metadata": {},
106116
"source": [
107117
"The variables y1 to y6 represent concentrations of chemical species. The values returned by the function above are the correct solution at t = 180. These values can be used to verify the solver results. The Pyomo model is ``m``. We are mainly interested in the y variables. The variables y1 to y5 are differential variables and y6 is an algebraic variable. Initial conditions are required for y1 through y5, and the initial values of the other variables can be calculated from there. The variables y1 through y5 at t = 0 are: ``m.y[0, 1]`` to ``m.y[0, 5]`` and y6 is ``m.y6[0]``. The variables at the final state are ``m.y[180, 1]`` to ``m.y[180, 5]`` and ``m.y6[180]``. The variable y6 is indexed differently because we want to treat it differently than the differential variables."
@@ -110,6 +120,7 @@
110120
{
111121
"cell_type": "code",
112122
"execution_count": 4,
123+
"id": "16c95b9d",
113124
"metadata": {},
114125
"outputs": [],
115126
"source": [
@@ -124,6 +135,7 @@
124135
},
125136
{
126137
"cell_type": "markdown",
138+
"id": "5471f384",
127139
"metadata": {},
128140
"source": [
129141
"## Solve\n",
@@ -134,6 +146,7 @@
134146
{
135147
"cell_type": "code",
136148
"execution_count": 5,
149+
"id": "8a34145e",
137150
"metadata": {},
138151
"outputs": [],
139152
"source": [
@@ -144,6 +157,7 @@
144157
{
145158
"cell_type": "code",
146159
"execution_count": 6,
160+
"id": "87b95521",
147161
"metadata": {},
148162
"outputs": [],
149163
"source": [
@@ -173,6 +187,7 @@
173187
{
174188
"cell_type": "code",
175189
"execution_count": 7,
190+
"id": "513f4f32",
176191
"metadata": {},
177192
"outputs": [],
178193
"source": [
@@ -187,6 +202,7 @@
187202
},
188203
{
189204
"cell_type": "markdown",
205+
"id": "ebfda339",
190206
"metadata": {},
191207
"source": [
192208
"## Plot Results Stored in Model\n",
@@ -197,6 +213,7 @@
197213
{
198214
"cell_type": "code",
199215
"execution_count": 8,
216+
"id": "36b069ea",
200217
"metadata": {},
201218
"outputs": [],
202219
"source": [
@@ -213,6 +230,7 @@
213230
},
214231
{
215232
"cell_type": "markdown",
233+
"id": "e9a21252",
216234
"metadata": {},
217235
"source": [
218236
"## Plot Trajectory"
@@ -221,6 +239,7 @@
221239
{
222240
"cell_type": "code",
223241
"execution_count": 9,
242+
"id": "ab7e20c6",
224243
"metadata": {},
225244
"outputs": [],
226245
"source": [
@@ -240,6 +259,7 @@
240259
{
241260
"cell_type": "code",
242261
"execution_count": 10,
262+
"id": "5bb9a56d",
243263
"metadata": {},
244264
"outputs": [],
245265
"source": [
@@ -254,6 +274,7 @@
254274
{
255275
"cell_type": "code",
256276
"execution_count": 11,
277+
"id": "425ccec5",
257278
"metadata": {},
258279
"outputs": [],
259280
"source": [
@@ -267,6 +288,7 @@
267288
},
268289
{
269290
"cell_type": "markdown",
291+
"id": "42511c06",
270292
"metadata": {},
271293
"source": [
272294
"## Interpolate Trajectory\n",
@@ -277,6 +299,7 @@
277299
{
278300
"cell_type": "code",
279301
"execution_count": 12,
302+
"id": "a34aca76",
280303
"metadata": {},
281304
"outputs": [],
282305
"source": [
@@ -287,6 +310,7 @@
287310
{
288311
"cell_type": "code",
289312
"execution_count": 13,
313+
"id": "d060fdcd",
290314
"metadata": {},
291315
"outputs": [],
292316
"source": [
@@ -307,6 +331,7 @@
307331
{
308332
"cell_type": "code",
309333
"execution_count": 14,
334+
"id": "f8a01476",
310335
"metadata": {},
311336
"outputs": [],
312337
"source": [
@@ -321,6 +346,7 @@
321346
{
322347
"cell_type": "code",
323348
"execution_count": null,
349+
"id": "a4c8d973",
324350
"metadata": {},
325351
"outputs": [],
326352
"source": []

idaes_examples/notebooks/docs/dae/petsc_chem_doc.ipynb

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@
1616
"# Framework (IDAES IP) was produced under the DOE Institute for the\n",
1717
"# Design of Advanced Energy Systems (IDAES).\n",
1818
"#\n",
19-
"# Copyright (c) 2018-2023 by the software owners: The Regents of the\n",
19+
"# Copyright (c) 2018-2025 by the software owners: The Regents of the\n",
2020
"# University of California, through Lawrence Berkeley National Laboratory,\n",
2121
"# National Technology & Engineering Solutions of Sandia, LLC, Carnegie Mellon\n",
2222
"# University, West Virginia University Research Corporation, et al.\n",
2323
"# All rights reserved. Please see the files COPYRIGHT.md and LICENSE.md\n",
2424
"# for full copyright and license information.\n",
25+
"#\n",
2526
"###############################################################################"
2627
]
2728
},

0 commit comments

Comments
 (0)